Rust Crates Search API

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.

$0.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usRepositories, 12 fieldsv1.0

Data from crates.io

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Searchoptional
Crate name or keyword to search for. Leave empty to list the whole registry in the chosen order.
Example: serde
Sortoptional
Order of the results: relevance (only with a search word), downloads, recent-downloads, recent-updates, new or alphabetical.

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/crates-io-packages/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/crates-io-packages/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"search":"serde"},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

searchtext
Crate name or keyword to search for. Leave empty to list the whole registry in the chosen order.
example: serde
sorttext
Order of the results: relevance (only with a search word), downloads, recent-downloads, recent-updates, new or alphabetical.
example: downloadsone of: relevance, downloads, recent-downloads, recent-updates, new, alphabetical

What's in each record

12 fields.

Basics

  • Name

    Crate name, unique on crates.io.

    Example hashbrown

  • Maximum version

    Highest published version number.

    Example 0.17.2

  • Description

    The crate's short description in plain text.

    Example A Rust port of Google's SwissTable hash map

  • Downloads

    All-time download count.

    Example 3,406,370,577

  • Recent downloads

    Downloads in the recent period (about the last 90 days).

    Example 1,038,888,671

  • Versions count

    Number of published versions.

    Example 57

Dates

  • Created

    When the crate was first published (UTC).

    Example Oct 29, 2018

  • Updated

    When the crate was last updated (UTC).

    Example Nov 22, 2026

Technical detailsField names and types for developers

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
nametextName3 of 3
urllinkLink3 of 3
max_versiontextMaximum version3 of 3
descriptiontextDescription3 of 3
downloadsnumberDownloads3 of 3
recent_downloadsnumberRecent downloads3 of 3
created_atdate and timeCreated3 of 3
updated_atdate and timeUpdated3 of 3
versions_countnumberVersions count3 of 3
repository_urllinkRepository link3 of 3
documentation_urllinkDocumentation link2 of 3
homepagelinkHomepage1 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordNameMaximum versionDescriptionDownloadsRecent downloadsVersions countCreatedUpdatedLinkRepository linkDocumentation linkHomepage
1hashbrown0.17.2A Rust port of Google's SwissTable hash map3,406,370,5771,038,888,67157Oct 29, 2018Nov 22, 2026crates.io/crates/hashbrowngithub.com/rust-lang/hashbrown——
2bitflags2.13.2A macro to generate structures which behave like bitflags.2,470,234,514675,460,55664Jan 15, 2015Sep 10, 2026crates.io/crates/bitflagsgithub.com/bitflags/bitflagsdocs.rs/bitflagsgithub.com/bitflags/bitflags
3quote1.0.47Quasi-quoting macro quote!(...)2,132,073,047555,927,49495Sep 3, 2016Jul 19, 2026crates.io/crates/quotegithub.com/dtolnay/quotedocs.rs/quote/—

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • 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.

Version history

A run uses the live version unless the request names another one with version.