Substack Newsletter & LLM Markdown Extractor
Pricing
from $2.00 / 1,000 post extracteds
Go to Apify Store
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.
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
contentMarkdownandcontentPlainwith configurable truncation (maxContentChars). - Works with Custom Domains, Slugs & Article Links: Paste
"https://www.lennysnewsletter.com","https://newsletter.pragmaticengineer.com", a direct/feedURL, or a bare Substack slug like"lenny"— automatically normalized. - Smart Paywall & Podcast Detection: Computes
wordCount,readingTimeMinutes,coverImageUrl,audioEnclosureUrl, andisLikelyPaywalled(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.002per post extracted)apify-actor-start:$0.00005platform startup fee- Automatic cross-feed deduplication before charging and strict adherence to your
maxTotalChargeUsdlimit.
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 ApifyClientclient = 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: truewhen a post is a subscriber-only preview. - Can I run it on a schedule for an AI digest? Yes — combine Apify Schedules with
publishedAfteror deduplication to feed fresh Substack Markdown straight into Notion, Slack, or your vector database.