{"api":{"id":"api_829c127656eb90124b956a87","slug":"crates-io-packages","name":"Rust Crates Search API","description":"Rust crates from crates.io matching a search word, or the top crates by downloads: latest version, description, all-time and recent downloads, created and updated times, and repository and documentation links.","kind":"ready_made","visibility":"public","domain":"crates.io","source_url":"https://crates.io/","category":"developer","record_type":"repository","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":12,"created_at":"2026-12-06T04:45:48.347Z","updated_at":"2026-12-06T04:45:48.347Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"name","type":"string","description":"Crate name, unique on crates.io.","required":true,"coverage":1,"example":"hashbrown"},{"name":"url","type":"url","description":"Link to the crate's page on crates.io.","required":false,"coverage":1,"example":"https://crates.io/crates/hashbrown"},{"name":"max_version","type":"string","description":"Highest published version number.","required":false,"coverage":1,"example":"0.17.2"},{"name":"description","type":"string","description":"The crate's short description in plain text.","required":false,"coverage":1,"example":"A Rust port of Google's SwissTable hash map"},{"name":"downloads","type":"integer","description":"All-time download count.","required":false,"coverage":1,"example":3406370577},{"name":"recent_downloads","type":"integer","description":"Downloads in the recent period (about the last 90 days).","required":false,"coverage":1,"example":1038888671},{"name":"created_at","type":"datetime","description":"When the crate was first published (UTC).","required":false,"coverage":1,"example":"2018-10-29T14:28:15.767Z"},{"name":"updated_at","type":"datetime","description":"When the crate was last updated (UTC).","required":false,"coverage":1,"example":"2026-11-22T01:08:02.018Z"},{"name":"versions_count","type":"integer","description":"Number of published versions.","required":false,"coverage":1,"example":57},{"name":"repository_url","type":"url","description":"Link to the source repository, when set.","required":false,"coverage":1,"example":"https://github.com/rust-lang/hashbrown"},{"name":"documentation_url","type":"url","description":"Link to the documentation, when set.","required":false,"coverage":0.8,"example":"https://docs.rs/bitflags"},{"name":"homepage","type":"url","description":"Link to the project homepage, when set.","required":false,"coverage":0.6,"example":"https://github.com/bitflags/bitflags"}],"inputs":[{"name":"search","type":"string","description":"Crate name or keyword to search for. Leave empty to list the whole registry in the chosen order.","example":"serde"},{"name":"sort","type":"string","description":"Order of the results: relevance (only with a search word), downloads, recent-downloads, recent-updates, new or alphabetical.","example":"downloads","enum":["relevance","downloads","recent-downloads","recent-updates","new","alphabetical"]}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"created_at":{"description":"When the crate was first published (UTC).","format":"date-time","type":"string"},"description":{"description":"The crate's short description in plain text.","type":"string"},"documentation_url":{"description":"Link to the documentation, when set.","format":"uri","type":"string"},"downloads":{"description":"All-time download count.","type":"integer"},"homepage":{"description":"Link to the project homepage, when set.","format":"uri","type":"string"},"max_version":{"description":"Highest published version number.","type":"string"},"name":{"description":"Crate name, unique on crates.io.","type":"string"},"recent_downloads":{"description":"Downloads in the recent period (about the last 90 days).","type":"integer"},"repository_url":{"description":"Link to the source repository, when set.","format":"uri","type":"string"},"updated_at":{"description":"When the crate was last updated (UTC).","format":"date-time","type":"string"},"url":{"description":"Link to the crate's page on crates.io.","format":"uri","type":"string"},"versions_count":{"description":"Number of published versions.","type":"integer"}},"required":["name"],"title":"Rust Crates Search API","type":"object"},"samples":[{"name":"hashbrown","url":"https://crates.io/crates/hashbrown","max_version":"0.17.2","description":"A Rust port of Google's SwissTable hash map","downloads":3406370577,"recent_downloads":1038888671,"created_at":"2018-10-29T14:28:15.767Z","updated_at":"2026-11-22T01:08:02.018Z","versions_count":57,"repository_url":"https://github.com/rust-lang/hashbrown","documentation_url":null,"homepage":null},{"name":"bitflags","url":"https://crates.io/crates/bitflags","max_version":"2.13.2","description":"A macro to generate structures which behave like bitflags.","downloads":2470234514,"recent_downloads":675460556,"created_at":"2015-01-15T08:35:24.901Z","updated_at":"2026-09-10T01:11:38.500Z","versions_count":64,"repository_url":"https://github.com/bitflags/bitflags","documentation_url":"https://docs.rs/bitflags","homepage":"https://github.com/bitflags/bitflags"},{"name":"quote","url":"https://crates.io/crates/quote","max_version":"1.0.47","description":"Quasi-quoting macro quote!(...)","downloads":2132073047,"recent_downloads":555927494,"created_at":"2016-09-03T05:42:05.484Z","updated_at":"2026-07-19T00:16:57.083Z","versions_count":95,"repository_url":"https://github.com/dtolnay/quote","documentation_url":"https://docs.rs/quote/","homepage":null}],"validation":{"checked_at":"2026-12-06T04:45:48.335Z","field_coverage":{"created_at":1,"description":1,"documentation_url":0.67,"downloads":1,"homepage":0.33,"max_version":1,"name":1,"recent_downloads":1,"repository_url":1,"updated_at":1,"url":1,"versions_count":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_829c127656eb90124b956a87/run","openapi":"https://pullrow.dev/v1/apis/api_829c127656eb90124b956a87/openapi.json","contract":"https://pullrow.dev/v1/apis/api_829c127656eb90124b956a87/contract.json","page":"https://pullrow.dev/catalog/crates-io-packages"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["One run returns at most 2,000 crates, read 100 at a time.","Keywords are not included: crates.io leaves them out of search results.","documentation_url and homepage are filled only when the crate's author set them, so they are often empty; repository_url is empty for some crates.","Downloads are crates.io's own counts: downloads is all time, recent_downloads is roughly the last 90 days. They update through the day, not live.","crates.io asks for at most one request per second from all of our runs together, so a run of 2,000 crates takes about half a minute or more, longer while other runs are reading crates.io.","With a search word the default order is relevance; sort=downloads, recent-downloads, recent-updates, new or alphabetical changes it. With no search word, the whole registry is listed in the chosen sort (downloads by default).","Data comes from the public crates.io API. Not affiliated with or endorsed by crates.io or the Rust Foundation."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"name","label":"Name","description":"Crate name, unique on crates.io.","group":"Basics","shown":true,"written":false},{"name":"url","label":"Link","description":"Link to the crate's page on crates.io.","group":"Links","shown":true,"written":false},{"name":"max_version","label":"Maximum version","description":"Highest published version number.","group":"Basics","shown":true,"written":false},{"name":"description","label":"Description","description":"The crate's short description in plain text.","group":"Basics","shown":true,"written":false},{"name":"downloads","label":"Downloads","description":"All-time download count.","group":"Basics","shown":true,"written":false},{"name":"recent_downloads","label":"Recent downloads","description":"Downloads in the recent period (about the last 90 days).","group":"Basics","shown":true,"written":false},{"name":"created_at","label":"Created","description":"When the crate was first published (UTC).","group":"Dates","shown":true,"written":false},{"name":"updated_at","label":"Updated","description":"When the crate was last updated (UTC).","group":"Dates","shown":true,"written":false},{"name":"versions_count","label":"Versions count","description":"Number of published versions.","group":"Basics","shown":true,"written":false},{"name":"repository_url","label":"Repository link","description":"Link to the source repository, when set.","group":"Links","shown":true,"written":false},{"name":"documentation_url","label":"Documentation link","description":"Link to the documentation, when set.","group":"Links","shown":true,"written":false},{"name":"homepage","label":"Homepage","description":"Link to the project homepage, when set.","group":"Links","shown":true,"written":false}],"inputs":[{"name":"search","label":"Search","help":"Crate name or keyword to search for. Leave empty to list the whole registry in the chosen order.","example":"serde","written":false},{"name":"sort","label":"Sort","help":"Order of the results: relevance (only with a search word), downloads, recent-downloads, recent-updates, new or alphabetical.","example":"downloads","written":false}]}},"incidents":[]}