Crates.io Scraper - Rust Package Registry Data Extractor avatar

Crates.io Scraper - Rust Package Registry Data Extractor

Pricing

$2.00 / 1,000 crate scrapeds

Go to Apify Store
Crates.io Scraper - Rust Package Registry Data Extractor

Crates.io Scraper - Rust Package Registry Data Extractor

Extract comprehensive crate metadata from Crates.io including versions, dependencies, owners, and download statistics. Perfect for Rust ecosystem analysis.

Pricing

$2.00 / 1,000 crate scrapeds

Rating

0.0

(0)

Developer

Pierrick McD0nald

Pierrick McD0nald

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Share

Crates.io Rust Crate Metadata Scraper — Rust Package Intelligence

Extract comprehensive metadata for any Rust crate on crates.io, the official Rust package registry. This Actor fetches crate details including download statistics, version history, dependency information, owner details, and license data directly from the crates.io public API. No browser rendering required — fast, reliable, and cost-effective.

Use Cases

  • Dependency Audit — Analyze crate metadata, licenses, and version stability before adding dependencies to your Cargo.toml
  • Package Research — Compare download counts, recent activity, and maintainer engagement across Rust libraries
  • Security Scanning — Monitor crate versions and yanked status for vulnerable or deprecated packages
  • Market Intelligence — Track trending Rust crates by total and recent download metrics
  • CI/CD Integration — Validate crate metadata in automated build and release pipelines

Input

FieldTypeRequiredDescription
crateNamesArrayYesList of Rust crate names from crates.io
includeVersionsBooleanNoInclude full version history for each crate (default: false)
includeOwnersBooleanNoInclude crate owner usernames (default: false)
proxyConfigurationObjectNoProxy configuration for requests

Example Input

{
"crateNames": ["serde", "tokio", "reqwest", "clap", "axum"],
"includeVersions": false,
"includeOwners": false
}

Output

The Actor outputs a dataset with the following fields for each crate:

{
"name": "serde",
"description": "A generic serialization/deserialization framework",
"version": "1.0.219",
"downloads": 427654321,
"recentDownloads": 15234867,
"repository": "https://github.com/serde-rs/serde",
"documentation": "https://docs.rs/serde",
"homepage": "",
"license": "MIT OR Apache-2.0",
"keywords": ["serde", "serialization", "deserialization"],
"categories": ["encoding", "no-std", "no-std::no-alloc"],
"createdAt": "2015-05-15T04:14:55+00:00",
"updatedAt": "2025-03-05T02:42:27+00:00",
"maxVersion": "1.0.219",
"newestVersion": "1.0.219",
"maxStableVersion": "1.0.219",
"numVersions": 142,
"yanked": false,
"url": "https://crates.io/crates/serde"
}

Pricing

Pay per event: $0.001 USD per crate extracted.

Limitations

  • Crate names must match exactly as listed on crates.io
  • Download statistics reflect total historical and recent (90-day) downloads
  • Version history can be large for mature crates — use includeVersions sparingly
  • crates.io API requires a descriptive User-Agent header and may rate limit very high volume usage

FAQ

Q: Can I search for crates by keyword? A: This Actor requires exact crate names. Use the crates.io website search to find crate names first.

Q: What if a crate does not exist? A: The Actor logs a warning and continues processing the remaining crates.

Q: Is authentication required? A: No. crates.io provides a public API with no authentication needed.

Changelog

  • v1.0.0 — Initial release