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

Scrape NPM registry for packages, maintainer emails, publisher leads, download statistics, and repository metrics. Standby MCP ready.

- **URL**: https://apify.com/slavako/npm-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 npm 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

## NPM Packages & Maintainer Leads Scraper

Extract Node.js/TypeScript packages, verified maintainer email contacts, publisher usernames, weekly download metrics, GitHub repository URLs, and dependency counts from the official **NPM Registry** without authentication, rate limits, or headless browser overhead.

***

### 🚀 Key Features

- **⚡ 100% Free & Fast HTTP Architecture:** Queries official NPM registry APIs directly with zero headless browser overhead (128 MB RAM).
- **📧 Verified Maintainer Email Contacts:** Extracts names and direct email addresses of package maintainers, authors, and npm publishers.
- **📈 Weekly Download Statistics:** Captures real-time download volume and popularity trends via official NPM download counters.
- **🔗 Repository & License Metadata:** Retrieves GitHub/GitLab source code links, issue trackers, official homepages, and open-source licenses.
- **📊 Quality & Maintenance Scores:** Extracts npm scoring metrics (popularity, quality, and maintenance indexes from 0.0 to 1.0).
- **🤖 Standby MCP Mode:** Instant JSON endpoints for AI coding agents (Claude Desktop, Cursor, Windsurf) and automation platforms (n8n, Make, Clay).

***

### 💼 Common Use Cases

1. **Tech Recruitment & Talent Sourcing:** Find top maintainers and contributors of specific frameworks (e.g. `langchain`, `next`, `vue`, `fastapi-bridge`, `solana`) with direct verified email addresses.
2. **DevRel & Developer Marketing:** Discover popular open-source packages in your domain for sponsorship, integrations, and partnership outreach.
3. **Open-Source Security & Dependency Auditing:** Track package maintainer changes, licenses, and repository links for compliance verification.
4. **Market Intelligence & Ecosystem Growth:** Monitor weekly download trajectories of competitor SDKs and tools.

***

### 📥 Input Parameters

| Parameter | Type | Default | Description |
| :--- | :---: | :---: | :--- |
| `searchQueries` | Array | `["scraper", "crawler"]` | Keywords or topics to search across the NPM registry. |
| `packageNames` | Array | `[]` | Exact package names to inspect directly (e.g. `express`, `crawlee`, `apify`). |
| `maxPackages` | Integer | `20` | Maximum number of packages to extract (1 to 500). |
| `includeMaintainerEmails` | Boolean | `true` | Enriches each package with verified maintainer email addresses and publisher contacts. |
| `includeDownloadStats` | Boolean | `true` | Enriches each package with real-time weekly download metrics. |

***

### 📤 Sample Output (JSON)

```json
{
  "name": "crawlee",
  "version": "3.12.2",
  "description": "The scalable web scraping and browser automation library for JavaScript/TypeScript",
  "keywords": ["crawler", "scraper", "headless-chrome", "playwright", "puppeteer"],
  "license": "Apache-2.0",
  "homepageUrl": "https://crawlee.dev",
  "repositoryUrl": "git+https://github.com/apify/crawlee.git",
  "npmUrl": "https://www.npmjs.com/package/crawlee",
  "weeklyDownloads": 482910,
  "popularityScore": 0.88,
  "qualityScore": 0.95,
  "maintenanceScore": 1.0,
  "authorName": "Apify",
  "publisherUsername": "apify-admin",
  "publisherEmail": "support@apify.com",
  "maintainers": [
    {
      "name": "mnmkng",
      "email": "martin@apify.com"
    }
  ],
  "dependenciesCount": 18,
  "scrapedAt": "2026-11-14T06:00:00.000Z"
}
```

***

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

This Actor uses fair **Pay-Per-Event** billing:

| Event Name | Price (USD) | Description |
| :--- | :---: | :--- |
| `apify-actor-start` | **$0.003** | Fixed per-run startup fee. |
| `apify-default-dataset-item` | **$0.001** | Charged per package pushed to dataset. |
| `npm-maintainer-leads-enriched` | **$0.002** | Charged when maintainer emails, author, and publisher contacts are extracted. |
| `npm-downloads-enriched` | **$0.001** | Charged when real-time weekly download stats are extracted. |

> **Free Tier Demo:** Unregistered and free Apify users receive up to 15 packages per run. Upgrade to an Apify paid subscription for unlimited high-volume extraction.

***

### ⚖️ Disclaimer

This Actor is independently developed and queries publicly available package metadata from the open NPM Registry. It is not affiliated with or endorsed by npm, Inc. or GitHub, Inc.

# Actor input Schema

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

Search queries to discover NPM packages (e.g. 'scraper', 'crawler', 'langchain', 'ai-agent', 'react-table').

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

Exact NPM package names to inspect directly (e.g. 'express', 'crawlee', 'apify', 'cheerio').

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

Maximum number of packages to scrape across all queries.

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

Fetches complete maintainer names, verified email addresses, publisher username, and author contacts.

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

Queries NPM download metrics API for weekly download volume.

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

Optional Apify proxy configuration (rarely needed as official NPM registry is completely open).

## Actor input object example

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

# Actor output Schema

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

Extracted NPM packages, maintainer emails, publisher leads, download statistics, and repository links.

# 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": [
        "scraper",
        "crawler"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("slavako/npm-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": [
        "scraper",
        "crawler",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("slavako/npm-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": [
    "scraper",
    "crawler"
  ]
}' |
apify call slavako/npm-packages-maintainer-leads --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,slavako/npm-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/sgElmmM474Qd4tfbp/builds/kCR9e8fwD5aiFQcYK/openapi.json
