Skip to main content

Setup

Put them in your environment or .env; Data APIs covers the other ways.

Notes

  • Keyless. The data-access policy allows at most 1 request per second and a User-Agent naming your application; for bulk work it points to the sparse index, the database dump or the RSS feeds instead.
  • The OpenAPI description is marked experimental and the API may change.
  • Paging uses page or seek (from meta.next_page), never both.

Endpoints

  • Sorted by relevance, only the first 1,000 results are reachable even when meta.total is higher.

Get a crate

List a crate’s versions

Get one version

List a version’s dependencies

List reverse dependencies

Get download counts

List a crate’s owners

Get registry summary

List categories