Npm Package Stats Scraper avatar

Npm Package Stats Scraper

Pricing

Pay per usage

Go to Apify Store
Npm Package Stats Scraper

Npm Package Stats Scraper

Npm Package Stats Scraper. Extract structured data with automatic pagination, proxy rotation, and JSON/CSV export. Pay only for results.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Donny Nguyen

Donny Nguyen

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Categories

Share

Fetch npm package metadata and download statistics using the public npm registry API. Get version info, weekly downloads, dependencies, licenses, and maintainer data for any npm package.

What does NPM Package Stats Scraper do?

This actor uses the public npm registry API to collect detailed metadata about npm packages. For each package name you provide, it fetches the latest version, weekly download count, number of dependencies, license information, maintainer names, and description. Unlike web scraping, this approach uses official API endpoints for reliable and accurate data retrieval every time you run it.

Features

  • Fetch metadata for any npm package using the public registry API
  • Get weekly download statistics from the npm downloads API
  • Extract version, dependencies count, license, and maintainer info
  • Process hundreds of packages in a single run
  • No browser needed - uses direct API calls for speed and reliability
  • Fallback data if the API is temporarily unavailable

How to use

  1. Open the actor page on Apify Console
  2. Click "Start" to run with default packages (react, express, crawlee, apify)
  3. Add your own list of package names in the input configuration
  4. Download results from the Dataset tab when the run completes

Input parameters

ParameterTypeDescriptionDefault
packageNamesarrayList of npm package names to look up["react", "express", "crawlee", "apify"]
maxResultsintegerMaximum number of packages to process200

Output format

Each package in the dataset contains:

{
"packageName": "react",
"version": "18.3.1",
"weeklyDownloads": 25000000,
"dependenciesCount": 1,
"lastPublished": "2024-04-26T17:56:04.000Z",
"license": "MIT",
"maintainers": "gnoff, sebmarkbage",
"description": "A JavaScript library for building user interfaces",
"npmUrl": "https://www.npmjs.com/package/react",
"scrapedAt": "2026-02-19T12:00:00.000Z"
}

Tips and tricks

  • Add popular framework packages to compare download trends
  • Use this with scheduled runs to track download growth over time
  • Combine with PyPI scraper to compare JavaScript and Python ecosystem popularity
  • Works with scoped packages too (e.g. @types/node, @babel/core)

About

This actor is maintained by consummate_mandala. For questions, feedback, or feature requests, please open an issue on the actor page.