Substack Newsletter & LLM Markdown Extractor avatar

Substack Newsletter & LLM Markdown Extractor

Pricing

from $2.00 / 1,000 post extracteds

Go to Apify Store
Substack Newsletter & LLM Markdown Extractor

Substack Newsletter & LLM Markdown Extractor

Extract clean, structured Substack newsletter posts, authors, word counts, reading time, audio enclosures, paywall flags, and LLM-ready Markdown directly from public Substack RSS feeds — zero proxies, zero CAPTCHAs.

Pricing

from $2.00 / 1,000 post extracteds

Rating

0.0

(0)

Developer

EdenWood

EdenWood

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

13 hours ago

Last modified

Categories

Features

Limited permissions

Share

Extract clean, structured Substack newsletter posts, authors, publish dates, word counts, reading time estimates, cover images, podcast audio enclosures, paywall flags, and LLM-ready Markdown directly from any public Substack publication or custom domain.

Built for AI/RAG knowledge bases, content researchers, newsletter aggregators, n8n/Make workflows, and MCP AI agents.


Why Choose This Substack Scraper?

  • Clean Markdown for LLMs & RAG: Strips noisy newsletter HTML, tracking pixels, and scripts into clean contentMarkdown and contentPlain with configurable truncation (maxContentChars).
  • Works with Custom Domains, Slugs & Article Links: Paste "https://www.lennysnewsletter.com", "https://newsletter.pragmaticengineer.com", a direct /feed URL, or a bare Substack slug like "lenny" — automatically normalized.
  • Smart Paywall & Podcast Detection: Computes wordCount, readingTimeMinutes, coverImageUrl, audioEnclosureUrl, and isLikelyPaywalled (audio-aware so podcast episodes aren't falsely flagged).
  • Zero Proxies, Zero CAPTCHAs, Sub-Second Speed: Uses public Substack RSS XML feeds directly — extracts 40 posts in under 1 second on 256 MB RAM.

Pay-Per-Event Pricing

  • post-extracted: $2.00 / 1,000 posts ($0.002 per post extracted)
  • apify-actor-start: $0.00005 platform startup fee
  • Automatic cross-feed deduplication before charging and strict adherence to your maxTotalChargeUsd limit.

Input Example

{
"publications": [
"https://www.lennysnewsletter.com",
"https://newsletter.pragmaticengineer.com"
],
"keywords": [],
"publishedAfter": "2026-10-01",
"includeFullContent": true,
"maxContentChars": 25000,
"maxPostsPerPublication": 20,
"maxTotalPosts": 100
}

Output Example

{
"postId": "https://www.lennysnewsletter.com/p/example",
"publicationName": "Lenny's Newsletter",
"publicationUrl": "https://www.lennysnewsletter.com",
"feedUrl": "https://www.lennysnewsletter.com/feed",
"title": "How Top AI Teams Ship Faster",
"subtitle": "Lessons from 50 product leaders",
"author": "Lenny Rachitsky",
"url": "https://www.lennysnewsletter.com/p/example",
"publishedAt": "2026-11-17T18:02:02Z",
"wordCount": 1756,
"readingTimeMinutes": 9,
"isLikelyPaywalled": false,
"coverImageUrl": "https://...",
"audioEnclosureUrl": null,
"contentMarkdown": "## Key Takeaways\n...",
"contentPlain": "Key Takeaways ..."
}

Use via Python API or MCP AI Agents

from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("edenwood.ai/substack-extractor").call(run_input={
"publications": ["https://www.lennysnewsletter.com"],
"maxPostsPerPublication": 10
})
posts = list(client.dataset(run["defaultDatasetId"]).iterate_items())

FAQ

  • How many posts per publication are returned? Public Substack RSS feeds expose up to the 20 most recent posts per publication, ideal for scheduled daily/weekly monitoring and real-time AI newsletter digests.
  • Does it bypass paywalls? No — it strictly extracts publicly published RSS content and sets isLikelyPaywalled: true when a post is a subscriber-only preview.
  • Can I run it on a schedule for an AI digest? Yes — combine Apify Schedules with publishedAfter or deduplication to feed fresh Substack Markdown straight into Notion, Slack, or your vector database.