Substack API
substack.com
Substack — search posts, get trending content, browse publication archives, fetch full post content, list all categories.
- Actions
- 5
- Category
- Content
- Login
- Not required
- Output
- JSON
Call the Substack API
Submit a task, then poll the job until it settles. This example runs sb_search.
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_search",
"params": {
"query": "<query>"
}
}'5 actions on substack.com
Read
Search Substack
sb_searchread1 credit / callSearch Substack posts by keywords. Returns posts with title, author, publication, reactions, comments, and restacks.
- query
- string · required
Substack Categories
sb_categoriesread1 credit / callList all Substack categories and subcategories with names, slugs, emojis, and descriptions.
Substack Post Details
sb_post_detailsread1 credit / callFetch full post content by subdomain and slug — body HTML, plain text, word count, reactions, comments, podcast info, navigation.
- subdomain
- string · required
- slug
- string · required
Substack Publication Posts
sb_publication_postsread1 credit / callGet posts from a specific Substack publication by subdomain. Returns title, slug, reactions, comments, and author info.
- subdomain
- string · required
- limit
- integer
- offset
- integer
Substack Trending
sb_trendingread1 credit / callGet currently trending posts across all of Substack 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.