Substack Scraper — Posts, Markdown, Comments & Leaderboards avatar

Substack Scraper — Posts, Markdown, Comments & Leaderboards

Pricing

from $1.00 / 1,000 post metadata

Go to Apify Store
Substack Scraper — Posts, Markdown, Comments & Leaderboards

Substack Scraper — Posts, Markdown, Comments & Leaderboards

Extract Substack posts (clean LLM-ready Markdown & plain text), nested comments, and Bestseller/Rising category leaderboards with custom domain support. Fast pure-HTTP API, no proxies needed, MCP & Clay ready.

Pricing

from $1.00 / 1,000 post metadata

Rating

0.0

(0)

Developer

FENG LI

FENG LI

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 hours ago

Last modified

Features

Limited permissions

Share

Substack Intelligence Scraper — Posts, Clean Markdown, Comments & Leaderboards

Fast, lightweight, no-browser / no-proxy Substack scraper built for AI & RAG pipelines, Clay & n8n lead enrichment, market intelligence, and MCP agents.

Unlike brittle browser scrapers that break on Substack's updated cursor pagination or charge heavy start fees, this Actor speaks directly to Substack's modern public JSON API (nextCursor pagination) across both *.substack.com subdomains and custom domains (e.g., lennysnewsletter.com, blog.bytebytego.com).


Key Capabilities

  1. Publication Archives (publication_posts)
    • Works with Substack handles (stratechery), subdomains, and custom domains (https://www.lennysnewsletter.com).
    • Modern cursor pagination (no HTTP 400 pagination crashes).
    • Supports new and top sorting, publishedAfter date cutoff (with early stop), freeOnly filter, and keyword filtering.
    • Converts raw HTML into clean LLM/RAG-ready Markdown (stripping Substack subscribe widgets and buttons), plain text, reading time, and extracted outbound links.
  2. Direct Post Extraction (post_urls)
    • Pass any list of /p/<slug> URLs to get full clean Markdown, structured metadata, paywall flags, tags, author bios, and optional nested comments.
  3. Bestseller & Rising Category Leaderboards (category_leaderboard)
    • Scrape all 35+ Substack categories (technology, finance, business, culture, crypto, us-politics, sports, food, news, etc.).
    • Outputs Clay / CRM / Sponsorship Outreach ready flat rows: publication name, custom domain, author name & handle, bestseller tier, subscriber magnitude hint, Twitter handle, support email, podcast RSS feed, and description.
  4. Nested Comments & Replies
    • Optionally extract threaded comments with parentCommentId, depth, reactionCount, and isAuthorReply.

Transparent Pay-Per-Event Pricing (No Start Fee)

EventPriceEquivalent per 1,000 items
Leaderboard Publication (publication-leaderboard-item)$0.001$1.00 / 1K
Post Metadata Only (post-metadata)$0.001$1.00 / 1K
Post with Full Clean Markdown & Text (post-full-content)$0.0015$1.50 / 1K
Comment / Reply (comment-item)$0.0005$0.50 / 1K
  • No Actor start fee.
  • Ultra-low platform compute footprint (runs cleanly on 256 MB RAM with pure HTTP requests — no residential proxies required).

Input Examples

1. Scrape Latest Posts with Clean Markdown (for AI / RAG / Newsletter Monitoring)

{
"mode": "publication_posts",
"publications": [
"https://www.lennysnewsletter.com",
"https://blog.bytebytego.com"
],
"sort": "new",
"maxPostsPerPublication": 25,
"publishedAfter": "2026-01-01",
"includeFullContent": true,
"includeComments": false
}

2. Scrape Category Leaderboards (for Clay / n8n B2B Lead Gen & Sponsorships)

{
"mode": "category_leaderboard",
"categories": ["technology", "finance", "business"],
"leaderboardType": "top",
"maxLeaderboardPages": 4
}

3. Extract Specific Posts + Nested Comments

{
"mode": "post_urls",
"postUrls": [
"https://blog.bytebytego.com/p/ep234-docker-vs-kubernetes"
],
"includeFullContent": true,
"includeComments": true,
"maxCommentsPerPost": 100
}

Output Examples

Post Record (recordType: "post")

{
"recordType": "post",
"postId": 225831071,
"publicationBaseUrl": "https://blog.bytebytego.com",
"title": "EP234: Docker vs Kubernetes",
"slug": "ep234-docker-vs-kubernetes",
"url": "https://blog.bytebytego.com/p/ep234-docker-vs-kubernetes",
"postDate": "2026-11-21T16:31:20.162Z",
"audience": "everyone",
"isPaywalled": false,
"authorName": "Alex Xu",
"wordCount": 1257,
"readingTimeMinutes": 6,
"reactionCount": 221,
"commentCount": 4,
"bodyMarkdown": "## Docker vs Kubernetes...",
"bodyText": "Docker vs Kubernetes...",
"outboundLinks": ["https://..."]
}

Leaderboard Record (recordType: "leaderboard_publication")

{
"recordType": "leaderboard_publication",
"categorySlug": "technology",
"categoryName": "Technology",
"leaderboardType": "top",
"rank": 1,
"publicationName": "ByteByteGo Newsletter",
"subdomain": "bytebytego",
"customDomain": "blog.bytebytego.com",
"url": "https://blog.bytebytego.com",
"authorName": "Alex Xu",
"authorHandle": "bytebytego",
"bestsellerTier": 10000,
"subscriberCountHint": "1,000,000+",
"twitterHandle": "alexxubyte"
}

Integrations: MCP (Claude / Cursor), n8n, Make & Clay

  • AI Agents via Apify MCP: Connect directly through https://mcp.apify.com/ so Claude, Cursor, or custom AI agents can fetch clean Substack Markdown articles and leaderboard data on demand.
  • n8n & Make.com: Trigger scheduled runs using the official @apify/n8n-nodes-apify node to monitor competitor newsletters or build automated weekly AI digests.
  • Clay: Run category_leaderboard mode and map customDomain, authorName, twitterHandle, and supportEmail directly into your enrichment table.