substack

Posts

Returns a publication’s recent posts, or one post: title, full text and Markdown, author, reactions, comments, restacks, word count and whether it is paid.

Use it with a publication URL (or custom domain) for its archive, or a /p/ post URL for one post.

Metered: 10–120 credits. We reserve the ceiling when the call starts and charge what it actually used when it finishes.

get/v1/substack/posts

Request

  • Base URL: https://api.insightsocial.app
  • URL: https://api.insightsocial.app/v1/substack/posts
  • Auth: API key in header x-api-key

Query parameters

urlstring required
Example:https://www.astralcodexten.com

A Substack publication URL or custom domain, or one post URL (…/p/slug).

limitinteger

Most recent posts to read, 1 to 100. Default 25. Billed per post returned.

start_datestring

Only posts published on or after this date (YYYY-MM-DD). Applied to the limit most recent posts, so raise limit to reach further back.

end_datestring

Only posts published on or before this date (YYYY-MM-DD). Applied to the limit most recent posts, so raise limit to reach further back.

only_freeboolean

true for free (non-paywalled) posts only.

content_type'all' | 'newsletter' | 'podcast' | 'thread'

Only one post type. Default all.

min_commentsinteger

Only posts with at least this many comments.

min_reactionsinteger

Only posts with at least this many reactions.

min_word_countinteger

Only posts with at least this many words.

include_contentboolean

Include the article body (text and Markdown). Default true; false is faster.

dry_run'1'

Set to 1 to get the price of this call without making it: data.dry_run carries credits_min and credits_max. Nothing is charged.

Response

Success.

successtrue required
platformstring required
endpointstring required
schema_version'2' required
unavailablestring[] required
credits_usedinteger required
credits_remaininginteger required
request_idstring required
cachedboolean required
idempotent_replayboolean required
charge_reasonstring required
free_callboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.