Substack API

Read Substack publications, articles, comments, author profiles and Notes as JSON with one EveryInfra API key, from $1.39 per 1,000 calls.

All you need is one API key, no Substack account or cookie. It also works as an MCP tool in Claude and Cursor. Star our two GitHub repositories to claim $1 in trial credit and try it first. The credit is valid for 24 hours after you claim it.

  • 7 endpoints, one key.
  • Failed calls and empty results are not charged.
  • A publication homepage lists articles. An article /p/ link reads one article and its comments.

Real sample values for one publication homepage

POST /api/v1/social params {"url":"https://astralcodexten.substack.com"}

Real sample calls for one publication homepage, captured September 26, 2026 (UTC). Each box links to its endpoint page.

Platform availability

24h health
Normal
Normal

Last 30 days

Available capabilities

Search Substack publications, posts, comments and notes to retrieve author details, engagement counts and subscriber data.

Publication URLs need a handle that can be read from the URL. Custom domains are not always recognized.

Publications

  • SearchNormal

    Discover Substack newsletters that match a keyword, with each publication's name, handle, custom domain, language, author and top posts.

    search$1.39 per 1,000 callsEvery 10 rows count as one call

  • Look up a Substack publication from its homepage link and get its name, handle, custom domain, language, author, top posts and subscriber count when disclosed.

    publication$1.39 per 1,000 calls

  • List posts from a Substack publication.

    publication_posts$1.39 per 1,000 callsEvery 10 rows count as one call

Articles and comments

  • Read a single Substack post from its /p/ link.

    post$1.39 per 1,000 calls

  • CommentsNormal

    Pull the comments under a Substack post.

    comments$1.39 per 1,000 callsEvery 20 rows count as one call

Authors and Notes

  • ProfilesNormal

    Find a Substack writer's profile from their handle.

    profile$1.39 per 1,000 calls

  • NotesNormal

    Collect a Substack writer's Notes, the short posts kept apart from newsletters, with text, kind, likes and publish time for each.

    notes$1.39 per 1,000 callsEvery 25 rows count as one call

5 questions to ask before choosing a data API for Substack

Do I need to log in to Substack or provide a cookie to make calls?

No. Send Authorization: Bearer with your API key in the request header, and put platform, action and the capability parameters in the request body. There is no QR-code login, no login state to maintain and no browser to run.

How is it billed? Are failed requests charged? Is there a free trial?

Billing is per request, $1.39 per 1,000 requests. Failed requests, empty results, invalid parameters and authentication failures are not charged. Star both everyinfra/everyinfra-agent-plugins and everyinfra/seo-skills on GitHub, then claim $1 under Balance & top-ups in the console. It is valid for 24 hours after you claim it, and no credit card is needed.

Can I connect this Substack API to Claude or Cursor?

Yes. The remote MCP URL is https://api.everyinfra.com/mcp. Add Authorization: Bearer and your API key as a request header; there is no local program to install. Setup for Claude, Cursor, ChatGPT and Claude Code is on https://everyinfra.com/en/mcp-server. An agent can search Substack content, read comments and look up accounts on its own.

What compliance points apply when using Substack data?

The EveryInfra Terms of Service require you to make sure your use of the data complies with applicable law and the platform's terms. They prohibit unlawful use, violating privacy or intellectual property, and bulk scraping for harassment, fraud or other malicious purposes. If you use personal information such as nicknames and avatars, keep only the fields your business needs.

What Substack data can I get?

Available Substack capabilities (7): Search, Publication, Publication posts, Post details, Comments, Profiles, Notes. The parameters and response fields of each capability are in the API reference on this page.

Use cases

  • Research the newsletters in a field

    Search publications by topic word, read their profiles and the articles they posted, and compare topics and posting rhythm.

    Usessearchpublicationpublication_posts

  • Read articles and reader feedback

    Read an article's title, audience and engagement counts, then read the comments under it.

    Usespostcomments

  • Follow an author

    Read an author's profile and publications by handle, then read the Notes they post and the articles they restack.

    Usesprofilenotes

