crates.io Rust Crates Scraper avatar

crates.io Rust Crates Scraper

Pricing

$2.00 / 1,000 results

Go to Apify Store
crates.io Rust Crates Scraper

crates.io Rust Crates Scraper

Search Rust crates on crates.io via the official API by keyword, category or keyword tag. Returns all-time and recent downloads, latest version, version count, dates, keywords, categories and repository links.

Pricing

$2.00 / 1,000 results

Rating

0.0

(0)

Developer

Jonathan Boyd

Jonathan Boyd

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

11 hours ago

Last modified

Categories

Share

Search Rust crates on crates.io via the official API by keyword, category or keyword tag. Returns all-time and recent downloads, latest version, version count, dates, keywords, categories and repository links.

Uses only official/public data endpoints, paces requests to respect the source's rate limits, retries transient errors, removes duplicates and returns clean, flat, consistently typed JSON, CSV or Excel.

Use cases

  • Rust ecosystem and dependency research
  • Tracking crate popularity over time
  • Finding projects for developer marketing

Input

FieldTypeDescriptionDefault
querystringSearch term (empty = all crates).—
categorystringe.g. web-programming, cryptography.—
keywordstringe.g. tokio, cli.—
sortstringResult order."downloads"
minDownloadsintegerOnly crates with at least this many all-time downloads.0
contactstringYour email or URL, added to the User-Agent as crates.io recommends.—
maxItemsintegerMaximum number of results to save (and pay for). The run stops as soon as this many unique results are saved.100

Example input:

{
"query": "async",
"maxItems": 20
}

Output

Each result is one flat record with these fields (missing values are null, lists are []):

FieldType
namestring
descriptionstring
versionstring
downloadsinteger
recentDownloadsinteger
versionCountinteger
createdAtstring
updatedAtstring
keywordsarray
categoriesarray
repositorystring
homepagestring
documentationstring
urlstring

Example result:

{
"name": "once_cell",
"description": "Single assignment cells and lazy values.",
"version": "1.21.4",
"downloads": 1455979795,
"recentDownloads": 353731287,
"versionCount": 67,
"createdAt": "2018-08-02T00:12:48.969947Z",
"updatedAt": "2026-03-12T10:59:52.512992Z",
"keywords": [],
"categories": [],
"repository": "https://github.com/matklad/once_cell",
"homepage": null,
"documentation": "https://docs.rs/once_cell",
"url": "https://crates.io/crates/once_cell"
}

The Overview dataset view shows the key columns as a table; export everything as JSON, CSV, Excel or via API.

Pricing

Pay per result: you are charged one result event for each saved record (suggested $1.00 per 1,000 results), plus nothing for duplicates, failed requests or empty runs. The run stops automatically at your Max results setting or at the maximum total charge you set for the run, whichever comes first.

FAQ

Is this legal / allowed? It reads publicly available data from official public sources and follows their published rate limits. Check the source's terms for your use case.

Why did I get fewer results than Max results? Your filters matched fewer records, or the source caps how many it returns (see Limitations).

What happens on errors? Transient errors (timeouts, rate limits, 5xx) are retried with exponential backoff. Invalid input stops the run immediately with a message explaining what to fix.

Can I schedule it? Yes, use Apify Schedules; duplicates within a run are removed automatically.

Limitations

  • crates.io allows one request per second, so the actor reads about 100 crates per second.
  • Results depend on the public source; if it is down, the actor retries with backoff and then fails with a clear message (you are not charged for results that were not saved).