crates.io API guide
crates.io
Search the crates.io Rust registry by keyword and inspect package versions, licenses, download counts, and repository details.
Actions and inputs
crates searchFind Rust packages by keyword.
Inputs Search query, optional result limit
crates crateInspect a crate’s versions, latest-version license, and download counts.
Inputs Crate name
Rust crates
- Create
Publish the first version of a crate you maintain using Cargo; crates.io has no website upload form.
Inputs Crate name, version, package source and manifest
- Read
Review a crate’s published versions, license, repository, and yank status.
Inputs Crate name, optional version
- Update
Publish a new version of a crate you maintain using Cargo; published version contents cannot be overwritten.
Inputs Crate name, new version, updated package
- Delete
Yank a version of a crate you maintain so new dependency resolutions normally skip it; existing lockfiles can still use it.
Inputs Crate name, version, yank confirmation