npm and PyPI Package Scraper: downloads, versions, licenses
Pricing
$0.75 / 1,000 packages
npm and PyPI Package Scraper: downloads, versions, licenses
Get npm and PyPI package data for any list: weekly traffic, latest version, repository, maintainers and release dates as JSON or CSV. Costs 0.75 USD per 1,000 packages.
Pricing
$0.75 / 1,000 packages
Rating
0.0
(0)
Developer
BEPO Labs
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
an hour ago
Last modified
Categories
Features
Share
๐ฆ What is npm and PyPI Package Data?
Turn package names into one clean row per package from the official npm registry and PyPI: newest tag, licence kind (permissive or restrictive), owners, first and final publication, days since it, withdrawal flag, requirements, runtime, source link, and per-week and per-month installs. Mix both ecosystems in one run, paste npmjs.com or pypi.org links, or search npm by keyword and get a full record for every match.
- Licence audits: list every dependency with its usage rights and kind, and spot copyleft before legal does
- Dependency health: find packages that are deprecated, yanked or have had no release for years
- Developer tool and DevRel teams: track weekly downloads of your packages and competitors' in Google Sheets
- Market and investor research: compare adoption of libraries across npm and PyPI
- AI coding agents: give Claude or ChatGPT structured package facts through MCP

โจ Why use this Actor?
- โ npm and PyPI in one run: the same fields for JavaScript and Python packages, next to each other
- โ Licence type, not just the id: permissive, weak or strong copyleft, proprietary or none, read from SPDX ids and expressions
- โ Downloads included: weekly and monthly counts from the npm download API and pypistats.org
- โ Health signals: days since the last publication, deprecated or yanked flag, version count and first release date
- โ
Names, URLs or npm search: bare entries,
npm:/pypi:prefixes, registry links, scoped ones, or keywords - โ Fair pricing: names the registry does not know get a free not-found row
๐ฆ What data can you get with npm and PyPI Package Data?
| ๐ฆ Name and registry | ๐ข Latest version | โ๏ธ Licence and licence type |
| ๐ Weekly downloads | ๐ Monthly downloads | ๐ฅ Maintainers and author |
| ๐ First and last release | โณ Days since last release | โ ๏ธ Deprecated or yanked |
| ๐งฉ Dependencies and count | ๐ ๏ธ Runtime (node or python) | ๐ Repository and homepage |
๐ How to use npm and PyPI Package Data
npm and PyPI Package Data works in a few clicks, no coding needed:
- Create a free Apify account (the free plan includes 5 USD of monthly credit).
- Open npm and PyPI Package Data and click Try for free.
- Enter package names (or npmjs.com and pypi.org links) and pick the default registry, or add npm search words.
- Click Start and wait for the run to finish (most runs take seconds).
- Download your data as JSON, CSV, Excel, XML or HTML, or send it straight to Google Sheets, Make, Zapier or your AI agent.

โฌ๏ธ Input
Give package names, registry links or npm searches. Downloads are on by default; everything else is optional.
npm or PyPI?
Prefix a name with npm: or pypi: (pypi:requests), paste a npmjs.com/package/... or pypi.org/project/... link, or write the bare form to use defaultRegistry. Scoped npm names such as @types/node work.
npm search
npmSearches takes words such as markdown parser; each query adds up to maxSearchResults packages (up to 250), ranked by relevance, each with a full row. PyPI has no search API, so its entries are given by name.
Version history
Switch on includeVersionList to add the last 20 versions with their release dates to each row.
| Field | Type | What it does | Default |
|---|---|---|---|
Packages (packages) | array | Package names, one per line. | ["react","pypi:requests"] |
Default registry (defaultRegistry) | string | Registry for names without an npm: or pypi: prefix. | "npm" |
npm searches (npmSearches) | array | Words to search on npm, e.g. | |
Packages per npm search (maxSearchResults) | integer | How many packages each npm search returns, ranked by relevance. | 20 |
Include downloads (includeDownloads) | boolean | Add weekly and monthly download counts (npm download API, pypistats.org for PyPI). | true |
Include version list (includeVersionList) | boolean | Add the last 20 versions with their release dates to each row. | false |
Max retries (maxRetries) | integer | Retries per request on timeouts, rate limits and server errors. | 3 |

Input example
{"packages": ["react","zod","@types/node","npm:left-pad","express"]}
โฌ๏ธ Output
Every package becomes one row with the same fields for npm and PyPI. Unknown ones get a record with status: "not-found". The run summary in the key-value store (OUTPUT) lists not-found names, searches and any error.

