Substack Publication & Posts Scraper avatar

Substack Publication & Posts Scraper

Pricing

from $0.30 / 1,000 posts

Go to Apify Store
Substack Publication & Posts Scraper

Substack Publication & Posts Scraper

Scrapes any Substack publication's own public JSON archive API — title, author, publish date, paywall status, word count, likes and comments per post, one row per post, with an RSS fallback and optional full article text.

Pricing

from $0.30 / 1,000 posts

Rating

0.0

(0)

Developer

Murat Uzun

Murat Uzun

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

5 days ago

Last modified

Features

Limited permissions

Share

What is Substack Publication & Posts Scraper?

Substack Publication & Posts Scraper is an Apify Actor that reads any Substack publication's own public JSON archive API (<publication>.substack.com/api/v1/archive) — the same endpoint the publication's own archive page calls in your browser — with an RSS-feed fallback for the rare case the API answers something unexpected. Give it a subdomain handle (bariweiss), a full *.substack.com host, or any post/publication URL — including a custom domain a paid Substack has moved to — and it returns one clean row per post: title, author, publish date, paywall status, word count, reactions and comment count, with an option to also pull each post's full article text. No API key, no login, no proxies.

Price: $0.50 per 1,000 posts on the FREE tier, $0.30 per 1,000 at GOLD and above, pay per result. No subscription and no monthly fee; each run adds a $0.00005 start charge.

Why use Substack Publication & Posts Scraper?

  • Media analysts and researchers track a newsletter's output — cadence, word count, paywall mix — across any number of publications in one run.
  • Content and competitive intelligence teams pull a competitor's recent post titles, subtitles and engagement (likes, comments) without opening every post.
  • RAG and archival pipelines turn a publication's back catalog into structured rows, with full article text available via includeBody.
  • Newsletter growth teams measure their own publication's free-vs-paid post mix and engagement over time.
  • Sponsors, investors and competitor watchers schedule a daily run with a monitor store name and see which posts are gaining traction: every row carries likeCountChange and commentCountChange since the previous run, and the run can return only new or moving posts.

Track like and comment changes between runs

Set Track like/comment changes between runs (monitorStoreName, e.g. tech-newsletters) and run the Actor on a schedule. The first run saves a baseline of each post's likes and comments in a key-value store with that name. Every later run adds to each row:

FieldMeaning
isNewSinceLastRuntrue when no earlier run with this store returned the post
likeCountChange, commentCountChangeLikes and comments gained (or lost) since the previous check
previousLikeCount, previousCommentCount, previousCheckAt, hoursSinceLastCheckThe counts and time of that previous check

Rows to return when tracking (monitorOutput): all (default, every post with change fields), newOrChanged (only posts that are new or whose likes/comments moved), or new (only posts not returned before). Skipped posts are not charged, and a run with nothing new ends successfully with 0 rows and costs only the start charge. The run's OUTPUT record lists new, compared and changed posts, the net like/comment change and the 10 posts that gained the most likes. The counts come from the same archive API page, so tracking adds no extra request. Use one store name per list of publications.

{
"publications": ["bariweiss", "platformer"],
"maxPosts": 25,
"monitorStoreName": "tech-newsletters",
"monitorOutput": "newOrChanged"
}

How to use Substack Publication & Posts Scraper

  1. Fill Publications with one or more Substack identifiers — a bare handle (bariweiss), a full subdomain (bariweiss.substack.com), or any post/publication URL, including a custom domain a Substack has moved to.
  2. Set Max posts per publication (default 50) — the Actor pages through the publication's own archive API in batches of 50 until it collects this many posts.
  3. Turn on Include full article text to fetch each post's own page and extract its article body into bodyText (one extra request per post — leave it off for a faster, metadata-only run).
  4. Turn on Free posts only to skip anything marked paywalled and keep only posts anyone can read.
  5. Click Start and export the dataset as JSON, CSV, Excel or HTML from the Output tab.

Example input

{
"publications": ["bariweiss"],
"maxPosts": 50,
"includeBody": false,
"freeOnly": false
}

Example output

