Skip to main content
All providers

crates.io

Developer

crates.io

Rust crate metadata from the official registry: every published version, downloads, dependencies and owners.

Capabilities (12)

GET /v1/data/crates/categories1 credit

Returns the crates.io category tree with each category's slug, human label, description and crate count.

page?per_page?sort?
GET /v1/data/crates/category1 credit

Returns one category with its crate count, creation date and the list of its subcategories.

category
GET /v1/data/crates/crate1 credit

Returns one crate's metadata plus its full version list: description, repository, homepage, docs link, keywords, categories, total and recent download counts.

name
GET /v1/data/crates/dependencies1 credit

Returns the normal, build and dev dependencies declared by one crate version, each with its semver requirement, optional flag, features and target cfg.

nameversion
GET /v1/data/crates/downloads1 credit

Returns daily download counts per version for roughly the last 90 days, plus an 'extra_downloads' series for versions no longer listed individually.

name
GET /v1/data/crates/keywords1 credit

Returns crate keywords with how many crates use each one, sortable by popularity.

page?per_page?sort?
GET /v1/data/crates/owners1 credit

Returns the users and GitHub teams allowed to publish a crate, with login, display name, avatar and GitHub profile URL.

name
GET /v1/data/crates/reverse-dependencies1 credit

Returns crates that depend on this crate, paged and ordered by downloads, with the version requirement each one declares.

namepage?per_page?
GET /v1/data/crates/search1 credit

Full-text search over crate names, descriptions and keywords, returning a paged list with downloads, latest version and a total count.

q?page?per_page?sort?category?keyword?all_keywords?user_id?team_id?
GET /v1/data/crates/summary1 credit

Returns the crates.io front-page rollup: total crate and download counts, plus the newest, most downloaded, most recently updated and most popular crates and keywords.

No parameters
GET /v1/data/crates/version1 credit

Returns one published version: its feature map, MSRV, license, yank status, size, checksum, publish date and download count.

nameversion
GET /v1/data/crates/versions1 credit

Returns every published version of a crate with publish date, yanked flag, license, feature map and per-version download count.

name

Licence

crates.io is the Rust community's public package registry; the metadata this API returns is published for exactly this kind of programmatic access. We pass it through and do not licence callers to rebuild the registry.

https://crates.io/policies

Attribution

Display this wherever you show the data. It arrives on every response as provenance.attribution_text.

Source: crates.io

Cache: up to 3600s