Substack API
substack.com
Substack - post search, trending content, publication archives, full posts, and categories.
- Actions
- 5
- Category
- News Media
- Login
- Not required
- Output
- JSON
Call the Substack API
Submit a task, then poll the job until it settles. This example runs sb_post_details.
curl -X POST https://api.anakin.io/v1/wire/task \
-H "X-API-Key: $ANAKIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action_id": "sb_post_details",
"params": {
"subdomain": "aaronparnas",
"slug": "breaking-news-im-a-dad"
}
}'5 actions on substack.com
Read
Post Details
sb_post_detailsread1 credit / callReturns full post content by subdomain and slug including body, reactions, comments, and podcast info.
- subdomain
- string · required
- slug
- string · required
Post Search
sb_searchread1 credit / callReturns posts by keyword with title, author, publication, reactions, comments, and restacks.
- query
- string · required
Publication Posts
sb_publication_postsread1 credit / callReturns posts from a publication by subdomain with title, slug, reactions, comments, and author.
- subdomain
- string · required
- limit
- integer
- offset
- integer
Substack Categories
sb_categoriesread1 credit / callReturns all categories and subcategories with names, slugs, emojis, and descriptions.
Trending Posts
sb_trendingread1 credit / callReturns currently trending posts with reactions, comments, word count, and author info.
- limit
- integer
Substack API questions
- Is there an API for Substack?
- Substack does not offer a public data API for this, but Anakin Wire provides 5 maintained endpoints for substack.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
- How do I scrape Substack data?
- POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when substack.com changes its markup, Anakin updates the action.
- Do I need a Substack account?
- No. Every Substack action listed here runs anonymously — no account and no credentials required.
- What does the Substack API cost?
- Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.
More News Media APIs
7x7
Bay Area news site - local events, article listings, and city guides.
9to5Google
Google and Android news - article details, category archives, and reviews.
ABC News (Australia)
Australian ABC News - article details, topic listings, live blogs, and recommendations.
Al Jazeera
English-language news - latest articles, sections, keyword search, and journalists.
AllSides
News with media bias ratings - headline roundups, story details, and topic browse.
AnandTech
Hardware reviews - benchmarks, articles, and community forums for PC components.