Crates.io Rust Package Scraper - Metadata & Downloads avatar

Crates.io Rust Package Scraper - Metadata & Downloads

Pricing

$0.30 / 1,000 crate fetcheds

Go to Apify Store
Crates.io Rust Package Scraper - Metadata & Downloads

Crates.io Rust Package Scraper - Metadata & Downloads

Fetches crate metadata (versions, downloads, license, repository, keywords, categories) directly from the official crates.io JSON API for a list of crate URLs.

Pricing

$0.30 / 1,000 crate fetcheds

Rating

5.0

(1)

Developer

Ahmed

Ahmed

Maintained by Community

Actor stats

1

Bookmarked

1

Total users

1

Monthly active users

4 days ago

Last modified

Categories

Share

Crates.io Rust Package Scraper

Fetches crate metadata — downloads, versions, license, repository, keywords, MSRV, edition, and more — directly from the official crates.io JSON API for a list of crate URLs. Built for Rust developers, dependency auditors, and package researchers who need structured data on crates.io packages without parsing HTML or hand-rolling API calls.

Why this scraper

  • Reads the official crates.io JSON API instead of rendered HTML, so fields like rustVersion, edition, crateSize, and publishedBy come back reliably on every run.
  • Returns more fields per crate than typical crates.io scrapers, including MSRV and edition, useful for compatibility audits and dependency vetting.
  • Priced at $0.0003 per crate, which is lower than comparable per-record or per-search pricing on similar scrapers.

Output fields

FieldTypeDescription
crateNamestringCrate identifier, e.g. serde
descriptionstringShort description of the crate
downloadsintegerAll-time total download count
recentDownloadsintegerDownloads in the recent tracking window
maxVersionstringHighest published version number
newestVersionstringMost recently published version number
maxStableVersionstringHighest stable (non-prerelease) version
numVersionsintegerTotal number of published versions
licensestringSPDX license expression of the latest version
repositorystringSource repository URL
homepagestringProject homepage URL
documentationstringDocumentation URL, usually docs.rs
categoriesstringComma-separated crates.io category slugs
keywordsstringComma-separated crate keywords
createdAtstringISO timestamp the crate was first published
updatedAtstringISO timestamp of the latest version update
yankedbooleanWhether the latest version is yanked
rustVersionstringMinimum supported Rust version (MSRV)
editionstringRust edition used by the latest version
crateSizeintegerSize in bytes of the latest published crate file
publishedBystringGitHub login of the user who published the latest version

Input

{
"startUrls": [
{ "url": "https://crates.io/api/v1/crates/serde" }
],
"maxItems": 50
}

Output

{
"crateName": "serde",
"description": "A generic serialization/deserialization framework",
"downloads": 1326717635,
"recentDownloads": 283915307,
"maxVersion": "1.0.229",
"newestVersion": "1.0.229",
"maxStableVersion": "1.0.229",
"numVersions": 316,
"license": "MIT OR Apache-2.0",
"repository": "https://github.com/serde-rs/serde",
"homepage": "https://serde.rs",
"documentation": "https://docs.rs/serde",
"categories": "no-std,encoding,no-std::no-alloc",
"keywords": "no_std,serde,serialization",
"createdAt": "2014-12-05T20:20:39.487502Z",
"updatedAt": "2026-07-18T23:05:13.266456Z",
"yanked": false,
"rustVersion": "1.56",
"edition": "2021",
"crateSize": 83669,
"publishedBy": "dtolnay"
}

Pricing

Pay-per-event: $0.0003 per crate successfully fetched. A run over 500 crates costs about $0.15; a run over 5,000 crates costs about $1.50.

Use cases

  • Auditing MSRV and edition compatibility across all dependencies in a Cargo.lock before upgrading a project.
  • Tracking download and version history for a watchlist of crates as part of a supply-chain or dependency-risk review.
  • Building a searchable internal catalog of crate licenses and repository links for open-source compliance checks.