npm Package Stats Scraper avatar

npm Package Stats Scraper

Pricing

from $1.49 / 1,000 packages

Go to Apify Store
npm Package Stats Scraper

npm Package Stats Scraper

Look up npm packages and get the numbers people actually ask for: latest version, license, dependency count, repository, and weekly and monthly downloads. Paste package names or a search query. No API key, no login.

Pricing

from $1.49 / 1,000 packages

Rating

0.0

(0)

Developer

rainminer

rainminer

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Categories

Features

Limited permissions

Share

Get the numbers behind an npm package: latest version, license, dependency count, repository and download counts. Paste package names, or search the registry by keyword and let it find them.

No API key and no login. It reads the public npm registry and the public npm downloads API.

What can this npm scraper do?

  • Look up one package or a few hundred in a single run.
  • Accept bare names (react), scoped names (@tanstack/react-query), or npmjs.com package URLs.
  • Add weekly and monthly download counts per package.
  • Discover packages by keyword with searchQuery.
  • Flag deprecated packages and keep the deprecation message.
  • Optionally read the first publish date and the date of the latest publish.
  • Export JSON, CSV or Excel, and schedule a repeat through Apify.

What data can you extract?

FieldMeaning
namePackage name
versionLatest published version
descriptionPackage description
licenseLicense string from the manifest
keywordsManifest keywords
homepageHomepage URL
repositoryUrlRepository URL, normalized to https
dependencyCountNumber of runtime dependencies
devDependencyCountNumber of dev dependencies
unpackedSizeBytesPublished package size
fileCountFiles in the published tarball
weeklyDownloadsDownloads in the last week
monthlyDownloadsDownloads in the last month
firstPublishedAtFirst publish date, when includeRegistryDates is on
lastPublishedAtLatest publish date, when includeRegistryDates is on
isDeprecatedTrue when the package is marked deprecated
deprecationMessageMessage the maintainer attached to the deprecation
packageUrlnpmjs.com page for the package
scrapedAtWhen this row was collected

Fields that a package does not publish are null, not guessed.

How to use it

  1. Put package names in Packages, one per line. The default input is react and vite.
  2. Or leave Packages empty and set Search query, for example web scraping.
  3. Keep Include download counts on unless you only need metadata: it costs two extra requests per package.
  4. Run it and download the dataset. The run summary lands in the key-value store record SUMMARY.

maxItems caps the whole run, not each package, so a test run stays small.

Cost

The Actor fetches one registry document per package, plus two download requests when downloads are enabled. It uses the public npm endpoints, so there is no proxy and no API key.

Notes

  • includeRegistryDates is off by default because the full registry document is large for very popular packages.
  • A package that does not exist is reported in the run summary under notFound instead of failing the run.