{"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},"version":"1.0","contract_hash":"75d5dc9fa184c1b3826c7432ec5e8250f4ef1ac2311ccc0ec0733886da7e0cc3","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},"changelog":[{"version":"1.0","change_kind":"initial","note":"Imported from the ready-made source catalog.","created_at":"2026-12-06T04:45:48.347Z","activated_at":"2026-12-06T04:45:48.347Z","active":true,"contract_hash":"75d5dc9fa184c1b3826c7432ec5e8250f4ef1ac2311ccc0ec0733886da7e0cc3","fields_count":12}]}