Substack Newsletter & Posts Scraper
Pricing
from $1.00 / 1,000 results
Substack Newsletter & Posts Scraper
Substack scraper to extract newsletter publications, full article text, author profiles, subscriber scales, and post metrics from any Substack URL or keyword search. Exports clean CSV, Excel, JSON, or API for AI and lead workflows.
Pricing
from $1.00 / 1,000 results
Rating
0.0
(0)
Developer
Willy Lengkong
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
a day ago
Last modified
Categories
Features
Share
Substack scraper to extract newsletter publications, full article content, author profiles, subscriber scales, and post engagement metrics from any Substack URL or keyword search. Automatically converts rich newsletter posts into clean raw HTML, plain text, and structured Markdown ready for AI/RAG pipelines, exporting results instantly to CSV, Excel, JSON, or via API.
Ways to Use
| Mode | Input Field | What You Get |
|---|---|---|
| Publication Homepage / Archive | startUrls or publications | Scrapes all archive posts (sorted by newest, top, or community) with full metadata and body content. |
| Direct Post / Article URLs | startUrls (https://.../p/...) | Scrapes specific Substack articles with complete HTML, plain text, Markdown, word counts, and reactions. |
| Keyword Discovery Search | searchQueries | Discovers top newsletters matching keywords (e.g. artificial intelligence, fintech, venture capital), including author profiles, subscriber badges, and optionally their recent posts. |
| Custom Domains | startUrls or publications | Fully supports Substack custom domains (e.g. newsletter.pragmaticengineer.com, lennysnewsletter.com, astralcodexten.com). |
Fast vs. Full Article Extraction
| Feature | Fast Metadata Mode (fetchFullArticle = false) | Full Article Mode (fetchFullArticle = true, Default) |
|---|---|---|
| Speed | ⚡ Blazing fast (1 API call per 12 posts) | Fast parallel post hydration |
| Metadata | Title, subtitle, author, date, comments, reactions, cover image | Title, subtitle, author, date, comments, reactions, cover image |
| Body Content | Post summary / excerpt only | Full raw HTML, clean plain text, and structured Markdown |
| Metrics | Comment & reaction counts | Comment count, reaction count, word count, reading time |
| Media & Audio | Cover image | Cover image, embedded images, podcast audio URL |
| Best For | High-volume newsletter indexing & feed tracking | AI knowledge bases, LLM fine-tuning, RAG, and deep research |
Proxy & Run Tips
- Direct Connection (Default): Substack endpoints are publicly accessible. For most standard runs (under 500 articles), you can keep
useApifyProxy: falsefor maximum speed and zero additional proxy cost. - Large Bulk Crawls: When extracting thousands of articles across hundreds of publications, enable Apify Proxy (
useApifyProxy: true) to rotate IP addresses and avoid temporary rate limits. - Concurrency: Default concurrency is set to
4(range1–10). This provides an ideal balance of speed and stability.
Use Cases
- AI, LLM & RAG Knowledge Ingestion: Turn deep-dive essays and industry insights into clean, structured Markdown ready for semantic search, vector databases, or training datasets.
- Newsletter & Creator Competitive Intelligence: Track publication frequency, reader engagement (reactions & comments), and subscriber growth across any niche.
- B2B Lead Generation & Outreach: Extract author names, handles, Twitter usernames, bios, and publication themes to connect with key industry thought leaders.
- Market & Trend Research: Monitor emerging trends across technology, finance, crypto, politics, and culture directly from top independent writers.
Frequently Asked Questions
Does this scraper require a Substack account or login?
No. The scraper operates entirely on publicly accessible Substack publications and posts without requiring any user credentials, cookies, or browser automation.
Does it support custom domains?
Yes. Substack publications hosting on custom domains (e.g. newsletter.pragmaticengineer.com, lennysnewsletter.com) are automatically detected and scraped just like regular *.substack.com subdomains.
How does it handle paid or paywalled posts?
Publicly accessible posts are extracted with their full article content. If a post is paywalled, the scraper extracts all public metadata, author details, preview text, and flags the audience accordingly.
What output formats are available?
Data is exported in standardized Apify dataset formats. You can download your data immediately as JSON, CSV, or Excel, or consume it programmatically via Apify REST API, Python/JavaScript SDKs, or webhook integrations.
Input Parameters
| Field | Type | Default | Description |
|---|---|---|---|
startUrls | Array | ["https://newsletter.pragmaticengineer.com"] | List of Substack publication URLs, archive pages, or specific article links (/p/...). |
publications | Array | [] | List of Substack subdomains (e.g. ["pragmaticengineer"]) or custom domains. |
searchQueries | Array | [] | Keyword queries to discover relevant Substack newsletters (e.g. ["artificial intelligence", "fintech"]). |
sort | String | "new" | Archive post sorting order: "new", "top", or "community". |
maxItems | Integer | 25 | Maximum number of posts or discovered publications to collect per target. |
fetchFullArticle | Boolean | true | Extract full post content in raw HTML, plain text, and structured Markdown ready for AI/RAG. |
scrapePublicationPosts | Boolean | true | Automatically scrape recent posts for newsletters discovered via searchQueries. |
maxPostsPerSearchPub | Integer | 5 | Maximum number of recent posts to scrape per publication found via search. |
maxConcurrency | Integer | 4 | Number of concurrent parallel requests (1 to 10). |
proxyConfiguration | Object | {"useApifyProxy": false} | Apify Proxy configuration. Direct connection works for standard runs. |
Sample Output
Every dataset record adheres to a strict zero-null policy (empty strings, zero numbers, or empty lists instead of null), ensuring seamless downstream database and AI pipeline ingestion.
1. Post Record (recordType: "post")
{"recordType": "post","id": "223203725","url": "https://newsletter.pragmaticengineer.com/p/scaling-slack-and-github-with-maude","title": "Scaling Slack and GitHub with Maude Lemaire","subtitle": "Maude Lemaire shares lessons from scaling Slack and GitHub, improving performance at Cursor, and using AI while keeping engineering judgment in human hands.","description": "Maude Lemaire shares lessons from scaling Slack and GitHub, improving performance at Cursor, and using AI while keeping engineering judgment in human hands.","authorName": "Gergely Orosz","authorHandle": "pragmaticengineer","authorBio": "Big Tech and startups from the inside. Especially relevant for software engineers / AI engineers, useful for anyone working in tech.","authorTwitter": "GergelyOrosz","authorPhotoUrl": "https://substack-post-media.s3.amazonaws.com/public/images/58fed27c-f331-4ff3-ba47-135c5a0be0ba_400x400.png","publicationId": "458709","publicationName": "The Pragmatic Engineer","subdomain": "pragmaticengineer","customDomain": "newsletter.pragmaticengineer.com","hostname": "newsletter.pragmaticengineer.com","rankingDetail": "Tens of thousands of paid subscribers","subscriberCount": "","publishedAt": "2026-11-05T15:58:00.148Z","audience": "everyone","reactionCount": 97,"commentCount": 1,"wordCount": 1399,"readingTimeMinutes": 6,"coverImageUrl": "https://substack-post-media.s3.amazonaws.com/public/images/5cd802b9-eecc-4029-9fa8-3ba97853bb13_1280x720.png","podcastUrl": "https://api.substack.com/api/v1/audio/upload/de5981ba-a5c9-4ace-8938-1e9f700f15d1/src","bodyHtml": "<p><strong>Listen and watch now on <a href=\"https://youtu.be/x6WqD4qHxSc\">YouTube</a>...</strong></p>","bodyText": "Listen and watch now on YouTube, Apple, and Spotify. See the episode transcript at the top of this page...","bodyMarkdown": "**Listen and watch now on [YouTube](https://youtu.be/x6WqD4qHxSc), [Apple](https://podcasts.apple.com)...**","tags": [],"searchQuery": "","position": 1,"scrapedAt": "2026-11-16T12:42:12.301245+00:00"}
2. Publication Record (recordType: "publication")
{"recordType": "publication","id": "569093","url": "https://offthegridxp.substack.com","title": "Artificial Intelligence Learning 🤖🧠🦾","subtitle": "Michael Spencer","description": "I wanted a place to put some Artificial Intelligence definitions, what is, and how-to short articles to complement my A.I. coverage on A.I. Supremacy and A.I. Survey.","authorName": "Michael Spencer","authorHandle": "aisupremacy","authorBio": "Analyst, curator, researcher and emerging tech observer. Obsessed with future topics such as A.I, robotics, quantum computing, startups, investing, and venture capital.","authorTwitter": "","authorPhotoUrl": "https://substackcdn.com/image/fetch/.../75d1bf99-dcf3-4af6-be2a-416c08c954a1_450x450.jpeg","publicationId": "569093","publicationName": "Artificial Intelligence Learning 🤖🧠🦾","subdomain": "offthegridxp","customDomain": "","hostname": "offthegridxp.substack.com","rankingDetail": "Over 5,000 subscribers · Launched 5 years ago","subscriberCount": "Over 5,000 subscribers","publishedAt": "2021-11-15T20:08:43.091Z","audience": "","reactionCount": 0,"commentCount": 0,"wordCount": 0,"readingTimeMinutes": 0,"coverImageUrl": "https://substackcdn.com/image/fetch/.../0bf35ccb-94b4-4eac-a7b3-621a7d4f3198_326x326.png","podcastUrl": "","bodyHtml": "","bodyText": "","bodyMarkdown": "","tags": [],"searchQuery": "artificial intelligence","position": 1,"scrapedAt": "2026-11-16T12:42:15.540219+00:00"}
Pricing & Cost Examples
Ultra-lightweight HTTP-only execution (256 MB default memory, $0.005 start fee + $0.0025 per record on Free tier down to $0.0010 on Gold+ tiers):
| Run Size | Free Plan Estimate | Gold+ Plan Estimate |
|---|---|---|
25 newsletter posts | ~$0.07 | ~$0.03 |
1,000 full-text Markdown posts | ~$2.51 | ~$1.01 |
API & Automation Integration (Python, Node.js, cURL, AI/RAG, n8n, MCP)
Exports zero-null JSON, CSV, and Markdown ready for LangChain / LlamaIndex, n8n, Make, Clay, and Apify MCP.
Python
from apify_client import ApifyClientclient = ApifyClient("<YOUR_APIFY_TOKEN>")run = client.actor("wyle/substack-scraper").call(run_input={"startUrls": [{"url": "https://newsletter.pragmaticengineer.com"}],"maxItems": 25,"fetchFullArticle": True,})posts = list(client.dataset(run["defaultDatasetId"]).iterate_items())print(len(posts), posts[0]["title"], posts[0]["wordCount"])
Node.js
import { ApifyClient } from "apify-client";const client = new ApifyClient({ token: "<YOUR_APIFY_TOKEN>" });const run = await client.actor("wyle/substack-scraper").call({searchQueries: ["artificial intelligence"],maxItems: 20,});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items.length, items[0]);
cURL
curl -X POST "https://api.apify.com/v2/acts/wyle~substack-scraper/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>" \-H "Content-Type: application/json" \-d '{"startUrls":[{"url":"https://newsletter.pragmaticengineer.com"}],"maxItems":25}'
Related Creator & News Suite by wyle
wyle/threads-all-in-one-scraper— Track author posts, replies, and engagement across Meta Threads.wyle/spotify-scraper— Extract creator podcast shows, episodes, and charts without an API key.wyle/google-news-scraper— Monitor breaking industry coverage with decoded publisher URLs.