# PyPI Packages & Maintainer Leads Scraper (`slavako/pypi-packages-maintainer-leads`) Actor

Scrape PyPI Python packages, verified author emails, maintainer contacts, GitHub repository URLs, and download statistics. Standby MCP ready.

- **URL**: https://apify.com/slavako/pypi-packages-maintainer-leads.md
- **Developed by:** [Sviatoslav](https://apify.com/slavako) (community)
- **Categories:** Developer tools, Lead generation, AI
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 pypi package records

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## PyPI Packages & Maintainer Leads Scraper

Extract Python packages, verified author and maintainer email contacts, GitHub repository links, documentation URLs, licenses, classifiers, and download metrics directly from the official **Python Package Index (PyPI)** without authentication, rate limits, or headless browser overhead.

***

### 🚀 Key Features

- **⚡ 100% Free & Fast HTTP Architecture:** Queries official PyPI JSON endpoints directly with zero headless browser overhead (128 MB RAM, sub-second responses).
- **📧 Verified Author & Maintainer Email Contacts:** Extracts direct email contacts of Python package creators, contributors, and maintainers.
- **📈 Real-time Download Statistics:** Retrieves actual download volume (last day, week, month) via official PyPI stats counters.
- **🔗 Source Code & Documentation URLs:** Captures official GitHub, GitLab, and documentation links.
- **🤖 Standby MCP Mode:** Instant JSON API endpoints for AI coding assistants (Claude Desktop, Cursor, Windsurf) and automation workflows (n8n, Make, Clay).

***

### 💼 Common Use Cases

1. **Tech Recruitment & Talent Sourcing:** Source top Python, AI, Machine Learning, and Data Science maintainers with direct verified contact emails.
2. **DevRel & Developer Partnerships:** Discover fast-growing Python open-source tools in your ecosystem for sponsorship and integration outreach.
3. **Open-Source Security & Due Diligence:** Audit package maintainers, license compliance, and project activity.
4. **Market Intelligence:** Benchmark weekly and monthly download trends across competitive Python SDKs and frameworks.

***

### 📥 Input Parameters

| Parameter | Type | Default | Description |
| :--- | :---: | :---: | :--- |
| `searchQueries` | Array | `["fastapi", "scraper"]` | Keywords or topics to search across top Python packages. |
| `packageNames` | Array | `[]` | Specific package names to inspect directly (e.g. `requests`, `fastapi`, `pydantic`). |
| `maxPackages` | Integer | `20` | Maximum number of packages to extract (1 to 500). |
| `includeMaintainerEmails` | Boolean | `true` | Enriches packages with verified author and maintainer email contacts. |
| `includeDownloadStats` | Boolean | `true` | Enriches packages with real-time PyPI download metrics. |

***

### 📤 Sample Output (JSON)

```json
{
  "name": "fastapi",
  "version": "0.115.5",
  "summary": "FastAPI framework, high performance, easy to learn, fast to code, ready for production",
  "author": "",
  "authorEmail": "Sebastián Ramírez <tiangolo@gmail.com>",
  "maintainer": "",
  "maintainerEmail": "",
  "homePage": "https://fastapi.tiangolo.com/",
  "projectUrls": {
    "Documentation": "https://fastapi.tiangolo.com/",
    "Homepage": "https://fastapi.tiangolo.com/",
    "Repository": "https://github.com/fastapi/fastapi"
  },
  "repositoryUrl": "https://github.com/fastapi/fastapi",
  "license": "MIT",
  "keywords": ["api", "asyncio", "fastapi", "framework", "pydantic", "python", "rest"],
  "classifiers": [
    "Development Status :: 5 - Production/Stable",
    "Framework :: AsyncIO",
    "Framework :: FastAPI",
    "Intended Audience :: Developers",
    "License :: OSI Approved :: MIT License",
    "Programming Language :: Python :: 3"
  ],
  "requiresPython": ">=3.8",
  "downloadsLastDay": 22850990,
  "downloadsLastWeek": 136078054,
  "downloadsLastMonth": 549126313,
  "pypiUrl": "https://pypi.org/project/fastapi/",
  "extractedAt": "2026-11-19T06:00:00.000Z"
}
```

***

### 💰 Pay-Per-Event (PPE) Pricing

| Event | Price | Description |
| :--- | :---: | :--- |
| **Actor Start** (`apify-actor-start`) | `$0.003` | Charged once per run container startup. |
| **PyPI Package Record** (`apify-default-dataset-item`) | `$0.001` | Charged per extracted Python package record. |
| **Maintainer Lead Enrichment** (`pypi-maintainer-leads-enriched`) | `$0.002` | Charged when package contains verified author/maintainer email contacts. |
| **Download Statistics Enrichment** (`pypi-downloads-enriched`) | `$0.001` | Charged when real-time PyPI download metrics are extracted. |

***

### 🛡️ Fair Use & Limitations

- **Free Tier Policy:** Free Apify accounts receive up to 15 package records per run to test integration. Paid Apify accounts extract up to 500 records per run.
- **Compliance:** Queries only public, open-source metadata provided by the Python Software Foundation (PyPI) and pypistats.org.

# Actor input Schema

## `searchQueries` (type: `array`):

Keywords to discover popular Python packages (e.g. 'fastapi', 'scraper', 'langchain', 'ai', 'data').

## `packageNames` (type: `array`):

Exact PyPI package names to extract directly (e.g. 'requests', 'fastapi', 'pydantic', 'openai').

## `maxPackages` (type: `integer`):

Maximum number of packages to scrape across all queries.

## `includeMaintainerEmails` (type: `boolean`):

Extracts verified author and maintainer email addresses and contact information.

## `includeDownloadStats` (type: `boolean`):

Queries real-time download volume (last day, week, month) from PyPI stats API.

## `proxyConfiguration` (type: `object`):

Optional Apify proxy configuration (not required as official PyPI API is open).

## Actor input object example

```json
{
  "searchQueries": [
    "fastapi",
    "scraper"
  ],
  "maxPackages": 20,
  "includeMaintainerEmails": true,
  "includeDownloadStats": true
}
```

# Actor output Schema

## `dataset` (type: `string`):

Extracted PyPI Python packages, verified author emails, maintainer contacts, GitHub repository links, and download metrics.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "searchQueries": [
        "fastapi",
        "scraper"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("slavako/pypi-packages-maintainer-leads").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "searchQueries": [
        "fastapi",
        "scraper",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("slavako/pypi-packages-maintainer-leads").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "searchQueries": [
    "fastapi",
    "scraper"
  ]
}' |
apify call slavako/pypi-packages-maintainer-leads --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,slavako/pypi-packages-maintainer-leads"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/0RjZRp5fnWoVVBjfy/builds/Xdtkv6nFJqn6V69OI/openapi.json
