npm & PyPI Package Downloads & Leads Scraper | 2Space
Pricing
from $1.00 / 1,000 packages scraped
npm & PyPI Package Downloads & Leads Scraper | 2Space
Fast npm and PyPI open-source package scraper for DevTools lead generation and market research. Scrapes 30-day download counts, versions, GitHub repos, licenses, and maintainer emails.
Pricing
from $1.00 / 1,000 packages scraped
Rating
0.0
(0)
Developer
2Space Group
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
an hour ago
Last modified
Categories
Features
Share
Built by 2Space Group · Zero-browser npm package scraper, PyPI package scraper, npm download stats API, and PyPI maintainer leads extractor engineered for AI agents, MCP clients, developer marketing, and open-source market intelligence.
Looking for a fast npm package scraper or PyPI package scraper that delivers real 30-day adoption metrics and verified maintainer contact details in seconds? This package downloads scraper queries the official npm Registry Search API, npm Downloads API, and PyPI JSON API over pure HTTP with zero headless browsers, turning raw registry payloads into flat, structured npm download stats and PyPI maintainer leads ready for CRMs, spreadsheets, databases, and AI agents.
Why Choose This Scraper?
- Pure HTTP Speed (Zero Browser Overhead): Queries
registry.npmjs.org,api.npmjs.org,pypi.org, andpypistats.orgdirectly—returning results in a few seconds without Puppeteer, Playwright, or proxy overhead. - Flat, CRM & Agent-Ready Schema: Outputs clean root-level scalar fields (
ecosystem,packageName,version,description,downloadsLast30Days,license,homepageUrl,repositoryUrl,packageUrl,keywords,maintainerName,maintainerEmail,publishedAt,extractedAt). - Smart Maintainer Lead Extraction: Automatically skips automated CI/OIDC publisher entries (such as GitHub Actions no-reply addresses) when a human maintainer is listed on npm, and parses RFC-style
Name <email>strings from PyPI metadata. - Scoped npm Package Support: Properly URL-encodes scoped packages like
@modelcontextprotocol/sdkand@playwright/mcpfor both registry metadata and 30-day download counts. - Empty
{}Input Ready: Works immediately with zero configuration—running{}extracts PyPI packages (fastapi,pydantic) and searches npm formcp, returning real packages in under 10 seconds. - No Data, No Charge (Pay-Per-Event): Uses the single
package-scrapedevent (count: 1), charged only after a validated package record is pushed to the dataset, protected bymaxItemsandmaxCostUsdspending guards.
Common Use Cases
- Developer Tooling Lead Generation: Discover fast-growing npm and PyPI libraries in your niche (AI SDKs, MCP servers, DevOps CLIs, data frameworks) along with maintainer names, emails, homepages, and GitHub repositories.
- Ecosystem & Competitor Benchmarking: Track 30-day download velocity, release cadence (
publishedAt), and license distribution across competing JavaScript/TypeScript and Python packages. - Open-Source Due Diligence & Sourcing: Pull normalized SPDX licenses, latest version tags, and repository URLs for internal catalogs or investor sourcing workflows.
- AI Agent & MCP Tooling: Equip ChatGPT, Claude, or Cursor with live package popularity and maintainer lookup capabilities via the Apify MCP Server.
Input Parameters
| Field | Type | Default | Description |
|---|---|---|---|
ecosystems | string[] | ["npm", "pypi"] | Registries to scrape ("npm", "pypi"). |
searchQuery | string | "mcp" | Keyword query for the npm Registry Search API (and fallback PyPI lookup when pypiPackages is empty). |
pypiPackages | string[] | ["fastapi", "pydantic"] | Exact PyPI package names to fetch from the PyPI JSON API. |
npmPackages | string[] | [] | Optional exact npm package names (including scoped packages like @modelcontextprotocol/sdk). |
maxItems | integer | 10 | Hard cap on deduplicated packages pushed and billed per run. |
maxCostUsd | number | 0.25 | Pre-charge spending safety cap in USD for Pay-Per-Event billing. |
Example JSON Output
Each item stored in the default dataset uses flat root fields:
{"ecosystem": "npm","packageName": "@modelcontextprotocol/sdk","version": "1.24.0","description": "Model Context Protocol implementation for TypeScript","downloadsLast30Days": 371591728,"license": "MIT","homepageUrl": "https://modelcontextprotocol.io/","repositoryUrl": "https://github.com/modelcontextprotocol/typescript-sdk","packageUrl": "https://www.npmjs.com/package/@modelcontextprotocol/sdk","keywords": ["mcp", "modelcontextprotocol", "ai"],"maintainerName": "jspahrsummers","maintainerEmail": "maintainer@example.com","publishedAt": "2026-11-28T14:20:00.000Z","extractedAt": "2026-12-01T08:15:00.000Z"}
A full execution summary is saved to the default Key-Value Store under RUN_DIAGNOSTICS, including per-source HTTP status codes, parsed counts, deduplication totals, and cost-limit flags.
MCP & AI Agent Integration (ChatGPT, Claude, Cursor)
Connect reminiscent_medaka/npm-pypi-packages-scraper to any MCP-compatible AI assistant or automation platform:
-
ChatGPT / Claude Desktop / Cursor (Apify MCP Server): Connect directly to the Apify MCP endpoint with this Actor pre-selected:
https://mcp.apify.com/?actors=reminiscent_medaka/npm-pypi-packages-scraperOr add the
mcpServersblock in Cursor or Claude Desktop:{"mcpServers": {"apify-npm-pypi-packages": {"url": "https://mcp.apify.com/?actors=reminiscent_medaka/npm-pypi-packages-scraper","headers": {"Authorization": "Bearer YOUR_APIFY_TOKEN"}}}}Then ask your assistant: "Use npm-pypi-packages-scraper to find the top 10 npm packages matching 'mcp' along with their 30-day downloads and maintainer emails."
-
REST API / n8n / Make / Zapier: Call the synchronous dataset endpoint directly from any HTTP client:
POST https://api.apify.com/v2/acts/reminiscent_medaka~npm-pypi-packages-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN
Pricing & Guarantees
- Event:
package-scraped(count: 1per validated pushed package). - No Data, No Charge: If a registry lookup fails or returns zero valid items,
Actor.charge()is never called. - Budget Controls: Both
maxItemsandmaxCostUsdare enforced prior to pushing and charging, and Apify'seventChargeLimitReachedhalts the run cleanly when your spending limit is reached.