# Substack Newsletters, Sponsor Leads & Posts Scraper (`storeintel/substack-newsletter-leads-posts-scraper`) Actor

Extract Substack newsletter profiles, author names, subscriber counts, paid subscription pricing, sponsor B2B contact leads, and full newsletter post archives with reaction and comment metrics.

- **URL**: https://apify.com/storeintel/substack-newsletter-leads-posts-scraper.md
- **Developed by:** [StoreIntel Labs](https://apify.com/storeintel) (community)
- **Categories:** Lead generation, Social media
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 substack post scrapeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## Substack Newsletters, Sponsor Leads & Posts Scraper

Extract Substack newsletter profiles, author names, X/Twitter handles, paid tier indicators, average post engagement (`avg_reactions`, `avg_comments`), and full newsletter post archives directly from Substack JSON APIs.

***

### Core Capabilities

#### 1. Newsletter B2B Sponsor Lead Profiles (`record_type: "substack_publication_lead"`)

Extracts `publication_subdomain`, `publication_url`, `author_name`, `author_handle`, `author_bio`, `author_twitter`, `has_paid_subscriptions`, `avg_reactions`, and `avg_comments` — ideal for newsletter sponsorship outreach and creator B2B lead generation.

#### 2. Full Post & Podcast Episode Archives (`record_type: "substack_post"`)

Extracts `post_id`, `title`, `subtitle`, `description`, `published_at`, `audience` (`everyone` vs `only_paid`), `reaction_count`, `comment_count`, `restack_count`, `word_count`, `post_url`, and `podcast_url`.

***

### Pre-Configured Task Templates (1-Click Workflows)

Run specialized configurations of this Actor directly on Apify Store:

- **[`Substack Newsletter B2B Sponsorship Leads Scraper`](https://apify.com/storeintel/substack-newsletter-b2b-sponsorship-leads-scraper)**
- **[`Substack Posts, Reactions & Engagement Scraper`](https://apify.com/storeintel/substack-top-posts-engagement-metrics-scraper)**
- **[`Substack Paid Newsletter Authors & Socials Scraper`](https://apify.com/storeintel/substack-paid-newsletter-authors-twitter-scraper)**

***

### How to Automate in Clay.com, n8n & Make.com (1-Click Templates)

- **Open 1-Click Shared Clay.com Workbook Template:** [`https://app.clay.com/shared-workbook/share_0toe8fdqHgFAJtmU6wQ`](https://app.clay.com/shared-workbook/share_0toe8fdqHgFAJtmU6wQ)
- **Download Ready-to-Import Make.com Scenario Blueprint:** [`08_substack-newsletter-leads-posts-scraper.blueprint.json`](https://raw.githubusercontent.com/mikrozar-cell/b2b-ecommerce-saas-scrapers-n8n-clay/main/make_blueprints/08_substack-newsletter-leads-posts-scraper.blueprint.json)
- **Download Ready-to-Import n8n.io Workflow JSON:** [`08_substack-newsletter-leads-posts-scraper_n8n_workflow.json`](https://raw.githubusercontent.com/mikrozar-cell/b2b-ecommerce-saas-scrapers-n8n-clay/main/n8n_workflows/08_substack-newsletter-leads-posts-scraper_n8n_workflow.json)
- **Full Automation Hub & Clay.com Recipes Repository:** <https://github.com/mikrozar-cell/b2b-ecommerce-saas-scrapers-n8n-clay>

#### 1. Clay.com (B2B Enrichment Column)

Use the **Apify** enrichment column or **HTTP API** column in Clay to enrich thousands of rows automatically:

- **Method:** `POST`
- **Endpoint:** `https://api.apify.com/v2/acts/storeintel~substack-newsletter-leads-posts-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN`
- **JSON Body (with dynamic Clay column mapping):**

```json
{
  "publicationTargets": [
    "{{Substack Subdomain or Domain}}"
  ],
  "scrapePublicationProfiles": true,
  "scrapePosts": true,
  "maxPostsPerPublication": 10,
  "postSortBy": "top"
}
```

#### 2. n8n.io & Make.com Integration

Import the ready-made Blueprint/Workflow JSON above (in Make.com: **Create scenario → More `...` → Import Blueprint**; in n8n: **Import from File/URL**), or add an **Apify — Run an Actor** module pointing to `storeintel/substack-newsletter-leads-posts-scraper` (`dSOldJQGTbikEda10`). Because this Actor uses pure async HTTP/JSON with zero headless browser startup delay, synchronous calls (`run-sync-get-dataset-items`) return structured JSON records in **2–6 seconds**.

***

### Explore More StoreIntel Labs B2B Scrapers

Build complete B2B outbound & market intelligence pipelines by combining our 8 high-speed JSON/RPC Actors:

- **[`Shopify & WooCommerce Scraper: Products, Stock & Store Leads`](https://apify.com/storeintel/ecommerce-store-intelligence-scraper)** — E-Commerce & D2C Lead Generation
- **[`Shopify App Store Scraper: Apps, Pricing, Developer Leads & 1-Star Reviews`](https://apify.com/storeintel/shopify-app-store-scraper)** — SaaS Churn & Competitor Intelligence
- **[`Chrome Web Store Scraper: Extensions, Trader Emails, Manifest & Reviews`](https://apify.com/storeintel/chrome-web-store-scraper)** — Browser Extension & Security Intelligence
- **[`WordPress Plugin Directory Scraper: Active Installs, Support & Reviews`](https://apify.com/storeintel/wordpress-plugin-directory-scraper)** — WordPress & WooCommerce Ecosystem Leads
- **[`Greenhouse, Lever & Ashby ATS Jobs Scraper: Salaries & B2B Tech Stack Signals`](https://apify.com/storeintel/greenhouse-lever-ashby-jobs-scraper)** — B2B Hiring Intent & Tech Stack Intelligence
- **[`Skool Community & Creator Leads Scraper: Estimated MRR, Pricing & Socials`](https://apify.com/storeintel/skool-community-creator-leads-scraper)** — Creator Economy & High-Ticket Agency Leads
- **[`Y Combinator (YC) Startups & Founders Scraper: LinkedIn, X & Batch Data`](https://apify.com/storeintel/y-combinator-startups-founders-scraper)** — Venture & Startup Founder Outbound

# Actor input Schema

## `publicationTargets` (type: `array`):

List of Substack subdomains (e.g. 'pragmaticengineer', 'lennysnewsletter', 'astralab') or full URLs ('https://pragmaticengineer.substack.com' or custom Substack domains).

## `scrapePublicationProfiles` (type: `boolean`):

Extract publication metadata, author bio, social links, subscriber indicators, and paid tier status (triggers 'publication-lead-scraped' event).

## `scrapePosts` (type: `boolean`):

Extract newsletter posts/episodes with title, subtitle, publication date, audience ('everyone' vs 'only_paid'), reactions, comments, word count, and text preview (triggers 'post-scraped' event).

## `maxPostsPerPublication` (type: `integer`):

Maximum number of posts to extract per publication.

## `postSortBy` (type: `string`):

Sort posts by 'new' (most recent) or 'top' (highest engagement).

## `maxSpendUsd` (type: `number`):

Safety cap in USD for Pay-Per-Event billing.

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

Optional Apify Proxy settings.

## Actor input object example

```json
{
  "publicationTargets": [
    "pragmaticengineer",
    "lennysnewsletter"
  ],
  "scrapePublicationProfiles": true,
  "scrapePosts": true,
  "maxPostsPerPublication": 15,
  "postSortBy": "new",
  "maxSpendUsd": 10,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

Default dataset containing 'substack_publication_lead' and 'substack_post' items.

## `summary` (type: `string`):

Execution statistics and Pay-Per-Event billing summary stored in the default Key-Value Store.

# 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 = {
    "publicationTargets": [
        "pragmaticengineer",
        "lennysnewsletter"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("storeintel/substack-newsletter-leads-posts-scraper").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 = { "publicationTargets": [
        "pragmaticengineer",
        "lennysnewsletter",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("storeintel/substack-newsletter-leads-posts-scraper").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 '{
  "publicationTargets": [
    "pragmaticengineer",
    "lennysnewsletter"
  ]
}' |
apify call storeintel/substack-newsletter-leads-posts-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,storeintel/substack-newsletter-leads-posts-scraper"
        }
    }
}
```

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/dSOldJQGTbikEda10/builds/bolX8uOUrRwSuy7oh/openapi.json