{
"publication": "bariweiss",
"publicationName": "The Free Press",
"postId": 215282915,
"title": "The Founder Building an Actual Unicorn. Plus . . .",
"subtitle": "The man fixing San Francisco. Remembering 'Band of Brothers.' Suzy Weiss takes on Hunter Biden's meme coin. And more!",
"slug": "the-founder-building-an-actual-unicorn",
"url": "https://www.thefp.com/p/the-founder-building-an-actual-unicorn",
"publishedAt": "2026-09-12T10:01:48.809Z",
"author": "The Free Press",
"isPaywalled": false,
"type": "newsletter",
"description": "In today's Weekend Press: the founder building a unicorn...",
"coverImage": "https://substack-post-media.s3.amazonaws.com/public/images/6ba5f918.jpeg",
"wordCount": 1050,
"likeCount": 68,
"commentCount": 12,
"bodyText": null,
"scrapedAt": "2026-09-13T20:45:27.640Z"
}

Data table

Substack Publication & Posts Scraper extracts up to 18 fields per row:

FieldTypeDescription
publication, publicationNamestringThe identifier scraped and the publication's display name
postId, title, subtitle, slugnumber, stringInternal post id, title, subtitle/dek and URL slug (postId/subtitle are null via the RSS fallback)
url, publishedAt, authorstringCanonical post URL, publish time (ISO 8601 UTC) and byline(s)
isPaywalled, typeboolean, stringWhether the post is subscriber-only, and its type (newsletter, podcast, thread)
description, coverImagestringShort excerpt and the post's cover image, when it has one
wordCount, likeCount, commentCountnumberApproximate word count, total reactions and total comments (likes/comments are null via the RSS fallback)
bodyTextstringFull article text, only populated when includeBody is on
isNewSinceLastRun, likeCountChange, commentCountChange, previousLikeCount, previousCommentCount, previousCheckAt, hoursSinceLastCheckboolean, number, stringChange since the previous run with the same monitorStoreName; null without a store
scrapedAtstringWhen the row was scraped (ISO 8601 UTC)

Input parameters

ParameterTypeDefaultDescription
publicationsarray["bariweiss"]Subdomain handles, *.substack.com hosts or any post/publication URL
maxPostsinteger50Max recent posts to collect per publication (1-1000)
includeBodybooleanfalseFetch each post's page and extract its full article text
freeOnlybooleanfalseSkip posts marked paywalled/subscriber-only
maxConcurrencyinteger3Publications scraped in parallel (1-20)
monitorStoreNamestring—Key-value store name that remembers each post's likes/comments; adds change fields to later runs
monitorOutputstringallWith a store: all, newOrChanged or new rows (skipped posts are not charged)

Error messages

A publication that fails is not written to the dataset and not charged. It is listed in the run's ERRORS key-value record and in OUTPUT.errors as {publication, error, errorCode}, and the other publications in the run continue.

error textMeaning
Could not parse a Substack publication from this inputThe entry is not a handle, a *.substack.com host or a publication URL
Publication not found: <handle>The archive API and the RSS feed both answered 404 or 410
Publication unreadable: <archive error>; RSS: <feed error>Both sources failed, often a temporary block or outage; retry later
No posts matched (freeOnly may have filtered everything out)The publication has posts, but freeOnly removed all of them
No new or changed posts since the last run (status message)monitorOutput skipped every post; the run succeeds with 0 rows and no result charge
monitorOutput "new" needs monitorStoreName (status message)A filtering monitorOutput was set without a store name; nothing is fetched or charged

Every run also writes an OUTPUT record with a machine-readable errorCode, the per-publication errors (each with its own code) and timeLimitedPublications:

errorCodeMeaningRun status
OKEvery publication returned postsSucceeded
PARTIALSome publications returned posts, others failed (see errors and the ERRORS record; failed publications are not charged)Succeeded
TIME_LIMITThe run timeout was close, so the Actor stopped starting publications, archive pages or article-text requests and kept what it had; raise the timeout for the restSucceeded
NO_RESULTSPublication not found, freeOnly removed every post, or nothing new since the last runSucceeded, no result charge
INVALID_INPUTThe input could not be used (bad handle, bad store name, monitorOutput without a store)Succeeded, nothing fetched or charged
CHARGE_LIMITMaximum cost per run leaves no budget for one rowSucceeded, nothing fetched
SOURCE_FAILEDSubstack could not be read for any publication (block, outage)Failed, no result charge

Pricing

