npm & PyPI Package Downloads & Leads Scraper | 2Space avatar

npm & PyPI Package Downloads & Leads Scraper | 2Space

Pricing

from $1.00 / 1,000 packages scraped

Go to Apify Store
npm & PyPI Package Downloads & Leads Scraper | 2Space

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

2Space Group

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

an hour ago

Last modified

Features

Limited permissions

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.

Apify Actor MCP Ready Zero Browser

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, and pypistats.org directly—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/sdk and @playwright/mcp for 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 for mcp, returning real packages in under 10 seconds.
  • No Data, No Charge (Pay-Per-Event): Uses the single package-scraped event (count: 1), charged only after a validated package record is pushed to the dataset, protected by maxItems and maxCostUsd spending guards.

Common Use Cases

  1. 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.
  2. Ecosystem & Competitor Benchmarking: Track 30-day download velocity, release cadence (publishedAt), and license distribution across competing JavaScript/TypeScript and Python packages.
  3. Open-Source Due Diligence & Sourcing: Pull normalized SPDX licenses, latest version tags, and repository URLs for internal catalogs or investor sourcing workflows.
  4. AI Agent & MCP Tooling: Equip ChatGPT, Claude, or Cursor with live package popularity and maintainer lookup capabilities via the Apify MCP Server.

Input Parameters

FieldTypeDefaultDescription
ecosystemsstring[]["npm", "pypi"]Registries to scrape ("npm", "pypi").
searchQuerystring"mcp"Keyword query for the npm Registry Search API (and fallback PyPI lookup when pypiPackages is empty).
pypiPackagesstring[]["fastapi", "pydantic"]Exact PyPI package names to fetch from the PyPI JSON API.
npmPackagesstring[][]Optional exact npm package names (including scoped packages like @modelcontextprotocol/sdk).
maxItemsinteger10Hard cap on deduplicated packages pushed and billed per run.
maxCostUsdnumber0.25Pre-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:

  1. 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-scraper

    Or add the mcpServers block 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."

  2. 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: 1 per 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 maxItems and maxCostUsd are enforced prior to pushing and charging, and Apify's eventChargeLimitReached halts the run cleanly when your spending limit is reached.