Home
crates.io
Crates Io Get Crate Example
Crates Io Get Crate Example
Rust Package Registry Crates Cargo Open-Source Developer Tools Rust Foundation
Crates Io Get Crate Example is an example object payload from crates.io, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.
Top-level fields
request response
Example Payload
{
"request": {
"method": "GET",
"url": "https://crates.io/api/v1/crates/tokio",
"headers": {
"User-Agent": "api-evangelist (kin@apievangelist.com)",
"Accept": "application/json"
}
},
"response": {
"crate": {
"id": "tokio",
"name": "tokio",
"description": "An event-driven, non-blocking I/O platform for writing asynchronous I/O backed applications.",
"max_version": "1.45.0",
"max_stable_version": "1.45.0",
"newest_version": "1.45.0",
"downloads": 350000000,
"recent_downloads": 28000000,
"repository": "https://github.com/tokio-rs/tokio",
"documentation": "https://docs.rs/tokio",
"homepage": "https://tokio.rs",
"keywords": ["io", "async", "non-blocking", "futures"],
"categories": ["asynchronous", "network-programming"],
"created_at": "2017-04-21T15:32:21.183Z",
"updated_at": "2026-05-15T10:42:11.998Z"
},
"versions": [
{
"id": 1234567,
"crate": "tokio",
"num": "1.45.0",
"dl_path": "/api/v1/crates/tokio/1.45.0/download",
"downloads": 1200000,
"features": {
"full": ["fs", "io-util", "macros", "net", "process", "rt", "rt-multi-thread", "signal", "sync", "time"]
},
"yanked": false,
"license": "MIT",
"rust_version": "1.70",
"crate_size": 802345,
"created_at": "2026-05-15T10:42:11.998Z"
}
],
"keywords": [
{ "id": "async", "keyword": "async", "crates_cnt": 4321 }
],
"categories": [
{ "id": "asynchronous", "category": "Asynchronous", "slug": "asynchronous", "crates_cnt": 5210 }
]
}
}
Every example here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for examples
4 MCP tools reach this
find_examplesBrowse and filter every example in the catalog.
apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
resolveTurn a domain, URL or GitHub org into the provider it belongs to.
find_cohortsEvery scored population of providers in the catalog.
All 92 tools →
Call it yourself
curl for this page
This example
curl "https://apis.io/api/v1/examples/crates-io-get-crate-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms .
A second provider on the same verified email joins the account you already have.