Substack Publication & Posts Scraper uses pay-per-event pricing: $0.0005 per post row on the FREE tier ($0.0003 at GOLD and above), plus a $0.00005 actor-start charge per run. Reading the latest 50 posts from one publication costs about two and a half cents on the FREE tier; ten publications at 100 posts each (1,000 rows) costs about fifty cents on the FREE tier and about thirty cents at GOLD. Turning on includeBody adds one lightweight request per post but does not change the per-row price. Set Maximum cost per run and the Actor trims the work to what the budget covers instead of overspending.

What the rows contain

Each row is one post from the publication's archive API: post id, title, subtitle, slug, canonical URL, publish date, author, paywall flag (isPaywalled, from Substack's audience field), type, description, cover image, word count, reaction and comment counts. Full article text is added only with includeBody. If the archive API is unavailable, the Actor uses the publication's RSS feed; those rows leave postId, subtitle, isPaywalled, likeCount and commentCount empty, and the run log says so.

Using Substack Publication & Posts Scraper with AI agents and MCP

Substack Publication & Posts Scraper is pay-per-event with limited permissions — the two requirements for an Actor to be callable through the Apify MCP server at mcp.apify.com. An agent passes a publications list and gets structured post rows back, ready to summarise a newsletter's recent output, check whether a new post since a given date was free or paywalled, or pull full article text for a downstream summarisation step.

FAQ

Does this need a Substack account or API key? No. It reads <publication>/api/v1/archive, the same public JSON endpoint a browser loads when you open a publication's own archive page — no login, no key.

What if the publication moved to a custom domain? Give it the custom domain directly (https://www.thefp.com or any post URL on it) and the Actor queries that domain's own archive API. A bariweiss-style handle still works too — Substack's own redirect from bariweiss.substack.com resolves to the custom domain transparently.

When does the RSS fallback kick in, and what's different about it? Only when the archive API itself answers something other than valid JSON (rare). RSS-sourced rows have no numeric postId, subtitle, likeCount or commentCount (RSS does not carry them) and isPaywalled stays null, since RSS gives no reliable paywall signal. The Actor logs when this happens.

Why is bodyText null even though I turned on includeBody? A request to the post's own page failed, or the post is fully paywalled and Substack renders no readable preview text for it.

How accurate is isPaywalled? From the archive API it reflects Substack's own audience field (everyone vs. restricted) and is reliable. It is only null when the RSS fallback was used and the signal is unavailable.

How do I see which posts are gaining likes? Set monitorStoreName and schedule the Actor (daily works well). From the second run on, sort by likeCountChange, or read the topMovers list in the run's OUTPUT record. With monitorOutput: "newOrChanged" you pay only for posts that are new or moved.

What happens if my run timeout is short? The Actor reads ACTOR_TIMEOUT_AT and stops starting new publications, archive pages and article-text requests shortly before it (about 10 s, at most half of a short run), so the rows it already read, the monitor snapshot and OUTPUT are always saved. The first publication always runs. The run then ends with errorCode: "TIME_LIMIT" and lists the skipped publications in timeLimitedPublications; skipped publications are not charged.

Is this legal to run? Yes. <publication>/api/v1/archive and <publication>/feed are public, unauthenticated endpoints a Substack publication's own pages call client-side for anyone visiting them; no login wall is bypassed.

Code examples

JavaScript (apify-client):

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: '<APIFY_TOKEN>' });
const run = await client.actor('webdatatools/substack-scraper').call({ publications: ['bariweiss'], maxPosts: 10 });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.map((post) => `${post.publishedAt} ${post.title}`));

Python (apify-client):

from apify_client import ApifyClient
client = ApifyClient("<APIFY_TOKEN>")
run = client.actor("webdatatools/substack-scraper").call(run_input={"publications": ["bariweiss"], "maxPosts": 10})
items = client.dataset(run["defaultDatasetId"]).list_items().items
print([post["title"] for post in items])

Apify CLI:

$apify call webdatatools/substack-scraper --input='{"publications": ["bariweiss"], "maxPosts": 10}'

Part of the webdatatools web-intelligence suite — every Actor is pay-per-event, reads public data without a login, and returns one clean row per entity:

Browse the whole suite at webdatatools, or call ten of these Actors straight from Claude, Cursor or Cline with the webdatatools MCP server.

Website & domain intelligence

Content for AI, LLMs and RAG

Search, video and social

Leads, jobs and company data

Developer, app and research data

Support and feedback

Found a publication layout or edge case it should handle better? Open an issue on the Issues tab.

If the scraper saved you time, please leave a short review on the Actor's Store page: it helps other Substack researchers find it.