Download statistics
API · /npm-api
npm Registry API
Everything about npm packages in one clean API. Look up a package’s latest metadata — version, description, license, homepage, repository, author, keywords, dist-tags, dependencies and maintainers — list its full version history with release dates, pull download statistics for the last day, week, month or year, and search the registry across more than three million packages. Sourced live from the public npm registry and returned as tidy JSON through a fast, reliable API. Ideal for developer dashboards and tooling, package and dependency analytics, supply-chain and security checks, CI/CD and documentation sites.
API health
healthy- Uptime
- 100.00%
- Server probes · 24h
- Avg latency
- 446 ms
- Server probes · 24h
- Subscribers
- 4,485
- active
- Total calls
- 76
- last 7 days
Pricing
Pick a tier — billed monthly, cancel anytime.
Free
Free
- 5,000 calls / month
- 2 requests / second
- Hard cap (429 above quota, no overage)
- 5,000 requests/month, 2 req/s
- Metadata, versions, downloads & search
- 3M+ packages, live registry
- No credit card
Basic
€3.00 /month
- 60,000 calls / month
- 5 requests / second
- Hard cap (429 above quota, no overage)
- 60,000 requests/month, 5 req/s
- Full version history with dates
- Scoped packages supported
- Commercial use, email support
Pro
€12.00 /month
- 400,000 calls / month
- 15 requests / second
- Hard cap (429 above quota, no overage)
- 400,000 requests/month, 15 req/s
- High-volume package analytics
- Day/week/month/year downloads
- Priority email support
Mega
€32.00 /month
- 2,000,000 calls / month
- 40 requests / second
- Hard cap (429 above quota, no overage)
- 2,000,000 requests/month, 40 req/s
- Dashboards & supply-chain scale
- Maximum concurrency
- Priority support
Built by
Related APIs
Other APIs with overlapping tags.
Semver API
A Semantic Versioning (SemVer 2.0.0) toolkit as an API. Parse a version string into its major, minor, patch, prerelease and build parts; compare two versions; test whether a version satisfies an npm-style range (^1.2.3, ~1.4, >=2 <3, 1.x); increment a version to the next major, minor, patch or prerelease; and filter a list of versions by a range to find which match and the highest and lowest satisfying. Powered by the canonical node-semver. Perfect for dependency and release tooling, CI gates, update checkers, compatibility rules and package dashboards. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 6 endpoints. Distinct from package-registry lookups and vulnerability databases.
api.oanor.com/semver-api
npm Download Stats API
How popular is that npm package? Get download counts and trends for any npm package straight from npm's public download API. Pull the total downloads over a period (last day, week, month, year or any custom YYYY-MM-DD:YYYY-MM-DD range), the full per-day download time series, the monthly totals over the last year to spot growth or decline, and compare several packages side by side ranked by downloads (up to 128 at once, scoped @org/name packages supported). Every call is live (no cache). 5 endpoints. Built for popularity dashboards, package-comparison pages, trend charts, dependency-health scoring and "which library won" analyses. Distinct from an npm registry-metadata lookup — this is the download time series. No upstream key, no cache.
api.oanor.com/npmstats-api
Bundle Size API
How big is that npm package? Get the minified and gzipped bundle size of any npm package — plus its dependency count, the size contributed by each dependency, peer dependencies, whether it ships an ES module and whether it is side-effect-free — in a single call. Pin a version ([email protected]) or get the latest, and pull the bundle size across a package's recent versions to spot regressions over time. Powered by the public Bundlephobia service; results are live (no cache). 3 endpoints. Built for frontend performance budgets, bundle-size CI checks, "cost of adding this dependency" tooling, and dependency dashboards. Distinct from a plain npm registry lookup (metadata) or a dependency-graph service — this measures actual shipped bytes. No upstream key, no cache.
api.oanor.com/bundlephobia-api
Open VSX API
The open VS Code extension registry — Open VSX — as an API. Open VSX is the vendor-neutral marketplace behind VSCodium, Gitpod, Eclipse Theia, Cursor and many other editors. Look up any extension by its namespace.name id for its display name and description, latest version, publisher, total download count, average rating, license, categories and tags, repository and homepage links, and the exact `code --install-extension` command; read an extension's full version history; and search the registry by keyword, ranked by downloads. Covers the editor-extension ecosystem from Python, Java and ESLint to Prettier, GitLens and the major themes and language packs. Live from the official open-vsx.org API. Ideal for editor and IDE tooling, extension catalogs and dashboards, and developer-portal integrations. Open data from Open VSX.
api.oanor.com/openvsx-api
Frequently asked questions
Quick answers about pricing, quotas, and integration.
How do I get an API key for npm Registry API?
What's the rate limit for npm Registry API?
How much does npm Registry API cost?
Can I cancel my subscription anytime?
Is npm Registry API GDPR-compliant?
Pick an endpoint from the list on the left to see its details and try it.
Code snippets
Sign up to get an API key, then call any path under your slug.
curl https://api.oanor.com/npm-api/SOME_PATH \
-H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/npm-api/SOME_PATH", {
headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/npm-api/SOME_PATH");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
$response = curl_exec($ch);
import requests
r = requests.get(
"https://api.oanor.com/npm-api/SOME_PATH",
headers={"x-oanor-key": "oanor_test_..."},
)
print(r.json())
Ratings
Sign in to rate.
No reviews yet.
Discussion
Ask questions, share usage tips, get answers from the provider and other developers. Public — anyone can read.
Sign in to start a thread or reply.
Sign inNew thread
·
-
Provider answer
🔒 This thread is locked — no new replies.
-
·
- No threads yet — start the discussion.
Support
Private 1:1 support with the provider — billing questions, integration issues, account problems. Only you and the provider team can see these threads.
Sign in to open a support ticket.
Sign inOpen new ticket
Describe what you need help with. The provider team gets an email and replies on the ticket page.
-
·
Urgent - No tickets yet for this API.