Substack Scraper avatar

Substack Scraper

Pricing

from $0.70 / 1,000 post scrapeds

Go to Apify Store
Substack Scraper

Substack Scraper

Scrape posts, full text, engagement and newsletter details from any Substack publication, including custom domains. No login needed.

Pricing

from $0.70 / 1,000 post scrapeds

Rating

0.0

(0)

Developer

Solar G

Solar G

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

13 days ago

Last modified

Features

Limited permissions

Share

Scrapes posts and publication details from Substack newsletters, including those on custom domains. No login is required.

For a quick one-off check without an Apify account, a free web version with a small daily limit is available at purfled.com/substack-archive-export.

Input

FieldDescription
publicationsSubdomains (lenny), Substack URLs (https://lenny.substack.com), custom domains (www.lennysnewsletter.com), open.substack.com/pub/<name> links, profile links (substack.com/@lenny) or post links (substack.com/home/post/p-123). A profile link resolves to that writer's own publication. Every input is resolved to the publication's main address (lenny and lenny.substack.com become https://www.lennysnewsletter.com), so publicationUrl is the same however you name it, and a publication given more than once is scraped once. Inputs that are not a valid name or address give an error item straight away.
maxPostsPerPublicationNewest first. Default 50. Set to 0 to return publication records only.
postedAfterOptional. Stop at posts older than this date.
includeContentInclude post text and HTML. Default true.
includePublicationInfoInclude one record per publication. Default true.
{
"publications": ["https://www.lennysnewsletter.com", "astralcodexten"],
"maxPostsPerPublication": 100,
"postedAfter": "2026-01-01"
}

Output

Each item has a type of post, publication or error. An error item has the original input and an error message, for example when a link can't be resolved to a publication or a domain has no public Substack archive. Error items are not charged.

Post

{
"type": "post",
"publicationUrl": "https://www.lennysnewsletter.com",
"id": 219482066,
"title": "How to tell if a startup has a moat",
"subtitle": "A framework for assessing whether the company you're considering joining is built to last",
"url": "https://www.lennysnewsletter.com/p/how-to-tell-if-a-startup-has-a-moat",
"date": "2026-10-13T12:45:41.160Z",
"postType": "newsletter",
"audience": "only_paid",
"isPaywalled": true,
"wordcount": 4153,
"reactionCount": 352,
"commentCount": 2,
"restacks": 18,
"authors": [{ "name": "Dan Hockenmaier", "handle": "danhock", "id": 2607892 }],
"tags": ["Career"],
"coverImage": "https://substackcdn.com/...",
"podcastUrl": null,
"contentText": "...",
"contentHtml": "..."
}

Publication

{
"type": "publication",
"name": "Lenny's Newsletter",
"url": "https://www.lennysnewsletter.com",
"subdomain": "lenny",
"customDomain": "www.lennysnewsletter.com",
"description": "Deeply researched product, growth, and career advice...",
"language": "en",
"hasPaidPlans": true,
"paidPlans": [{ "interval": "month", "amount": 20, "currency": "usd" }],
"rankingDetail": "Tens of thousands of paid subscribers",
"createdAt": "2019-..."
}

API usage

Run the Actor and get results in one request:

curl -X POST "https://api.apify.com/v2/acts/solarg~substack-scraper/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"publications": ["lenny"], "maxPostsPerPublication": 50}'

With the JavaScript client:

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });
const run = await client.actor('solarg/substack-scraper').call({"publications": ["lenny"], "maxPostsPerPublication": 50});
const { items } = await client.dataset(run.defaultDatasetId).listItems();

With Python:

from apify_client import ApifyClient
client = ApifyClient("YOUR_API_TOKEN")
run = client.actor("solarg/substack-scraper").call(run_input={"publications": ["lenny"], "maxPostsPerPublication": 50})
items = client.dataset(run["defaultDatasetId"]).list_items().items

You can also schedule runs in Apify Console and send results to Google Sheets, Slack, webhooks, Zapier, Make or n8n through Apify's integrations.

Pricing

  • $1.00 per 1,000 posts (content included)
  • $0.002 per publication record

These are the Apify Free plan prices. Paid Apify plans pay less per item (down to $0.70 per 1,000 posts on Gold and above). Platform usage is included in the price.

Limitations

  • Paid posts return only the free preview that Substack shows publicly. Paywalled content isn't accessed.
  • Comments are not included.
  • There is no keyword search across Substack; give the publications you want.

Notes

Report problems in the Issues tab.