Substack Help Center vs EveryInfra

These endpoints read publications, articles, comments, author profiles and Notes that anyone can see. The Help Center article "How can I publish on Substack?" explains how account owners publish and manage their own content, so the platform page has no comparison rows.

ComparedSubstack Help CenterEveryInfra

Each endpoint page says which part of that article relates to it. Official sources:

What does each Substack action accept?

Parameter table for all 7 actions

Sync delivery for every action.

ActionRequiredOptionalLimitPer 1,000Response fields
search

Search

Discover Substack newsletters that match a keyword, with each publication's name, handle, custom domain, language, author and top posts. It matches publications rather than the text of posts, and a null subscriber count means hidden, not zero.

keyword—Catalog values: defaultLimit=10, maxLimit=30. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.$1.39 per 1,000 requestsEvery 10 rows count as one callid · handle · name · url · custom_domain · bio · language · subscriber_count · payments_enabled · avatar_url · cover_url · platform · author_name · author_username · top_posts
publication

Publication

Look up a Substack publication from its homepage link and get its name, handle, custom domain, language, author, top posts and subscriber count when disclosed. The link needs a recognizable Substack handle, since custom domains may not parse, and nothing comes from the author's dashboard.

url——$1.39 per 1,000 requestsid · handle · name · url · custom_domain · bio · language · subscriber_count · payments_enabled · avatar_url · cover_url · platform · author_name · author_username · top_posts
publication_posts

Publication posts

List posts from a Substack publication. Each post has title, subtitle, author, likes, comments, word count, reading time and paid status. Narrow by format with content_type or by date with since and until. Paywalled text stays locked, and one batch may not cover the whole archive.

urlcontent_type, since, untilCatalog values: defaultLimit=10, maxLimit=30. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.$1.39 per 1,000 requestsEvery 10 rows count as one callid · url · title · subtitle · text · author_name · author_username · publication_name · publication_handle · publication_url · like_count · comment_count · repost_count · word_count · reading_time_minutes · post_type · audience · is_paid · podcast_url · image_url · posted_at · updated_at · tags · platform
post

Post details

Read a single Substack post from its /p/ link. Get title, subtitle, body text, author, publication, engagement counts and whether it is paid content. Paywalled text is not unlocked. Comments come from the separate comments action.

url——$1.39 per 1,000 requestsid · url · title · subtitle · text · author_name · author_username · publication_name · publication_handle · publication_url · like_count · comment_count · repost_count · word_count · reading_time_minutes · post_type · audience · is_paid · podcast_url · image_url · posted_at · updated_at · tags · platform
comments

Comments

Pull the comments under a Substack post. Get author, likes, reply count, and flags for replies, pinned comments and remarks by the post's own author. Pass the post's /p/ link. The batch may not hold the whole conversation.

url—Catalog values: defaultLimit=20, maxLimit=100. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.$1.39 per 1,000 requestsEvery 20 rows count as one callid · text · author_name · author_username · like_count · reply_count · reply_to_id · is_reply · is_pinned · is_author · posted_at · platform
profile

Profiles

Find a Substack writer's profile from their handle. Get display name, bio, avatar, linked Twitter username and the publications tied to the account. It accepts a plain handle, an @handle or a substack.com/@ link. It describes the person, not a publication, and shows no subscription data.

username——$1.39 per 1,000 requestsuser_id · username · display_name · bio · avatar_url · twitter_username · platform · publications
notes

Notes

Collect a Substack writer's Notes, the short posts kept apart from newsletters, with text, kind, likes and publish time for each. It lists one writer's Notes only, not a sitewide search, and may not reach the full history.

username—Catalog values: defaultLimit=25, maxLimit=200. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.$1.39 per 1,000 requestsEvery 25 rows count as one callid · kind · text · author_username · author_name · like_count · posted_at · platform · restacked_post · attachment_urls
What each action's parameters mean (7 actions)

