npm Package Stats Scraper
Pricing
from $1.49 / 1,000 packages
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
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
5 days ago
Last modified
Categories
Features
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?
| Field | Meaning |
|---|---|
| name | Package name |
| version | Latest published version |
| description | Package description |
| license | License string from the manifest |
| keywords | Manifest keywords |
| homepage | Homepage URL |
| repositoryUrl | Repository URL, normalized to https |
| dependencyCount | Number of runtime dependencies |
| devDependencyCount | Number of dev dependencies |
| unpackedSizeBytes | Published package size |
| fileCount | Files in the published tarball |
| weeklyDownloads | Downloads in the last week |
| monthlyDownloads | Downloads in the last month |
| firstPublishedAt | First publish date, when includeRegistryDates is on |
| lastPublishedAt | Latest publish date, when includeRegistryDates is on |
| isDeprecated | True when the package is marked deprecated |
| deprecationMessage | Message the maintainer attached to the deprecation |
| packageUrl | npmjs.com page for the package |
| scrapedAt | When this row was collected |
Fields that a package does not publish are null, not guessed.
How to use it
- Put package names in Packages, one per line. The default input is
reactandvite. - Or leave Packages empty and set Search query, for example
web scraping. - Keep Include download counts on unless you only need metadata: it costs two extra requests per package.
- 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
includeRegistryDatesis 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
notFoundinstead of failing the run.