npm & PyPI Package Stats Scraper (Downloads, Versions, Repos)
Pricing
Pay per usage
npm & PyPI Package Stats Scraper (Downloads, Versions, Repos)
Search npm or look up npm and PyPI packages via the official registry APIs: weekly and monthly downloads, versions, release dates, license, GitHub repo, maintainers.
Pricing
Pay per usage
Rating
0.0
(0)
Developer
Hussain Ali
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
5 hours ago
Last modified
Features
Share
Get download counts, latest version, release dates, license, GitHub repo, maintainers and dependencies for npm and PyPI packages in one dataset. Search npm with the same query syntax as npmjs.com, or paste exact package names for npm and PyPI.
- Uses the official npm registry, npm downloads API, PyPI JSON API and pypistats.org. No login, no API key, no proxies, no browser.
- npm search with qualifiers:
keywords:,author:,maintainer:,scope:,not:deprecated. - Daily, weekly and monthly downloads for both ecosystems.
- Release history: first publish date, number of versions, last release and days since last release.
- Missing packages are reported with
found: falseinstead of failing the run.
What can you use it for?
- Developer tool market research: size a niche (for example every package tagged
keywords:web-scraping) by downloads and dependents. - Competitor tracking: compare your library with alternatives every week. Schedule it and send the results to Google Sheets.
- Dependency audits: spot abandoned or deprecated dependencies (
daysSinceLastRelease,deprecated) and license mix. - DevRel and sponsorship lead lists: find popular packages with their GitHub repo and maintainers.
- Investors and analysts: follow open-source adoption of a company's SDKs on npm and PyPI.
- Content and newsletters: rank the fastest-growing packages in a category.
Input
| Field | Type | Default | Description |
|---|---|---|---|
npmSearch | string | npm search query, e.g. keywords:react hooks, author:sindresorhus, scope:aws-sdk | |
npmPackages | string list | [] | Exact npm names, e.g. react, @nestjs/core |
pypiPackages | string list | [] | Exact PyPI names, e.g. requests, fastapi |
includeHistory | boolean | true | Fetch first publish date and version count for npm |
includeDownloads | boolean | true | Fetch daily, weekly and monthly downloads |
maxItems | integer | 100 | Max packages taken from the npm search (up to 5,000) |
Example input: compare frameworks across ecosystems
{"npmPackages": ["react", "vue", "svelte", "@angular/core"],"pypiPackages": ["django", "flask", "fastapi"]}
Example input: map a niche on npm
{ "npmSearch": "keywords:web-scraping not:deprecated", "maxItems": 250 }
Output
| Field | Description |
|---|---|
ecosystem | npm or pypi |
name, version, description | Package name, latest version and summary |
found | false when the package does not exist |
license | License (SPDX when available) |
homepage, repository, githubRepo | Links, plus owner/repo for GitHub-hosted code |
author, authorEmail, maintainers | As published in the package metadata |
keywords | Package keywords |
dailyDownloads, weeklyDownloads, monthlyDownloads | Download counts |
dependents | Dependent packages (npm search results) |
dependenciesCount | Runtime dependencies of the latest version |
versionsCount, createdAt, lastPublished, daysSinceLastRelease | Release history |
requiresPython, nodeEngines | Runtime requirements |
deprecated | npm deprecation message |
types | npm package ships TypeScript types |
searchScore | npm search relevance |
url | npmjs.com or pypi.org page |
Example output item
{"ecosystem": "pypi","name": "fastapi","found": true,"version": "0.162.2","description": "FastAPI framework, high performance, easy to learn, fast to code, ready for production","license": "MIT","repository": "https://github.com/fastapi/fastapi","githubRepo": "fastapi/fastapi","author": "Sebastián Ramírez","dailyDownloads": 12717908,"weeklyDownloads": 126820280,"monthlyDownloads": 381578963,"dependenciesCount": 6,"versionsCount": 361,"createdAt": "2018-12-08T08:14:13.103167Z","requiresPython": ">=3.10","url": "https://pypi.org/project/fastapi/"}
FAQ
Can it search PyPI? PyPI has no official search API, so PyPI packages are looked up by exact name. npm supports full search.
Where do PyPI downloads come from? From pypistats.org, which aggregates the official PyPI BigQuery download data. Requests are spaced out to respect its limits.
Why is a run with huge npm packages slower? includeHistory downloads the full registry document to count versions. Packages like react have thousands of versions. Turn it off for faster runs.
Why is dailyDownloads empty for npm search results? Search results already include weekly and monthly downloads from npm, so the actor skips extra calls to the rate-limited downloads API. Daily counts are filled for packages you list by name.
Do I need an npm or PyPI account? No. Everything comes from public, documented APIs.
What about personal data? Author names and emails are included only as published by maintainers in public package metadata. Use them responsibly and in line with privacy laws such as GDPR.