Output example
One row of the dataset (express on npm, lists shortened):
{"name": "express","registry": "npm","version": "5.3.0","license": "MIT","licenseType": "permissive","lastPublished": "2026-10-09","versionCount": 290,"downloadsLastWeek": 145199376,"description": "Fast, unopinionated, minimalist web framework","maintainers": ["wesleytodd","jonchurch","ctcpip","ulisesgascon","sheplu"],"author": "TJ Holowaychuk","homepage": "https://expressjs.com/","repository": "https://github.com/expressjs/express","keywords": ["express","framework","sinatra","web","http"],"firstPublished": "2010-12-29","daysSinceLastRelease": 6,"deprecated": null,"dependencies": ["qs","depd","etag","once","send","vary"],"dependencyCount": 28,"runtime": "node >= 18","downloadsLastMonth": 635513489,"url": "https://www.npmjs.com/package/express","status": "ok"}
Version list
With includeVersionList each row also has versions, newest on top (requests on PyPI, the first three of 20):
{"name": "requests","versions": [{"version": "2.34.2","date": "2026-05-14"},{"version": "2.34.1","date": "2026-05-13"},{"version": "2.34.0","date": "2026-05-11"}]}
View the results as a table or JSON in the Output tab and download them as JSON, CSV, Excel, XML, HTML or RSS, all fields or only those you pick.
โ ๏ธ Error items
An input that cannot be read does not stop the run and is never charged: it gets a row with an error field so you can see exactly what failed.
| Error | Meaning |
|---|---|
not-found | The registry has no package of that name, e.g. no-such-package-bepo on PyPI in a real run |
error | The registry did not answer after all retries; the row carries the HTTP status |
๐ฐ How much does npm and PyPI Package Data cost?
npm and PyPI Package Data is priced per event: 0.75 USD per 1,000 packages (0.00075 USD each), with no monthly rental. Names the registry does not know get a free not-found row; there is no start fee.
| You get | You pay |
|---|---|
| 100 packages | 0.08 USD |
| 1,000 packages | 0.75 USD |
| 10,000 packages | 7.5 USD |
| 100,000 packages | 75 USD |
๐ก Apify's free plan gives you 5 USD of credit every month, enough for about 6,666 packages at no cost. Set a spending limit per run and the Actor stops there.
โ๏ธ npm and PyPI Package Data vs. the alternatives
| npm and PyPI Package Data | Registry websites by hand | Typical package scrapers | |
|---|---|---|---|
| npm and PyPI in one table | โ | two sites | often one registry |
| Licence type (permissive or copyleft) | โ | โ | โ |
| Weekly and monthly downloads | โ | npm only | varies |
| Deprecated, yanked and days since release | โ | by hand | partly |
| Export, schedule, API and MCP | โ | โ | โ |
๐ Integrations, API and MCP
Connect npm and PyPI Package Data to your AI agent (MCP)
Give Claude, ChatGPT, Cursor or any MCP client direct access to npm and PyPI Package Data through the Apify MCP server. Add this URL to its settings:
https://mcp.apify.com/?actors=bepolabs/npm-pypi
For Claude Desktop, add it under mcpServers in claude_desktop_config.json:
{"mcpServers": {"npm-pypi": {"command": "npx","args": ["-y","@apify/actors-mcp-server","--actors","bepolabs/npm-pypi"],"env": {"APIFY_TOKEN": "<your Apify API token>"}}}}
Then ask: "Check the licence, weekly downloads and last release of react, express, zod and pypi:requests, and flag any that are deprecated."
Run it from your code
Python (pip install apify-client):
from apify_client import ApifyClientclient = ApifyClient("<YOUR_APIFY_TOKEN>")run = client.actor("bepolabs/npm-pypi").call(run_input={"packages":["react","zod","@types/node","npm:left-pad","express"]})for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item)
JavaScript (npm install apify-client):
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });const run = await client.actor('bepolabs/npm-pypi').call({"packages":["react","zod","@types/node","npm:left-pad","express"]});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items);
No-code integrations
Send results to Google Sheets, Slack, Airtable, HubSpot, Make, Zapier, n8n and more from the Integrations tab, start runs on a schedule, or trigger your own endpoint with a webhook when a run finishes. The Apify API gives you full control over runs and datasets.
โ FAQ
How is the licence type decided?
From the SPDX id or expression: MIT OR GPL-3.0 counts as permissive (you may choose), MIT AND GPL-3.0 as copyleft (you must respect both). Free text the Actor cannot read is unknown. It is a quick guide, not legal advice.
Why are PyPI downloads empty?
pypistats.org is a volunteer service that is sometimes down. The run then leaves PyPI downloads empty, says so in OUTPUT, and delivers everything else.
Why does the npm download count differ from npmjs.com?
Both come from the same API; the page may show another week. downloadsLastWeek is the last full 7 days it has.
Can I check a whole package.json or requirements.txt?
Yes: paste the dependency names into packages, one per line, with pypi: in front of Python ones or defaultRegistry: "pypi".
Do I need an API key?
No. All sources are public registry APIs.
Is it legal to use npm and PyPI Package Data?
The Actor uses the open npm registry and download APIs, the PyPI JSON API and pypistats.org, at most 3 requests at once with backoff. It collects published package metadata and the names of owners, never their email addresses. Not affiliated with or endorsed by npm, GitHub, the Python Software Foundation or PyPI Stats.
What if something is missing or does not work?
Open an issue on the Issues tab; we read each one and reply. Feature requests are welcome too.
๐ฌ Your feedback
Tell us what npm and PyPI Package Data should add on the Issues tab or leave a review; your notes decide what we work on next.
๐ Related Actors
| Actor | What it does |
|---|---|
| ๐งฉ Chrome Web Store Scraper | Users, rating, version, last update, developer, category and permissions of any Chrome extension. |
| โญ App Store Reviews | iOS App Store reviews with stars, text, app version and date, plus the app's rating and details, for any store country. |
| ๐ก๏ธ CVE Vulnerability Search | Official NVD records by CVE id, keyword or product: CVSS, CWE, CISA known-exploited flag and fix links. |
| ๐๏ธ Shopify Products | Any Shopify store URL to every product, with variants, prices, sale prices, SKUs, stock and images. |
| ๐ฎ Steam Scraper | Game prices, details and player reviews from the Steam store, by app id, store URL or game name. |
| ๐ Domain RDAP and DNS | Domains to registrar, creation and expiry dates, age, status, nameservers, DNSSEC and DNS records from official RDAP, in bulk. |
| ๐ข Google Ads Transparency Scraper | Every ad a company runs on Google, by domain, advertiser ID or name, from the Ads Transparency Center. |
| ๐ Google Trends Scraper | Interest over time for up to five keywords on one 0 to 100 scale, any country or worldwide, plus top and rising related queries. |