NPM Packages & Download Statistics Scraper avatar

NPM Packages & Download Statistics Scraper

Pricing

from $0.70 / 1,000 item scrapeds

Go to Apify Store
NPM Packages & Download Statistics Scraper

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

LiteZero

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 days ago

Last modified

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
Speed200+ 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 billsHigh local engineering time
Downloads IncludedYes (Weekly/Monthly metrics)No (usually missed)No (requires separate API)
Platform UsageFREE (Zero compute charges)Heavy billable RAMLocal resources
Reliability100% (Official registry endpoints)Breaks on HTML redesignsManual script maintenance

🛠️ Step-by-Step: How to Use

Method 1: Apify Console (No-Code UI)

  1. Open the actor in the Apify Console.
  2. Enter target package names in NPM Package Names (e.g. express, lodash, axios, react).
  3. Select Download Stats Period (e.g. last-month, last-week).
  4. Click Start to run and export the data to JSON or CSV.

Method 2: Python SDK

from apify_client import ApifyClient
client = 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

ParameterTypeDefaultDescription
packagesArray of strings["express", "lodash", "axios"]NPM package names to inspect.
periodString"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

  1. Ecosystem & Market Share Benchmarking: Compare download momentum across competing libraries (e.g. Next.js vs Remix, Vite vs Webpack).
  2. Security & Package Maintenance Audits: Monitor package license compatibility and track author ownership changes across software supply chains.
  3. Developer Marketing Intelligence: Identify fast-growing open source tools and tech stack dependencies for DevTool product teams.