Each answer below pairs one callable action with its real inputs. Parameter meanings and allowed values are action-specific; a familiar name does not carry the same meaning across every platform.

Official sources are linked only to clarify the platform term beside them. They do not imply platform authorization or endorsement, and features of the official site are not part of the EveryInfra API unless this page lists them.

What do the Substack search parameters mean?

Discover Substack newsletters that match a keyword, with each publication's name, handle, custom domain, language, author and top posts. It matches publications rather than the text of posts, and a null subscriber count means hidden, not zero.

Full API reference: parameters, code samples, response example and health
keywordRequired
Specifies the discovery query string for locating Substack newsletters and publications. It does not perform full-text searches across post bodies.
Substack: Separation of Profiles, Publication Sites, and Dashboard Data — Substack documents public Profiles, publication websites, and the publisher dashboard separately. Search on this page discovers publication profiles only; official dashboard reader management and revenue statistics do not mean this interface can retrieve those analytics. · Checked

What do the Substack publication parameters mean?

Look up a Substack publication from its homepage link and get its name, handle, custom domain, language, author, top posts and subscriber count when disclosed. The link needs a recognizable Substack handle, since custom domains may not parse, and nothing comes from the author's dashboard.

Full API reference: parameters, code samples, response example and health
urlRequired
Specifies the target Substack resource link. Use publication homepages for publication and publication_posts, or direct /p/ post links for post and comments. The publication action requires a URL containing a recognizable Substack handle (custom domains may not parse), whereas publication_posts accepts custom domain links directly.
Substack: Author Pages and Publication Sites Are Distinct Address Objects — A Substack author handle maps to substack.com/@handle, whereas publication websites can use subdomain.substack.com. This reference verifies object and address distinctions; custom domain resolution capabilities remain strictly bound by the parameter rules of the corresponding action on this page. · Checked

What do the Substack publication_posts parameters mean?

List posts from a Substack publication. Each post has title, subtitle, author, likes, comments, word count, reading time and paid status. Narrow by format with content_type or by date with since and until. Paywalled text stays locked, and one batch may not cover the whole archive.

Full API reference: parameters, code samples, response example and health
urlRequired
Specifies the target Substack resource link. Use publication homepages for publication and publication_posts, or direct /p/ post links for post and comments. The publication action requires a URL containing a recognizable Substack handle (custom domains may not parse), whereas publication_posts accepts custom domain links directly.
content_typeOptional
Filters publication posts by content format using all_types, newsletter_posts_only, podcast_episodes_only, or threads_only. Field presence must be verified against specific post links, and setting this value does not unlock paywalled content.
Allowed values:all_typesnewsletter_posts_onlypodcast_episodes_onlythreads_only
Substack: Article, Audio, and Video Formats vs. Content Permissions — Substack categorizes text, audio, and video posts as distinct content formats and maintains a strict separation between public materials and private articles. The `content_type` parameter on this page uses its own allowed values, which do not add video types or guarantee that filtering and retrieval are verified across every execution path. · Checked
sinceOptional
Specifies the start date string for filtering posts or activity feeds within a date range. Its presence in shared profile or publication parameters does not enable account creation date filtering.
untilOptional
Specifies the end date string for filtering posts or activity feeds alongside since. This parameter does not represent subscription expiration dates or trigger complete historical archive exports.

What do the Substack post parameters mean?

Read a single Substack post from its /p/ link. Get title, subtitle, body text, author, publication, engagement counts and whether it is paid content. Paywalled text is not unlocked. Comments come from the separate comments action.

