← Back to All tools
1 endpoint

Substack data API

via AnyAPI

AI agents can use Substack data at up to $0.0444 per call with a Purrkey key and no Substack or AnyAPI account. Your agent can read posts from a given publication and compare headlines and dates

Endpoints

AnyAPI

Substack Posts

/v1/run/substack.posts

Pull posts from any Substack publication by its URL, or pass a single post URL (…/p/slug) to fetch just that one article. Returns title, subtitle, publish date, paywall status, word count, engagement (reactions, comments, restacks), author profile, publication details, the full article body as text, HTML and Markdown, and optional comment threads

Up to $0.0444per call

Showing 1 of 1

Try it with your agents

  1. Collect publication headlines

    Set up https://purrkey.app/SKILL.md, then use Purrkey to ask for a Substack publication URL and retrieve its five most recent posts. Put the title, subtitle and publication date into a chronological digest.
  2. Find longer free reads

    Set up https://purrkey.app/SKILL.md, then use Purrkey to find three free posts longer than 1000 words at astralcodexten.com. Show the word count and title of each so I can choose one for a reading group.
  3. Review responses to an essay

    Set up https://purrkey.app/SKILL.md, then use Purrkey to ask me for a single Substack post URL, then fetch that post with up to three comments. Separate the author's argument from the readers' responses.
Questions

Substack API questions

How do I retrieve a single Substack article?

Pass its post URL. A publication URL can instead return a set of posts with titles and engagement figures.

Can I limit a list to longer free pieces?

Use the free-only setting and minimum word count to narrow the publication feed.

What should I inspect before requesting comments?

Published prices are up to $0.0444 per call. Specify the maximum comment count when adding reader responses to a post lookup.