Skip to content

crates.io API

Rust crates with versions, downloads and owners.
Status
Working
API key
Not needed
Browser calls
Runs in the browser
Latency
503 ms

Build snapshot, not live. One verifier run on , from the machine that built this site. How we check

Example request

GEThttps://crates.io/api/v1/crates/serde

Sent from your browser straight to crates.io. No proxy: this site never sees the request or the answer.

Copy the request

Shell
curl -s 'https://crates.io/api/v1/crates/serde'

Response stored by the verifier

This is what crates.io answered when the verifier sent the request above on : HTTP 200, application/json. Arrays are cut to two items and long strings are shortened. It comes from the build snapshot.

application/json · stored
{"crate":{"id":"serde","name":"serde","updated_at":"2026-07-18T23:05:13.266456Z","versions":[2817185,1748414,1746112,1739049,1731560,1730829,1729657,1729573,1728804,1728680,1476368,1453061,1387964,1370847,1336088,1317878,1311481,1311391,1310780,1262146,1246742,1236532,1232938,1231005,1227207,1195122,1155749,1145069,1138012,1131884,1127880,1117094,1057075,1029184,1005793,1001382,962580,947780,947429,935283,924082,881758,881445,879591,876663,876632,865547,864891,862726,859451,858772,857573,856339,855606,853213,851305,850113,850061,850055,842589,842403,842025,841944,840681,837934,837604,818064,797029,792938,792908,773194,761332,754405,752788,749292,747404,745129,744000,691601,685308,681082,676945,671664,647090,646778,626961,606237,598895,595739,594649,587380,582429,577052,541963,489577,488041,487064,475782,469421,465434,418637,416728,415805,407144,377688,355396,348228,331767,331369,330972,329177,326110,312296,293950,282474,271456,254679,254044,252312,246881,239581,239560,239539,239190,227557,222448,196666,192011,185512,176433,174777,169951,165828,163551,163530,163315,158762,157964,153883,148904,143032,136515,134063,131792,131387,128970,124929,124370,121941,121344,112600,108387,107452,
…

Availability

Up 1 of 1 day checked · 30-day window

What counts as up for this API: an answer within five seconds, a 2xx status, and the JSON body must contain the field "crate".

Last check: — passed, HTTP 200 in 503 ms.

The check runs from our infrastructure, not from where you are. If you need certainty, send the request yourself above. How the verifier works.

Badge for your README

If you maintain this API, you can show its last check in your README. The image is made when the site is built, so it shows that check and its date; it is not live, and it can be older than the status page until the site is published again. The link goes back to this page.

freeapi.today: Working, checked 2026-11-26
Markdown
[![freeapi.today status](https://freeapi.today/badge/crates-io.svg/)](https://freeapi.today/apis/crates-io/)

Questions

Does the crates.io API need an API key?

No. The sample request on this page was answered without a key, token or account. Note: One request per second. Asks every client to send a descriptive User-Agent. Browsers send their own; set one in server code.

Can I call the crates.io API from the browser?

Yes. crates.io answered our verifier with an Access-Control-Allow-Origin header on Nov 26, 2026, so a fetch call from a web page can read the response.

Is the crates.io API working?

At the check on Nov 26, 2026 it returned HTTP 200 with the expected data in 503 ms. The status at the top of this page shows the most recent result we have.