Full API reference: parameters, code samples, response example and health
urlRequired
Specifies the target Substack resource link. Use publication homepages for publication and publication_posts, or direct /p/ post links for post and comments. The publication action requires a URL containing a recognizable Substack handle (custom domains may not parse), whereas publication_posts accepts custom domain links directly.
Substack: Free Previews Are Not Full Paywalled Articles — Substack allows creators to configure free previews and paywall placements for paid articles. Consequently, non-empty text does not prove that full content was retrieved, and setting is_paid or filtering for paid content does not grant reading access. · Checked

What do the Substack comments parameters mean?

Pull the comments under a Substack post. Get author, likes, reply count, and flags for replies, pinned comments and remarks by the post's own author. Pass the post's /p/ link. The batch may not hold the whole conversation.

Full API reference: parameters, code samples, response example and health
urlRequired
Specifies the target Substack resource link. Use publication homepages for publication and publication_posts, or direct /p/ post links for post and comments. The publication action requires a URL containing a recognizable Substack handle (custom domains may not parse), whereas publication_posts accepts custom domain links directly.
Substack: Hidden Comments vs. Deleted Comments — Substack's Reply Rules allow authors to hide article comments or Notes replies rather than permanently deleting them. The absence of a comment in public results does not establish that it was deleted, and this interface lacks the ability to access moderation dashboards, restore hidden content, or modify rules. · Checked

What do the Substack profile parameters mean?

Find a Substack writer's profile from their handle. Get display name, bio, avatar, linked Twitter username and the publications tied to the account. It accepts a plain handle, an @handle or a substack.com/@ link. It describes the person, not a publication, and shows no subscription data.

Full API reference: parameters, code samples, response example and health
usernameRequired
Specifies the target creator handle for profile or notes, accepted as a plain handle (with optional @ prefix) or a full substack.com/@user link. The notes action fetches short creator updates rather than long-form publication posts.
Substack: Author Handles, Display Names, and Public Profiles — A unique Substack handle forms the author profile URL, while display names and bios can be edited independently. This page distinguishes username from display_name accordingly, and does not claim the ability to read hidden subscriptions or liking activity. · Checked

What do the Substack notes parameters mean?

Collect a Substack writer's Notes, the short posts kept apart from newsletters, with text, kind, likes and publish time for each. It lists one writer's Notes only, not a sitewide search, and may not reach the full history.

Full API reference: parameters, code samples, response example and health
usernameRequired
Specifies the target creator handle for profile or notes, accepted as a plain handle (with optional @ prefix) or a full substack.com/@user link. The notes action fetches short creator updates rather than long-form publication posts.
Substack: Definition of Notes and Restack — Substack defines Notes as short-form content activity and Restack as sharing content within Notes, distinguishing them from article-by-article newsletter dispatch. Official publishing, engagement, and revenue analytics capabilities on Substack do not mean this notes read endpoint supports those operations or metrics. · Checked

How to use the Substack API

  1. 01Choose a platform action from the public catalog.
  2. 02Send the platform, action, and required parameters to POST /api/v1/social.
  3. 03Read the result from the response. For an asynchronous action, poll the returned job ID.
  4. 04Store the response fields that your application needs.
substack_search.sh
curl -X POST https://api.everyinfra.com/api/v1/social \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"platform":"substack","action":"search","params":{"keyword":"<keyword>"}}'

Substack API questions

What can I retrieve with the Substack API?

Set platform to substack. The current catalog lists search, publication, publication posts, post details, comments, and more. These action names identify different Substack objects or views; they are not interchangeable search modes.

Which input starts the Substack search request?

Specifies the discovery query string for locating Substack newsletters and publications. It does not perform full-text searches across post bodies. Send it as keyword inside params.

Which fields can Substack search return?

Its declared schema includes handle, name, custom_domain, and bio. A declared field can still be absent from an individual record, and every other action has its own field list.

Does every Substack action return immediately?

Actions labeled asynchronous return a job ID you poll. Every other action can also run asynchronously: add "mode": "async" to the request body to receive a job ID immediately, useful for slow tasks or large limits. The current catalog contains sync delivery.

Google Analytics needs consent. Privacy