Crates.io, RubyGems & NuGet Package Intelligence API
Pricing
from $2.50 / 1,000 multi-registry package intels
Crates.io, RubyGems & NuGet Package Intelligence API
Query Rust Crates.io, RubyGems.org, and .NET NuGet registries in one unified JSON schema for versions, total & recent downloads, licenses, authors/owners, repo links, and update timestamps. Zero API keys. Built for DevTools, AppSec, VCs, n8n, and AI agents (MCP).
Pricing
from $2.50 / 1,000 multi-registry package intels
Rating
0.0
(0)
Developer
John Erlbacher
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Features
Share
Query Rust (Crates.io), Ruby (RubyGems.org), and .NET (NuGet) official public package registries in a single unified JSON schema — extracting latest versions, total & recent downloads, SPDX licenses, descriptions, homepages, source repositories, authors/owners, version counts, and UTC update timestamps with zero API keys required.
Built for DevTools growth teams, software supply-chain & SBOM auditors, VC/open-source diligence, n8n/Make/Zapier automation workflows, and AI coding agents via Model Context Protocol (MCP).
Why Use This Actor?
Enterprise engineering teams, security scanners, and developer-ecosystem analysts regularly track dependencies across Rust, Ruby, and .NET — yet each package registry exposes completely different REST conventions, pagination styles, license encodings, and author/owner schemas:
- Crates.io nests license metadata inside individual version records, separates crate owners onto a dedicated
/ownersendpoint, and enforces a strict descriptiveUser-Agentand 1 req/sec crawler policy. - RubyGems.org returns gem metadata at
/api/v1/gems/{name}.jsonwith comma-separated author strings and stores total version history separately at/api/v1/versions/{name}.json. - .NET NuGet serves download counts and version arrays from Azure Search (
azuresearch-usnc.nuget.org/query), while SPDXlicenseExpression, gitrepositoryURLs, andpublishedtimestamps live in NuGet v3 registration leaves and catalog entries.
This Actor abstracts all three official public APIs behind one flat, deterministic JSON record format:
- Zero API Keys & 100% Official APIs: Queries only documented public JSON endpoints (
crates.io,rubygems.org,azuresearch-usnc.nuget.org,api.nuget.org). No HTML scraping, no cookies, no authentication tokens. - Crates.io Policy Compliant: Automatically sends a descriptive
User-Agentheader and paces Crates.io requests cleanly while querying RubyGems and NuGet in parallel. - Flexible Input Parsing: Accepts
ecosystem:nameprefixes (crates:tokio,rubygems:rails,nuget:Newtonsoft.Json), ecosystem aliases (cargo:,rust:,ruby:,gem:,dotnet:,csharp:), or full public package URLs (https://crates.io/crates/serde,https://rubygems.org/gems/sidekiq,https://www.nuget.org/packages/Serilog). - Clean Metadata Normalization: Normalizes SPDX licenses (converting legacy slash syntax like
MIT/Apache-2.0toMIT OR Apache-2.0and resolving NuGet cataloglicenseExpression), upgrades git/SSH repository links to clean HTTPS URLs, deduplicates authors and owners, and formats all timestamps as canonical UTC ISO-8601 (YYYY-MM-DDTHH:MM:SSZ). - Lightweight & Resilient: Built on
httpxasync I/O with configurable concurrency, exponential backoff retries on HTTP 429/5xx responses, graceful fallbacks for secondary enrichment endpoints, and a minimal 256–512 MB memory footprint.
Input Parameters
| Field | Type | Default | Description |
|---|---|---|---|
packages | array<string> | ["crates:tokio", "rubygems:rails", "nuget:Newtonsoft.Json"] | List of packages in ecosystem:name format (crates:tokio, rubygems:rails, nuget:Newtonsoft.Json) or full Crates.io, RubyGems.org, or NuGet.org URLs. |
maxConcurrency | integer | 5 | Maximum number of packages queried concurrently (1–20). Crates.io calls are additionally paced to respect its crawler guidelines. |
Example Input
{"packages": ["crates:tokio","crates:serde","rubygems:rails","rubygems:sidekiq","nuget:Newtonsoft.Json","nuget:Serilog","https://crates.io/crates/axum","https://rubygems.org/gems/puma","https://www.nuget.org/packages/Dapper"],"maxConcurrency": 5}
Output Schema & Example Record
Every valid package produces one structured JSON object in the default Apify Dataset with identical fields across Rust, Ruby, and .NET:
{"packageId": "crates:tokio","ecosystem": "crates","packageName": "tokio","latestVersion": "1.54.1","totalDownloads": 1230462530,"recentDownloads": 325340416,"license": "MIT","description": "An event-driven, non-blocking I/O platform for writing asynchronous I/O backed applications.","homepageUrl": "https://tokio.rs","repositoryUrl": "https://github.com/tokio-rs/tokio","authorsOrOwners": ["Carl Lerche","Alice Ryhl","github:tokio-rs:core"],"updatedAtUtc": "2026-10-21T21:05:43Z","versionsCount": 201,"registryUrl": "https://crates.io/crates/tokio","profiledAtUtc": "2026-11-22T19:05:00Z"}
Cross-Registry Field Normalization Notes
| Field | Rust Crates.io (crates) | RubyGems.org (rubygems) | .NET NuGet (nuget) |
|---|---|---|---|
latestVersion | max_stable_version (fallback newest_version) | version | Latest stable version (prerelease=false) |
totalDownloads | All-time downloads | All-time downloads | All-time totalDownloads |
recentDownloads | Trailing 90-day recent_downloads | Latest version version_downloads | Latest version downloads |
license | Latest version SPDX license | Joined licenses array | Catalog licenseExpression |
authorsOrOwners | Crate /owners (fallback published_by) | Parsed authors list | Deduplicated authors + owners |
updatedAtUtc | Crate updated_at (UTC) | version_created_at (UTC) | Registration/catalog published (UTC) |
versionsCount | Total published versions | Count from /api/v1/versions/{name}.json | Count of stable versions |
registryUrl | https://crates.io/crates/{name} | https://rubygems.org/gems/{name} | https://www.nuget.org/packages/{name} |
Pricing (Pay-Per-Event)
This Actor uses transparent Pay-Per-Event (PPE) pricing — you pay only when a valid package profile is successfully fetched and stored in your dataset. Missing packages (HTTP 404) and malformed specs are skipped at zero cost, and deterministic idempotency keys (reg-{ecosystem}-{packageName}) prevent duplicate billing.
| Event Name | Unit | Description | Price Range |
|---|---|---|---|
package-intel | 1 package | One structured Rust Crates.io, RubyGems, or NuGet package profile | $0.0025 – $0.004 / package |
Auditing 100 dependencies from a
Cargo.toml,Gemfile, or.csprojfile costs roughly $0.25–$0.40 and completes in seconds. You can cap total spend per run directly in Apify Console.
Automation & AI Agent Recipes
1. Multi-Language SBOM & License Audit (n8n / Make + Slack)
- Trigger: Schedule weekly or trigger on pull-request dependency changes (
Cargo.toml,Gemfile.lock,packages.config). - Apify Node: Run
crates-rubygems-nuget-intelwith your organization's tracked packages. - Filter / Alert: Flag packages with missing or copyleft
licensevalues, staleupdatedAtUtctimestamps, or sudden drops inrecentDownloads, and post a concise digest to Slack or Jira.
2. AI Coding Agents via Apify MCP Server
Connect crates-rubygems-nuget-intel to Claude Desktop, Cursor, or Windsurf via the Apify MCP Server to inspect dependencies before adding them to production code:
- "Query
crates:tokio,crates:async-std, andcrates:smolusingcrates-rubygems-nuget-inteland compare their recent downloads, licenses, and last update dates." - "Profile
nuget:Newtonsoft.Json,nuget:Serilog, andrubygems:railsto verify licenses, owners, and official repository links."
Official Public Data Sources
- Rust Crates.io API:
https://crates.io/api/v1/crates/{name} - RubyGems.org API:
https://rubygems.org/api/v1/gems/{name}.json - .NET NuGet Search & V3 Registration API:
https://azuresearch-usnc.nuget.org/query?q=packageid:{name}&prerelease=false