crates.io
crates.io
Rust crate metadata from the official registry: every published version, downloads, dependencies and owners.
GET /v1/data/crates/categories1Request
1-based page number.
Results per page, maximum 100.
curl "https://api.fastcrw.com/v1/data/crates/categories?page=1&per_page=10" \ -H "Authorization: Bearer $FASTCRW_API_KEY"
2Response example
A sample shape. Press Run to see live data from crates.io.
{
"categories": [
{
"id": "api-bindings",
"category": "API bindings",
"slug": "api-bindings",
"description": "Idiomatic wrappers of specific APIs for convenient access from Rust. Includes HTTP API wrappers as well. Non-idiomatic or unsafe bindings can be found in External FFI bindings.",
"created_at": "2017-01-17T19:13:05.112025Z",
"crates_cnt": 15006
},
{
"id": "accessibility",
"category": "Accessibility",
"slug": "accessibility",
"description": "Assistive technology that helps overcome disabilities and impairments to make software usable by as many people as possible.",
"created_at": "2020-11-27T20:35:10.539054Z",
"crates_cnt": 721
},
"… 8 more items"
],
"meta": {
"total": 58
}
}Attribution: Source: crates.io
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.
Ask with this source
A prompt for your agent that names this source and how to call it through the crw MCP.
Crate categories
Use crates.io (crates) from fastCRW Pergamon, capability "Crate categories" (categories). You want the valid category slugs to filter a search by, or an overview of how the registry is organised. Example options: page=1, per_page=10, sort=crates. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "crates" and capability "categories". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
Category detail
Use crates.io (crates) from fastCRW Pergamon, capability "Category detail" (category). You have a category slug and want its crate count and children before drilling into a search. Example options: category=web-programming. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "crates" and capability "category". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
Crate overview
Use crates.io (crates) from fastCRW Pergamon, capability "Crate overview" (crate). You have a crate name and want everything about it in one call, including its release history. Example options: name=serde. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "crates" and capability "crate". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
Dependencies of a version
Use crates.io (crates) from fastCRW Pergamon, capability "Dependencies of a version" (dependencies). You want to know what a specific release of a crate pulls in. Example options: name=serde, version=1.0.219. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "crates" and capability "dependencies". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
