crates.io HTTP API Reference
Note: All paths presented here are relative to https://crates.io/api/v1!
/cratesGET/versionsGET/{version_id}GET
/keywordsGET/{keyword_id}GET
/categoriesGET/{category_id}GET
/category_slugsGET/users(no access)/{user_id}GET
Get general info about crates.
categoryLimit results to crates in this category- valid values: any
- no fall back
followingLimit results to crates the requesting user is following- valid values: any
- no fall back
keywordsLimit results to crates with this keyword- valid values: any
- no fall back
letterPattern-based search (in particular, SQL LIKE-based)- valid values: any
- no fall back
q?- valid values: ?
- no fall back
sortResults sorting method- valid values:
alpha,downloads - falls back to
alpha
- valid values:
user_idLimit results to crates of this user- valid values: any
- no fall back
Create a new crate.
Get general info about :crate_id crate.
Get info about :crate_id crate of version :version.
Download tar-gzipped source code of :crate_id crate of version :version.
List dependencies of :crate_id crate of version :version.
Get number of downloads by date of :crate_id crate of version :version.
before_dateLimit results to downloads before the specified date- valid values: date in format
%Y-%m-%d, where%Y— 4 digits of year,%m— month from 1 to 12,%d— day of month from 1 to 31 - no fall back
- valid values: date in format
List authors of :crate_id crate of version :version.
Yank :crate_id crate of version :version.
Unyank :crate_id crate of version :version.
Get number of total downloads of :crate_id crate.
List versions of :crate_id crate.
?
?
?
List owners of :crate_id crate.
Add an owner to :crate_id crate.
Delete an owner from :crate_id crate.
List reverse dependencies of :crate_id crate.
?
ids[]?- valid values: ?
- no fall back
?
List keywords of crates uploaded to crates.io.
sortResults sorting method- valid values:
alpha,crates - falls back to
alpha
- valid values:
Get info about the :keyword_id keyword.
List categories of crates uploaded to crates.io.
sortResults sorting method- valid values:
alpha,crates - falls back to
alpha
- valid values:
Get info about the :category_id category.
?
Get info about the :user_id user.