Lumeo APIs
Tools

Package Registry API - npm, PyPI, crates, gems

One API for npm, PyPI, crates.io & RubyGems: package details, versions, dependencies, download stats, search, comparison and security advisories.

Get a free API key on RapidAPI Try it in the playground

Package Registry API

Stop writing four different integrations. Query npm, PyPI, crates.io and RubyGems with the same endpoints and the same JSON shape.

📦 Packages

📈 Popularity

Download statistics with daily series, and compare up to 5 packages to see which one the community actually uses.

🔎 Search

Keyword search on npm, crates.io and RubyGems.

🛡️ Security

Known vulnerabilities (CVE / GHSA) for a package or an exact version, with severity and fixed versions — powered by the OSV database.

Use cases: dependency dashboards · supply-chain and license audits · README badges · developer tools & IDE plugins · technology-trend analysis · CI checks

Keywords: npm api, pypi api, crates.io api, rubygems api, package info, npm downloads, pypi stats, dependency api, vulnerability check, cve lookup, osv, software supply chain

Endpoints (7)

EndpointWhat it returns
GET/packagePackage details
Latest version, description, license, homepage, repository, keywords, maintainers, recent downloads, dependency count and install command — in the same shape for every registry.
GET/versionsVersions
Published versions, newest first, with dates and yanked / deprecated / prerelease flags (plus npm dist-tags).
GET/dependenciesDependencies
Dependencies of the latest (or a specific) version, each with its version requirement and kind (runtime, peer, optional, dev, extra).
GET/downloadsDownload statistics
Download counts with a daily series where the registry provides one (npm: last-day/week/month/year; PyPI: day/week/month + 60-day series; crates: total + 90-day series; RubyGems: totals).
GET/compareCompare packages
Compare 2-5 packages of one registry side by side: version, license, downloads, dependents, dependency count and last update.
GET/searchSearch packages
Keyword search in npm, crates.io or RubyGems with description, downloads and links.
GET/vulnerabilitiesKnown vulnerabilities
Security advisories (GHSA / CVE) affecting a package — or only those affecting an exact version — with severity, CVSS vector, fixed versions and references.

Quick start

Subscribe on RapidAPI (free plan available), copy your key, and call GET /package:

curl --request GET \
  --url 'https://package-registry-api-npm-pypi-crates-gems.p.rapidapi.com/package?name=express&registry=npm' \
  --header 'x-rapidapi-host: package-registry-api-npm-pypi-crates-gems.p.rapidapi.com' \
  --header 'x-rapidapi-key: YOUR_RAPIDAPI_KEY'

Example response

{
  "registry": "npm",
  "name": "express",
  "version": "5.3.0",
  "description": "Fast, unopinionated, minimalist web framework",
  "license": "MIT",
  "homepage": "https://expressjs.com/",
  "repository": "https://github.com/expressjs/express",
  "keywords": [
    "express",
    "framework"
  ],
  "author": "TJ Holowaychuk",
  "maintainers": [
    "wesleytodd",
    "jonchurch"
  ],
  "published_at": "2026-10-09T12:56:54.505Z",
  "updated_at": "2026-11-20T10:50:03.543Z",
  "downloads_last_month": 863323116,
  "dependents": 109026,
  "dependencies_count": 28,
  "engines": {
    "node": ">= 18"
  },
  "types": false,
  "unpacked_size_bytes": 76638,
  "deprecated": null,
  "install": "npm install express",
  "url": "https://www.npmjs.com/package/express"
}

Start free. Every plan includes all endpoints; upgrade only when you need more requests. Runs on Cloudflare's global network for low latency worldwide.

Subscribe on RapidAPI

Related APIs

Tools

Domain & IP Lookup API

WHOIS/RDAP, domain availability, DNS records, SSL certificates, subdomain finder, IP geolocation with ASN & abuse contacts, ASN lookup.

Tools

Fake Data Generator API - Mock & Test Data

Generate realistic fake data for testing: persons, addresses, companies, products, cards & IBANs, internet data, lorem ipsum, custom schemas, CSV.

Tools

Password Security API - Breach & Strength

Check if a password was leaked in data breaches (900M+ pwned passwords), score its strength, generate secure passwords & passphrases, hash text.

Tools

QR Code & Barcode Generator API

Generate QR codes (URL, Wi-Fi, vCard, email, SMS, event…) and 30 barcode types (Code128, EAN-13, UPC, DataMatrix, PDF417…) as PNG or SVG.

Tools

URL Shortener & Link Analytics API

Short links with custom aliases, expiry & click limits, full click analytics (countries, referrers, devices), bulk shortening, link expander and malware screeni

Tools

World Time & Timezone API

Current time in any timezone or city, timezone conversion, DST transitions, time difference, meeting planner and business-day calculator.