Apps provider · 10 capabilities
crates.io API for AI agents and assistants
crates.io, the Rust package registry: crate search and listing by category, keyword, letter or owner; crate records with keywords, categories and the default version; full version history with release tracks; per-version dependencies; reverse dependencies; 90-day daily download series; owners, users and the front-page summary. Available to your AI agents via Firecrawl Alexandria.
Try crates.io with
Firecrawl Alexandria
Choose an example or ask your own question.
Capabilities
crates.io API capabilities via Firecrawl Alexandria
10 capabilities your agent can call with one Firecrawl API key. Open one to try it below.
- Get crateOne crate's record from crates.io (`GET /api/v1/crates/{name}?include=keywords,categories,downloads,default_version`): description, links, download totals, timestamps, keywords, categories, the default version in full (features, license, size, checksum, publisher, MSRV) and the API links to its versions, owners, downloads and reverse dependencies.5 credits
- Get downloadsDaily download counts for the last 90 days (`GET /api/v1/crates/{name}/downloads?include=versions`, or `/api/v1/crates/{name}/{version}/downloads` with `version`): one row per UTC calendar day, the window total, and for a whole crate the split across its five most downloaded versions in the window (the rest are summed under `other`).5 credits
- Get ownersOwners of a crate (`GET /api/v1/crates/{name}/owners`): users and GitHub teams with their crates.io ids, logins, names, GitHub URLs and avatars.5 credits
- Get summarycrates.io's front-page summary (`GET /api/v1/summary`): total crates and downloads, the ten newest crates, most downloaded (all-time and recent), just updated, and the most popular keywords and categories.5 credits
- Get userA crates.io user by login (`GET /api/v1/users/{login}` and `/users/{id}/stats`): id, login, display name, GitHub URL and avatar, account creation date, linked accounts and total downloads across every crate they own.5 credits
- Get versionOne published version of a crate with its dependencies (`GET /api/v1/crates/{name}/{version}` and `/dependencies`): publish time, downloads, yank state, license, archive size and checksum, MSRV, edition, features, publisher, trusted-publishing flag, line counts, and every dependency with its version requirement, kind (normal/dev/build), optionality, features and target.5 credits
- List categoriescrates.io's category tree as a flat list (`GET /api/v1/categories`): slug, display name, description, crate count and creation date, alphabetical or by crate count. Pages of `per_page`; `cursor` is the next page number.5 credits
- List reverse dependenciesCrates that depend on a crate (`GET /api/v1/crates/{name}/reverse_dependencies`), most downloaded first: for each dependent, its crate name and the version that declares the dependency, the requirement, kind, optionality, features and target, and the dependent's download count. Pages of `per_page`; `cursor` is the next page number.5 credits
- List versionsAll published versions of a crate (`GET /api/v1/crates/{name}/versions`), newest first by `date` or by `semver`, with each version's downloads, yank state, license, size, checksum, MSRV, edition, features and publisher, plus the release tracks (highest version per major/minor line). Pages of `per_page` versions; `cursor` is crates.io's opaque seek token.5 credits
- Search cratesSearch or list crates on crates.io (`GET /api/v1/crates`). Full-text `query`, or filter by `category` slug, `keyword`, first `letter`, owner `user_id` / `team_id`, or an explicit list of `names`; sort by relevance, downloads, recent downloads, recent updates, newest or alphabetically. Each row is the crate's listing record: versions summary, download totals, links and timestamps. Pages of `per_page` rows; `cursor` is the next page number. Relevance-sorted results stop at 1000 (crates.io refuses deeper pages).5 credits
Playground
Try the crates.io API via Firecrawl Alexandria
Pick a capability, fill in its inputs and run it, or copy the JavaScript, Python, cURL or CLI code.
const result = await firecrawl.scrape({
alexandria: {
provider: "crates-io",
capability: "packages/get_user",
options: {
login: "dtolnay",
},
},
});This is a sample shape. Press Run to see live data from crates.io.
- avatar
- https://avatars.githubusercontent.com/u/1940490?v=4
- created_at
- 2012-07-09T03:55:40Z
- id
- 3618
- login
- dtolnay
- name
- David Tolnay
- observed_at_ms
- 1791229032859
- profile_url
- https://crates.io/users/dtolnay
- source_url
- https://crates.io/api/v1/users/dtolnay?include=linked_accounts
- total_downloads
- 29016797721
- url
- https://github.com/dtolnay
| login | provider |
|---|---|
| dtolnay | github |
Connect
Use the crates.io API in your agent via Firecrawl Alexandria
Connect Firecrawl once and your agent can call crates.io and every other provider in Alexandria.
01
Connect your agent to Firecrawl Alexandria
Add Firecrawl to Claude, ChatGPT, Cursor or your own agent, signed in on a team with Alexandria enabled. One API key from that team reaches crates.io and every other provider in Alexandria.
02
Ask in plain language
Tell your agent what you need from crates.io. Alexandria finds the capability that fits, and your agent runs it.
Get crate5 credits
Get downloads5 credits
Get owners5 credits
One Firecrawl billFirecrawl credits03
Pay per use
Each crates.io call costs Firecrawl credits, all on one Firecrawl bill, so you pay only for what your agent uses.
Why Alexandria
Why use Firecrawl Alexandria
What you get when your agent calls crates.io through Alexandria instead of a one-off integration.
- 01
One key for every provider
- No separate crates.io account, contract or API key. Calls are billed in Firecrawl credits.
- The same key reaches 550+ providers plus Firecrawl's web search and scraping.
- 02
Built for agents
- Every capability has documented inputs and outputs your agent can read before it calls.
- Searching Alexandria for the capability that fits is free, through MCP, the CLI or the API.
- 03
Measured in public
- Quality, speed and cost benchmarks come from real agent calls across every Alexandria user.
- Category benchmarks compare providers side by side, so you can see which one works best.
- 04
Secure by default
- Firecrawl is SOC 2 Type II compliant, and the annual renewal audit is in progress.
- Zero data retention on Firecrawl's side is available on supported crates.io capabilities when a request opts in; crates.io's own retention policy still applies. ZDR searches leave out Alexandria provider results, so call the capability directly.
Benchmarks
crates.io API benchmarks via Firecrawl Alexandria
Quality, speed and cost, last 24 hours, across every agent call to crates.io through Alexandria.
- Quality
- 100%
- Calls answered without a tool error
- Speed
- 617 ms
- 95% of successful calls finish faster
- Cost
- 5 credits
- Firecrawl credits per call
- Calls
- 22
- Last 24 hours, every Alexandria user
FAQ
crates.io API via Firecrawl Alexandria FAQs
- What is Firecrawl Alexandria?
- Firecrawl Alexandria is Firecrawl's library of 550+ data providers for AI agents, crates.io among them. Each provider returns structured data through documented capabilities, and your agent reaches all of them, along with Firecrawl's web search and scraping, from Claude, ChatGPT, Cursor, the MCP server, the CLI or the API. Alexandria needs a Firecrawl account on a team with Alexandria enabled, or an API key from one; keyless connections don't include it.
- How do I use the crates.io API with Firecrawl Alexandria?
- Connect Firecrawl to Claude, ChatGPT, Cursor or another AI tool, signed in on a team with Alexandria enabled, and ask for what you need: your agent searches Alexandria, finds crates.io and calls it. From your own code, search Alexandria for the crates.io capability you need with the Firecrawl API, SDKs or CLI, then call it with your API key. Either way you don't write any crates.io integration code.
- Do I need a crates.io account or API key?
- No. Calls to crates.io run through Alexandria and are billed in Firecrawl credits, so you don't need a separate crates.io account, contract or API key.
- How much does the crates.io API cost through Alexandria?
- Each call costs 5 Firecrawl credits. The capabilities list on this page shows the price of each one, and finding the right capability is free.
- Can I combine crates.io with other data providers?
- Yes. Your agent can call crates.io alongside the live web and any other provider in Alexandria, with the same Firecrawl account.
- How reliable is the crates.io API through Alexandria?
- In the last 24 hours, 100% of 22 calls to crates.io were answered without a tool error, and 95% of successful calls finished within 617 ms. These numbers cover every Alexandria user and update continuously.
- Does crates.io support zero data retention?
- Yes. Every crates.io capability can run under zero data retention on Firecrawl's side when a request opts in. That covers Firecrawl's retention only: crates.io's own retention policy still applies, and requests that don't opt in are retained as usual. ZDR searches leave out Alexandria provider results, so call the capability directly.
Related
Related providers in Alexandria
Other Apps providers, on the same Firecrawl API key.