# Substack Publications, Authors & Sponsorship Leads (`evpp/substack-publications-leads`) Actor

Scrape Substack category leaderboards as clean JSON: publication and author profiles, subscriber tiers, paid status, pricing, custom domains, and sponsorship prospecting fields.

- **URL**: https://apify.com/evpp/substack-publications-leads.md
- **Developed by:** [Evp Labs](https://apify.com/evpp) (community)
- **Categories:** Marketing, Lead generation, News
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.61 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/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

## Substack Publications, Authors & Sponsorship Leads

Scrape Substack category leaderboards with publication, author, subscriber tier, paid model, custom domain, pricing and contact-link data for sponsorship prospecting.

Built for revenue-grade data extraction: clean flat JSON, strict `maxItems`, direct HTTP first, no residential proxy requirement, and a small default run that returns live data in under 60 seconds.

### Use cases

- Lead generation, market intelligence, competitor monitoring and workflow automation.
- AI agents, MCP clients, n8n, Make, Zapier, Python and JavaScript pipelines.
- Scheduled monitoring through Apify tasks with export to JSON, CSV, Excel, webhooks, CRMs and spreadsheets.

### Quick start input

Target source: `substack.com`. Paste this JSON into the Actor input tab for a fast first run, or use it as the body of the Apify API run call:

```json
{
    "categoryId": "4",
    "paidOnly": false,
    "bestsellerOnly": false,
    "maxItems": 12
}
```

The default input is intentionally small. Raise `maxItems` only after validating the first publication records.

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `categoryId` | `string` | `4` | Substack category ID. Examples: 4 technology, 62 business, 153 finance, 96 culture, 103 news. |
| `query` | `string` | \`\` | Optional case-insensitive filter over publication name, author, subdomain and description. |
| `paidOnly` | `boolean` | `False` | Only publications with paid subscriptions enabled. |
| `bestsellerOnly` | `boolean` | `False` | Only publications carrying a Substack bestseller badge or paid-subscriber band. |
| `maxItems` | `integer` | `12` | Maximum publications to output, strictly enforced. |
| `proxyConfiguration` | `object` | `{'useApifyProxy': False}` | Optional proxies. Public leaderboard endpoints normally need no proxy. |

### Output fields

One flat JSON item is produced per publication. Download the dataset as JSON, CSV, Excel, or HTML, or consume it through the Apify API.

#### Field reference

| Field | Type | Description |
|-------|------|-------------|
| `publicationId` | string | Substack publication ID |
| `rank` | integer | Leaderboard rank |
| `name` | string | Publication name |
| `subdomain` | string | Substack subdomain |
| `url` | string | Publication home URL |
| `customDomain` | string | Custom domain when configured |
| `description` | string | Publication description |
| `authorName` | string | Primary author display name |
| `authorId` | string | Primary author ID |
| `subscriberCount` | integer | Displayed or estimated subscriber count |
| `subscriberCountLabel` | string | Subscriber count badge |
| `paidSubscriberBand` | string | Paid subscriber band |
| `bestsellerTier` | integer | Bestseller badge tier floor |
| `isBestseller` | boolean | True when bestseller badge present |
| `paidEnabled` | boolean | True when paid subscriptions enabled |
| `monthlyPriceUsd` | number | Monthly price when available |
| `yearlyPriceUsd` | number | Yearly price when available |
| `logoUrl` | string | Publication logo URL |
| `createdAt` | string | Publication creation timestamp |
| `categoryId` | string | Category used |

#### Real sample output (latest live dataset)

```json
{
    "publicationId": "817132",
    "rank": 1,
    "name": "ByteByteGo Newsletter",
    "subdomain": "bytebytego",
    "url": "https://blog.bytebytego.com",
    "customDomain": "blog.bytebytego.com",
    "description": "Explain complex systems with simple terms, from the authors of the best-selling system design book series. Join over 1,000,000 friendly readers.",
    "authorName": "Alex Xu",
    "authorId": "22329494",
    "bestsellerTier": 0,
    "isBestseller": false,
    "paidEnabled": true,
    "monthlyPriceUsd": 15,
    "yearlyPriceUsd": 150,
    "logoUrl": "https://substackcdn.com/image/fetch/$s_!1eXV!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F8a5609ae-1239-4400-9491-6010a15c4d60_504x504.png",
    "createdAt": "2022-03-27T03:36:45.845Z",
    "categoryId": "4",
    "authorHandle": "bytebytego"
}
```

### MCP, n8n, Python and JavaScript quickstart

#### MCP

```text
https://mcp.apify.com/?tools=evpp/substack-publications-leads
```

#### n8n, Make and Zapier

Run Actor `evpp/substack-publications-leads` with your input, then map dataset items into Google Sheets, Airtable, HubSpot, Slack or a webhook.

#### Python

```python
from apify_client import ApifyClient

client = ApifyClient()
run = client.actor("evpp/substack-publications-leads").call(run_input={"maxItems": 12})
items = list(client.dataset(run["defaultDatasetId"]).iterate_items())
print(len(items), items[0])
```

#### JavaScript

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient();
const run = await client.actor('evpp/substack-publications-leads').call({ maxItems: 12 });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.length, items[0]);
```

### Pricing

Recommended pay-per-event pricing is **$2.75 per 1,000 items** at Bronze tier. Free-tier users pay the published Free tier rate, while Silver and higher subscription tiers receive discounted unit prices through Apify tiered pricing.

### Use with AI agents (MCP), n8n, Make, and Python

- **AI agents / MCP:** add `https://mcp.apify.com/?tools=evpp/substack-publications-leads` to your MCP client, then ask the agent to scrape Substack publications data or export the latest dataset.
- **n8n / Make / Zapier:** run Actor `evpp/substack-publications-leads` with the quick-start input, then map dataset items into Google Sheets, a CRM, a webhook, or a monitoring workflow.
- **Python:** install the client with `pip install apify-client` and run:

```python
import json
from apify_client import ApifyClient

client = ApifyClient()
run_input = json.loads('''{"categoryId":"4","paidOnly":false,"bestsellerOnly":false,"maxItems":12}''')
run = client.actor("evpp/substack-publications-leads").call(run_input=run_input)
items = list(client.dataset(run["defaultDatasetId"]).iterate_items())
print(items[0])
```

The same dataset is available as JSON, CSV, Excel, XML, RSS, and HTML through the Apify API.

### FAQ

#### Does it need a browser or residential proxy?

No. The Actor uses direct public HTTP or JSON endpoints by default. Optional proxy configuration is available only for users who explicitly choose it.

#### Is output flat JSON?

Yes. One clean dataset item per result, with `maxItems` strictly enforced.

#### Can AI agents use it?

Yes. Use the MCP URL above or call the Actor through the Apify API from Python, JavaScript, n8n, Make or Zapier.

#### How much does a run cost?

The Actor uses the pay-per-event price shown on its Apify Store page. Start with the small quick-start input, verify the returned publication records, then raise `maxItems` only when the data matches your use case.

# Actor input Schema

## `categoryId` (type: `string`):

Substack category ID. Examples: 4 technology, 62 business, 153 finance, 96 culture, 103 news.

## `query` (type: `string`):

Optional case-insensitive filter over publication name, author, subdomain and description.

## `paidOnly` (type: `boolean`):

Only publications with paid subscriptions enabled.

## `bestsellerOnly` (type: `boolean`):

Only publications carrying a Substack bestseller badge or paid-subscriber band.

## `maxItems` (type: `integer`):

Maximum publications to output, strictly enforced.

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

Optional proxies. Public leaderboard endpoints normally need no proxy.

## Actor input object example

```json
{
  "categoryId": "4",
  "query": "",
  "paidOnly": false,
  "bestsellerOnly": false,
  "maxItems": 12,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

Dataset containing all scraped records

# 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 = {
    "categoryId": "4",
    "query": "",
    "paidOnly": false,
    "bestsellerOnly": false,
    "maxItems": 12,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("evpp/substack-publications-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 = {
    "categoryId": "4",
    "query": "",
    "paidOnly": False,
    "bestsellerOnly": False,
    "maxItems": 12,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("evpp/substack-publications-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 '{
  "categoryId": "4",
  "query": "",
  "paidOnly": false,
  "bestsellerOnly": false,
  "maxItems": 12,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call evpp/substack-publications-leads --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,evpp/substack-publications-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/gq5EpsxLLPsCuRLWD/builds/bISAovuQMpoMSWHqU/openapi.json
