Crates.io Rust Packages Scraper - Downloads & Versions
Pricing
from $6.80 / 1,000 results
Crates.io Rust Packages Scraper - Downloads & Versions
Scrape Rust crates by keyword with download counts, recent downloads, latest version, homepage, repository, documentation, categories and keywords. Export to JSON, CSV or Excel.
Pricing
from $6.80 / 1,000 results
Rating
0.0
(0)
Developer
Scrapers Lat
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
12 hours ago
Last modified
Categories
Share
Crates.io Rust Packages Scraper - Downloads & Versions
Here is one real result, with every field the actor returns (this record has both AI add-ons enabled):
{"name": "mio","description": "Lightweight non-blocking I/O.","crateUrl": "https://crates.io/crates/mio","downloads": 933935778,"recentDownloads": 218423815,"maxVersion": "1.2.2","newestVersion": "1.2.2","numVersions": 79,"homepage": "https://github.com/tokio-rs/mio","repository": "https://github.com/tokio-rs/mio","documentation": null,"categories": [],"keywords": [],"createdAt": "2014-11-11T23:52:39.666778Z","updatedAt": "2026-07-13T15:39:09.471139Z","license": "MIT","latestVersion": "1.2.2","latestVersionSize": 111363,"latestVersionPublishedAt": "2026-07-13T15:39:09.471139Z","latestVersionPublishedBy": {"login": "Thomasdezeeuw","name": "Thomas de Zeeuw","url": "https://github.com/Thomasdezeeuw"},"rustVersion": "1.71","edition": "2021","yanked": false,"maintainers": [{ "login": "carllerche", "name": "Carl Lerche", "kind": "user", "url": "https://github.com/carllerche" },{ "login": "github:tokio-rs:mio-core", "name": "mio-core", "kind": "team", "url": "https://github.com/tokio-rs" }],"aiSummary": "Mio is a low-level library for handling non-blocking I/O operations in Rust, making it ideal for building high-performance network applications and servers.","aiTags": ["rust", "io", "non-blocking", "lightweight", "asynchronous", "networking", "event-driven", "performance"],"source": "crates.io","observedAt": "2026-08-14T07:12:15.416Z"}
The most complete crates.io scraper available. It returns every field the Rust package registry exposes for each crate, including total and recent downloads, latest version with license, MSRV, package size and publish date, and the full maintainer list with GitHub handles, plus two optional AI add-ons, and searches the registry by any keyword.
📥 Input · 📤 Output · 💰 Pricing · ▶️ Examples
Table of contents
- What it does
- Quickstart
- Input reference
- Output reference
- Example output record
- Run via API and CLI
- Fetch results
- Billing and limits
- FAQ and troubleshooting
What it does
The actor searches the public crates.io registry for your keyword, sorts by download count, and writes one normalized record per crate to the run's dataset. Download counts and version counts are parsed to numbers, and each crate is enriched from its detail page with the license, minimum supported Rust version, package size, latest publisher and the full maintainer/owner list. Missing source values are returned as null, never invented.
Data covers the entire public crates.io Rust package registry. Two optional AI add-ons (withAiSummary, withAiTags) can enrich each record; they are opt-in, billed only when they produce output, and disabled on free Apify plans.
Quickstart
Open the actor, paste this into the input, and press Run. It returns the 2 most-downloaded crates matching "async runtime".
{"searchQuery": "async runtime","maxCrates": 2}
Leave the AI add-ons off (default) for the raw crate fields. With an empty input the actor searches serialization and returns the top 10 crates.
Input reference
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
searchQuery | string | no | serialization | Keyword to search Rust crates, for example async runtime, web framework, http client. |
maxCrates | integer | no | 10 | Maximum crates to collect. Free Apify plans are capped at 10 per run. |
withAiSummary | boolean | no | false | Add a plain-English AI summary of each crate from its description. Paid add-on, disabled on free plans. |
withAiTags | boolean | no | false | Generate concise topic tags for each crate via AI. Paid add-on, disabled on free plans. |
Output reference
One dataset item per crate, sorted by download count. Types: string, number, boolean, string[], object, or null when the source value is absent.
| Field | Type | Description |
|---|---|---|
name | string | Crate name. |
description | string | Crate description, or null. |
crateUrl | string | crates.io page URL. |
downloads | number | Total all-time downloads. |
recentDownloads | number | Recent (90-day) downloads. |
maxVersion | string | Highest stable version. |
newestVersion | string | Newest published version. |
numVersions | number | Number of published versions. |
homepage | string | Homepage URL, or null. |
repository | string | Source repository URL, or null. |
documentation | string | Documentation URL, or null. |
categories | string[] | crates.io categories. |
keywords | string[] | crates.io keywords. |
createdAt | string | First-published timestamp (ISO 8601). |
updatedAt | string | Last-updated timestamp (ISO 8601). |
license | string | Latest version license (SPDX), or null. |
latestVersion | string | Latest version number. |
latestVersionSize | number | Latest version package size in bytes, or null. |
latestVersionPublishedAt | string | Latest version publish timestamp, or null. |
latestVersionPublishedBy | object | Publisher of the latest version (login, name, url), or null. |
rustVersion | string | Minimum supported Rust version (MSRV), or null. |
edition | string | Rust edition, for example 2021, or null. |
yanked | boolean | Whether the latest version is yanked, or null. |
maintainers | object[] | Owners/maintainers (login, name, kind, url). |
aiSummary | string | AI plain-English summary. Present only when withAiSummary is enabled. |
aiTags | string[] | AI topic tags. Present only when withAiTags is enabled. |
source | string | Constant source tag. Always crates.io. |
observedAt | string | ISO 8601 timestamp of when the record was collected. |
On a failed run, a single item with a populated error field is written instead.
Example output record
Real record from a live run (input {"searchQuery":"async runtime","maxCrates":2}):
{"name": "mio","description": "Lightweight non-blocking I/O.","crateUrl": "https://crates.io/crates/mio","downloads": 933935778,"recentDownloads": 218423815,"maxVersion": "1.2.2","numVersions": 79,"repository": "https://github.com/tokio-rs/mio","createdAt": "2014-11-11T23:52:39.666778Z","updatedAt": "2026-07-13T15:39:09.471139Z","license": "MIT","latestVersion": "1.2.2","latestVersionSize": 111363,"rustVersion": "1.71","edition": "2021","yanked": false,"maintainers": [{ "login": "carllerche", "name": "Carl Lerche", "kind": "user", "url": "https://github.com/carllerche" }],"source": "crates.io","observedAt": "2026-08-14T07:12:15.416Z"}
Run via API and CLI
Start a run and wait for it to finish, then read the dataset. Replace <TOKEN> with your Apify API token.
Run synchronously and get dataset items in one call:
curl -X POST "https://api.apify.com/v2/acts/scrapers_lat~crates-io-scraper/run-sync-get-dataset-items?token=<TOKEN>" \-H "Content-Type: application/json" \-d '{"searchQuery":"async runtime","maxCrates":25}'
Start a run asynchronously:
curl -X POST "https://api.apify.com/v2/acts/scrapers_lat~crates-io-scraper/runs?token=<TOKEN>" \-H "Content-Type: application/json" \-d '{"searchQuery":"web framework","maxCrates":100}'
Apify CLI:
apify call scrapers_lat/crates-io-scraper \--input '{"searchQuery":"http client","maxCrates":10}'
Fetch results
Every run writes to a dataset. Fetch items as JSON, CSV, or Excel by changing format:
# JSONcurl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?token=<TOKEN>&clean=true&format=json"# CSVcurl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?token=<TOKEN>&clean=true&format=csv"# Paginate large datasetscurl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?token=<TOKEN>&offset=1000&limit=1000"
<DATASET_ID> is returned as defaultDatasetId in the run object. Use offset and limit to page through large result sets. clean=true drops empty and internal fields.
Billing and limits
- Pay per result. You are charged per crate returned (
resultevent). See the pricing tab for the current per-result price. - AI add-ons billed separately.
withAiSummaryandwithAiTagseach charge their own event only when they produce output, and are disabled on free plans. - No charge on failure. If a run errors, the actor writes a single item with a populated
errorfield and does not charge for it. Empty runs cost nothing. - Spend cap respected. Set
maxTotalChargeUsdon the run; once reached, the actor stops emitting and charging further billable results. - Free Apify plans are capped at 10 records per run. Upgrade for higher
maxCrates.
FAQ and troubleshooting
A run returned 0 records. Why? The keyword matched no crates. Try a broader keyword. Zero-result runs are not charged.
How are results ordered? Crates are returned by total download count, so the most-used ones come first.
Which fields are numeric?
downloads, recentDownloads, numVersions and latestVersionSize are parsed as numbers so you can sort and filter directly.
How fresh is the data?
Download counts and versions are read live at run time, so each record reflects the moment of the run (see observedAt).
Do the AI add-ons work on a free plan? No. The AI add-ons require a paid Apify plan and are disabled automatically for free users. The base crate fields are always returned.
Is this an official crates.io tool? No. This actor is independent and has no affiliation with crates.io or the Rust project. It reads only data that is publicly available through the crates.io API. Use the results in accordance with the source's terms.
Related scrapers
- NPM Packages Scraper: package metadata, downloads and versions from the npm registry.
- GitHub Repositories Scraper: repositories with stars, forks and topics.
- Docker Hub Images Scraper: images, pulls and tags from Docker Hub.
More scrapers at scrapers.lat
Built and maintained by scrapers.lat, where we publish scrapers for US and Latin American public platforms: company registries, government data, finance, e-commerce and more. Browse the catalog or request a custom scraper at scrapers.lat.
Independent tool, not affiliated with crates.io or the Rust project. Accesses only publicly available crate data. Use in accordance with the source's terms.
