NPM Packages & Download Statistics Scraper
Pricing
from $0.70 / 1,000 item scrapeds
Go to Apify Store

NPM Packages & Download Statistics Scraper
Extract NPM package registry details, monthly and weekly download trends, license terms, author and maintainer profiles, dependencies, version history, and repository links.
Pricing
from $0.70 / 1,000 item scrapeds
Rating
0.0
(0)
Developer
LiteZero
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
6 days ago
Last modified
Categories
Share
📦 NPM Packages & Download Statistics Scraper
Extract official NPM package registry details, monthly and weekly download metrics, version history, author info, dependencies, and license classifications in bulk.
🥊 Why This Actor Beats the Competition
| Feature | 📦 This NPM Scraper | 🐢 Web Scraping Tools | 🐌 npm view CLI |
|---|---|---|---|
| Speed | 200+ packages / min (Direct JSON) | 5–10 pages / min (Puppeteer) | 1 at a time in terminal |
| Pricing | $1.00 / 1,000 packages (PPR) | High hourly compute bills | High local engineering time |
| Downloads Included | Yes (Weekly/Monthly metrics) | No (usually missed) | No (requires separate API) |
| Platform Usage | FREE (Zero compute charges) | Heavy billable RAM | Local resources |
| Reliability | 100% (Official registry endpoints) | Breaks on HTML redesigns | Manual script maintenance |
🛠️ Step-by-Step: How to Use
Method 1: Apify Console (No-Code UI)
- Open the actor in the Apify Console.
- Enter target package names in NPM Package Names (e.g.
express,lodash,axios,react). - Select Download Stats Period (e.g.
last-month,last-week). - Click Start to run and export the data to JSON or CSV.
Method 2: Python SDK
from apify_client import ApifyClientclient = ApifyClient("YOUR_APIFY_TOKEN")run_input = {"packages": ["express", "axios", "next"],"period": "last-month"}run = client.actor("litezero/npm-packages-scraper").call(run_input=run_input)for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item["name"], item["latestVersion"], "Downloads:", item["downloads"])
Method 3: Node.js SDK
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });const run = await client.actor('litezero/npm-packages-scraper').call({packages: ['express', 'axios', 'next'],period: 'last-month',});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items);
📥 Input Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
packages | Array of strings | ["express", "lodash", "axios"] | NPM package names to inspect. |
period | String | "last-month" | Time range (last-day, last-week, last-month, last-year). |
📤 Output Data Dictionary & Sample
{"name": "express","latestVersion": "5.2.1","description": "Fast, unopinionated, minimalist web framework","license": "MIT","homepage": "http://expressjs.com/","repository": "git+https://github.com/expressjs/express.git","downloads": 165798136,"downloadPeriod": "last-month","dependenciesCount": 28,"devDependenciesCount": 35,"totalVersions": 268,"npmUrl": "https://www.npmjs.com/package/express","scrapedAt": "2026-10-04T05:35:00.000Z"}
💡 Top Use Cases
- Ecosystem & Market Share Benchmarking: Compare download momentum across competing libraries (e.g. Next.js vs Remix, Vite vs Webpack).
- Security & Package Maintenance Audits: Monitor package license compatibility and track author ownership changes across software supply chains.
- Developer Marketing Intelligence: Identify fast-growing open source tools and tech stack dependencies for DevTool product teams.