Try it
Run a live Substack request
One real call, no signup and no key. Type a publication and read the posts JSON we hand back.
Endpoint & Pricing
One Endpoint, Five Price Tiers
One call is one page of up to 25 posts. The rate falls as your deposit tier rises; there is no monthly plan.
Substack Posts
GET /api/substack/posts—publicationrequired- A Substack name, a substack.com address or a domain
- Newest or most popular first, with paging
- 25 posts a call, $0.148 per 1,000 posts at a full page
Pay as you go, no subscription. Growth takes one qualifying $100 deposit, Scale $500, Enterprise $1,000 and Enterprise Plus $1,250 for new credit. The deposit is spendable balance rather than a fee; existing credit keeps its original schedule. Refunded or charged-back amounts don’t count toward your tier. Every account starts with 10 free API calls, shared across all endpoints, and this endpoint can spend them.
Quick Start
A Publication’s Posts in One Request
One header and a query string. The answer is a flat object, so a like count or a paid flag is a single field read away.
# Default: the newest 25 posts, from a custom domain. curl -G "https://apiserpent.com/api/substack/posts" \ --data-urlencode "publication=www.astralcodexten.com" \ -H "X-API-Key: sk_live_your_api_key" # The most popular posts of a substack.com publication. curl -G "https://apiserpent.com/api/substack/posts" \ --data-urlencode "publication=astralcodexten" \ --data-urlencode "sort=top" \ -H "X-API-Key: sk_live_your_api_key" # The next 25: pass next_cursor from the last answer, with the same sort. curl -G "https://apiserpent.com/api/substack/posts" \ --data-urlencode "publication=astralcodexten" \ --data-urlencode "sort=top" \ --data-urlencode "cursor=NEXT_CURSOR_FROM_THE_LAST_ANSWER" \ -H "X-API-Key: sk_live_your_api_key"
import json import urllib.parse import urllib.request API_KEY = "sk_live_your_api_key" BASE = "https://apiserpent.com/api/substack/posts" def get_posts(publication, sort="new", cursor=None): params = {"publication": publication, "sort": sort} if cursor: params["cursor"] = cursor req = urllib.request.Request( BASE + "?" + urllib.parse.urlencode(params), headers={"X-API-Key": API_KEY}, ) with urllib.request.urlopen(req, timeout=60) as resp: return json.load(resp) data = get_posts("www.astralcodexten.com") if not data["posts"]: print("No posts came back for this publication") else: print(data["publication"], data["sort"], "-", len(data["posts"]), "posts in this answer") for p in data["posts"][:4]: print(p["published_at"][:10], f'{p["likes"]:>4} likes {p["comments"]:>4} comments', p["title"])
(async () => { const base = 'https://apiserpent.com/api/substack/posts'; const headers = { 'X-API-Key': 'sk_live_your_api_key' }; const params = new URLSearchParams({ publication: 'www.slowboring.com', sort: 'new' }); const data = await (await fetch(`${base}?${params}`, { headers })).json(); const paid = data.posts.filter((p) => p.audience !== 'everyone'); console.log(data.publication, '-', data.posts.length, 'posts,', paid.length, 'not open to everyone'); const p = paid[0]; if (!p) return; console.log(p.title); console.log(' audience:', p.audience, '| words:', p.word_count, '| likes:', p.likes, '| comments:', p.comments); console.log(' excerpt :', p.excerpt.length, 'characters -', p.excerpt.slice(0, 90) + '...'); console.log(' authors :', p.authors.map((a) => `${a.name} (@${a.handle})`).join(', ')); })();
{
"success": true,
"publication": "www.slowboring.com",
"sort": "new",
"posts": [
{
"id": 225727492,
"title": "Live podcast — and a discount!",
"subtitle": "Jerusalem and I are doing our very first live edition of The Argument, and we’re offering paid subscribers a discount on tickets.",
"url": "https://www.slowboring.com/p/live-podcast-and-a-discount",
"published_at": "2026-11-20T16:03:07.906Z",
"audience": "only_paid",
"type": "newsletter",
"word_count": 170,
"likes": 26,
"comments": 7,
"restacks": 3,
"reactions": [
{
"emoji": "❤",
"count": 26
}
],
"cover_image": "https://substackcdn.com/image/fetch/$s_!GD2G!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F175e5585-45a0-4de2-9021-523a78e65148_1456x971.png",
"authors": [
{
"name": "Matthew Yglesias",
"handle": "matthewyglesias"
}
],
"excerpt": "Join me and my co-host Jerusalem Demsas for the very first live edition of our podcast!",
"section": null,
"tags": []
},
{
"id": 225490768,
"title": "The health insurance premium fix that everyone hates",
"subtitle": "Plus dad books, future stars, Flock cameras, and more",
"url": "https://www.slowboring.com/p/the-health-insurance-premium-fix",
"published_at": "2026-11-20T11:01:58.655Z",
"audience": "only_paid",
"type": "newsletter",
"word_count": 3194,
"likes": 171,
"comments": 539,
"restacks": 14,
"reactions": [
{
"emoji": "❤",
"count": 171
}
],
"cover_image": "https://substackcdn.com/image/fetch/$s_!b_VO!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fec852efd-ef2a-4617-8c70-3d344671bf17_3104x2072.jpeg",
"authors": [
{
"name": "Matthew Yglesias",
"handle": "matthewyglesias"
}
],
"excerpt": "I was at the YIMBYtown conference for much of this week, and it was a great opportunity to meet, hear from, and talk to tons of people who are doing housing-supply work in state and local government. There are so many different things happening in so many different places at this point that it’s challenging to say anything fully general — the dynamics in the state legislature in Montana are very different than the dynamics in New York, and the local politics in Raleigh are very different from the local politics in Los Angeles.",
"section": null,
"tags": [
"Mailbag"
]
}
],
"next_cursor": "..."
}
The sample is a real answer recorded on 22 November 2026, trimmed to two of its 25 posts; counts move all the time, so your results will differ. The first post is paid, so it carries its public excerpt and no paid text. The response shape is the same on every call, and a value a post does not have is null or an empty list.
Parameters & Fields
Every Parameter and Field
Three request parameters and seventeen post fields, named the same on every call.
Request Parameters
- publication (required): name, substack.com address or domain
- sort: new (default) or top
- cursor: next_cursor of the last answer, same sort
- header: X-API-Key
Response Fields
- publication, sort, next_cursor
- posts[]: up to 25 a call
- id, title, subtitle, url, published_at
- audience, type, section, tags, word_count
- likes, comments, restacks, reactions
- cover_image, authors[], excerpt
A name or a domain
The publication parameter takes the Substack name, such as astralcodexten, its substack.com address or the publication’s own domain. The answer’s publication repeats the address you asked for.
Free, paid and in between
audience says who can read a post: everyone, only_paid, only_subscribers or founding. In two saved answers, none of 25 posts was paid at one newsletter and 21 of 25 at another.
Pages and order. One call returns up to 25 posts. next_cursor holds the key to the following page, and an empty value means the last page. Pass it back as cursor with the same sort. Dates are UTC, type is newsletter, podcast, thread or restack, and a paid post returns its public excerpt and never its paid text.
Why a Substack API
What is a Substack API, and why teams use it
A newsletter shows its posts one page at a time. An API puts the same list, with its counts, in your code.
Reach beside every post
Each post carries its likes, comments, restacks and emoji reactions, so which posts readers answer is a sort, not a reading session.
Any public newsletter
Send a name or a domain to read that publication’s posts, yours or a rival’s. The answer repeats the publication and sort you asked for.
Newest for alerts, top for history
Poll the newest posts to see what went out, and read the top posts to learn what a newsletter is known for, with word counts and audience flags on every one.
One shape for every publication
The same seventeen fields come back for every newsletter, in the same order, so one parser covers a whole watch list.
Serpent is not affiliated with or endorsed by Substack.
Price comparison
What Substack Post Data Costs, Everywhere
The entry price for Substack posts at each seller we compared, in the unit each one charges, with what it takes to get it.
| Provider | Unit charged | Entry price per 1,000 | What the entry price requires | Free tier |
|---|---|---|---|---|
| Serpent | per call, up to 25 posts | $3.70/1K calls | Pay as you go, no subscription. $0.148 per 1,000 posts at a full page. Down to $0.70/1K calls on the Enterprise Plus tier, $1,250 deposit that stays as spendable balance. | 10 free API calls |
| Apify sourabhbgp | per result (a post) | $0.30/1K posts | An Apify actor, run as a job. Flat at every plan, plus $0.00005 a run. 57 monthly users on the Apify store. | Not captured |
| Apify automation-lab | per post (metadata) | $1.15/1K posts | Free-tier price, plus $0.005 a run. $0.28 at its top tier. 189 monthly users on the Apify store. | Not captured |
| Bright Data | per page load | $1.50/1K page loads | Pay as you go. Scale plan: $499 a month with 383,000 page loads, then $1.30/1K. Posts per load not stated. | 5,000 page loads |
| Apify fatihtahta | per result | $2.50/1K posts | Free-tier price; $1.99 on paid tiers. 50 monthly users on the Apify store. | Not captured |
| ScrapingBee | per credit, page fetches | $0.253/1K credits | Hobby plan, $19 a month for 75,000 credits. Returns a page, not a list of posts; its page states no price per post. | 1,000 credits |
On public prices read on 23 November 2026, Serpent API has the cheapest Substack posts API among sellers with 50 or more monthly users: $0.148 per 1,000 posts at a full page, which is $3.70 per 1,000 calls of up to 25 posts. The cheapest counted Apify actor lists $0.30 per 1,000 posts, and the lowest volume price we found is $0.28. A million posts at full pages is $148.00, and $28.00 on the top tier.
Prices read 23 November 2026. Entry price means the smallest price each seller publishes without a call to sales; the deposit tiers on this page take the rate to $0.70 per 1,000 calls. A call that returns fewer than 25 posts costs more per post. Small Apify actors with fewer than 50 monthly users are not counted, and some list lower prices. Credit-based plans are converted at the credits each request uses on the seller’s own page. The cheapest-Substack-API guide lists every plan and the other Apify actors. Sellers that do not publish a price are left out.
Use cases
What Teams Build With Substack Data
Four jobs that account for most newsletter pulls, and the fields each one leans on.
Newsletter research
Work out how often a newsletter publishes, how much is paid and which posts readers answer, from published_at, audience and the three counts.
Sponsor screening
Rank a list of newsletters by cadence and reaction before you buy a slot, and keep the table with its date so the choice can be checked later.
Content monitoring
Read the newest posts of the publications you follow every day, keep the id values you have seen and read the excerpt of the new ones.
Competitor tracking
Compare your own newsletter with two or three similar ones by posts a week, word count and likes, and watch the top sort for what each is known for.
Tested on fixed requests
Measured on 56 Publications
We drew the test set before we measured anything, so the results reflect what people actually look for.
46 of 56 publications returned posts, 42 of the 56 a full 25. The set had 30 large or paid-heavy publications, 6 mid-size or small ones, 16 in Spanish, German, French or Portuguese and 4 that should fail. The 46 that returned posts gave 1,075 between them, 23.4 a call. Of the other ten, four were deliberate failures (two subdomains that do not exist, a publication that left Substack and a site that was never on it) and six did not return posts from the address given. The median answered call took about 1.7 seconds and the slowest 2.7 seconds.
Fixed set of 56 publications chosen before measuring, run 22 November 2026. It covers the data read, not the deployed endpoint. The median is the time of the answered call.
FAQ
Substack API Questions
Start using the Substack API
10 free API calls, shared across every free-eligible endpoint. No card, no subscription, no monthly plan. $3.70 per 1,000 calls.
Try for Free






