npm Package Stats Scraper: Metadata and Downloads
Pricing
from $0.14 / 1,000 npm package snapshots
npm Package Stats Scraper: Metadata and Downloads
Snapshot npm package stats from the public registry and downloads APIs. One row per package: latest version, license, maintainers, repository URL, keywords, dependency counts, plus downloads for the last week and last month. No login and no API key.
Pricing
from $0.14 / 1,000 npm package snapshots
Rating
0.0
(0)
Developer
vøiddo
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
11 days ago
Last modified
Categories
Features
Share
NPM Package Tracker: Metadata + Download Stats
Snapshot NPM package metadata and weekly/monthly download statistics via the public registry.npmjs.org and api.npmjs.org/downloads endpoints. One row per package: version, dependencies count, repository, maintainers, and download totals. No authentication required.
Example output row
{"snapshotAt": "2026-06-03T11:00:00+00:00","name": "react","description": "React is a JavaScript library for building user interfaces.","latestVersion": "18.3.1","createdAt": "2011-10-26T17:46:21.943Z","modifiedAt": "2024-04-26T12:00:00.000Z","license": "MIT","homepage": "https://reactjs.org/","repositoryUrl": "git+https://github.com/facebook/react.git","maintainers": ["fb", "reactjs"],"keywords": ["react"],"dependenciesCount": 3,"peerDependenciesCount": 0,"devDependenciesCount": 0,"downloadsLastMonth": 2800000000,"downloadsLastWeek": 680000000}
How to use
Input schema:
| Field | Type | Default | Description |
|---|---|---|---|
packages | string[] | ["react","next","vue","svelte"] | NPM package names to fetch |
includeDownloads | boolean | true | Also fetch download counts from api.npmjs.org |
Example input:
{"packages": ["react", "next", "typescript", "tailwindcss"],"includeDownloads": true}
When includeDownloads is true, the actor makes two requests per package (registry + downloads). Set it to false to halve request count and speed up the run when download stats are not needed.
Pricing
Pay per event. Price per 1,000 events:
| Event | Base price | Bronze | Silver | Gold |
|---|---|---|---|---|
| NPM package snapshot | $0.20 | $0.18 | $0.16 | $0.14 |
Bronze, Silver and Gold are the discounts Apify gives users of its paid plans. The Pricing tab always shows the current prices.
One charge per package successfully fetched. Packages that return 404 or error are not charged.
Buyer
- Track competitor NPM package growth week-over-week by storing snapshots daily.
- Monitor dependency counts across your supply chain for security triage.
- Build dashboards comparing download velocity across framework ecosystems.
- Qualify open-source libraries before adoption: license, maintainers, activity.
- Feed package metadata into your own scripts for automated dependency analysis.
Run it through the API
Python, with the apify-client package:
from apify_client import ApifyClientclient = ApifyClient("<YOUR_APIFY_TOKEN>")run = client.actor("v0iddo/npm-package-tracker").call(run_input={"packages": ["react", "next", "vue", "svelte"]})for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item)
JavaScript, with the apify-client package:
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });const run = await client.actor('v0iddo/npm-package-tracker').call({"packages": ["react", "next", "vue", "svelte"]});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items);
One HTTP call that waits for the run and returns the rows (for runs that finish within 5 minutes):
curl -X POST "https://api.apify.com/v2/acts/v0iddo~npm-package-tracker/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>" \-H "Content-Type: application/json" \-d '{"packages": ["react", "next", "vue", "svelte"]}'
Use it from an agent (MCP)
Claude, Cursor, VS Code and other MCP clients can call this actor as a tool through the Apify MCP server. Add it to the client's MCP configuration:
{"mcpServers": {"apify": {"url": "https://mcp.apify.com?tools=v0iddo/npm-package-tracker","headers": {"Authorization": "Bearer <YOUR_APIFY_TOKEN>"}}}}
FAQ
Do I need an account, cookies or an API key?
No. The actor reads public data without logging in. You only need an Apify account to start it.
How am I charged?
Pay per event, at the prices on the Pricing tab for your Apify plan (the Pricing section of this page lists them). The platform usage of the run is included in those prices, and your spending limit for a run is always respected.
Why did my run return no results?
The status message and the log of the run say why: usually nothing matched the input, or the source did not answer for a moment. Check the input against the example above and run it again.
Can I run it on a schedule?
Yes. Save your input as a task and add a schedule in the Apify Console (daily, hourly or with a cron expression). Each run gets its own dataset, so you keep a history.
Which formats can I export?
JSON, CSV, Excel, XML, HTML table and RSS from the Output tab or the API. Integrations send the rows to Google Sheets, Slack, Make, Zapier, n8n or a webhook.
Is collecting this data allowed?
The actor collects data that the source publishes openly, without a login. Public data can still be personal data under laws such as the GDPR, and sources have their own terms: make sure your use of the data follows the rules that apply to you.
What happens when the source changes?
An automated test runs the actor every day on the example input and checks the rows, not only that the run finished. When a check fails, the actor is repaired and rebuilt; the build history on this page shows each update.
Something is missing or wrong. Where do I report it?
Open an issue on the Issues tab of this actor with the run link. Requests for a new field are welcome too.
Related actors
- PyPI Scraper: Python Package Details and Stats
- GitHub Trending Scraper: Repos by Language and Period
- GitHub Security Advisories Scraper by Ecosystem
- NVD CVE Scraper: Vulnerabilities by Vendor and Severity
- Chrome Web Store Scraper: Extension Details and Ratings
- Bulk File Downloader and Image Downloader: Web Pages, PDFs
Source
- Registry metadata:
https://registry.npmjs.org/{package}: public, no auth, full package document - Download stats:
https://api.npmjs.org/downloads/range/last-month/{package}: returns 30 daily counts; actor sums them for monthly total and last-7-days weekly total