0.931¢ for the tested request

Substack API

Read recent posts from a newsletter.

Give your agent a publication URL and get post metadata. One Astral Codex Ten request returned three public posts with titles, dates and engagement counts.

Connect your agent to TaskFuel. It shows the price before paying from your prepaid balance.

Works with

Choose how to read public Substack posts.

The publication feed and the paid API both supplied the three recent post links in our test.

Prices and access checked on 13 November 2026.
OptionPrice & billingChoose it forGood to knowAccess
AnyAPIThrough TaskFuel$0.00931Tested request from your TaskFuel balanceAstral Codex Ten · three free posts · metadata onlyStructured JSON with publication timestamps and engagement counts.One publication snapshot of free post metadata. Engagement counts can change.TaskFuel
Substack RSSPublic publication feedProvider reference$0Public RSS feedRead the publication’s /feed URL.Titles, dates and links for recent posts.The tested feed omitted reaction and comment counts.Direct

Substack API: what your agent gets.

One publication snapshot of free post metadata. Engagement counts can change.

  • Read public publication posts

    Pass a publication URL and a result limit. Our metadata-only request returned post links, publication timestamps, reaction counts and comment counts.

    $0.00931 for the tested request

Substack API, tested.

The three titles and timestamps matched the first three entries in the public RSS feed. AnyAPI also returned reactions, comments and restacks for each post.

TaskFuel test run ·

Charged $0.00931

Your agent asked

Find three recent free posts from Astral Codex Ten. Return each title, date, link and the reported reaction and comment counts.
Data from
AnyAPI

One publication snapshot of free post metadata. Engagement counts can change.

Try the API request Quote first, then run

1. Check the price

Use your TaskFuel API key as TASKFUEL_API_KEY in your terminal or server. Keep it out of browser code. This request checks the price without paying.

This is the exact request used in the dated example.

curl --fail-with-body https://app.taskfuel.ai/v1/call \
  -H "Authorization: Bearer $TASKFUEL_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-binary @- <<'TASKFUEL_REQUEST'
{
  "url": "https://api.getanyapi.com/v1/run/substack.posts",
  "method": "POST",
  "body": {
    "url": "https://www.astralcodexten.com",
    "limit": 3,
    "onlyFree": true,
    "includeContent": false,
    "includeComments": false
  },
  "dryRun": true
}
TASKFUEL_REQUEST

2. Run the request

Review amount_usd in the quote. To pay and run, change dryRun to false and add maxAmountUsd with that approved amount inside the same JSON object. Keep the inputs unchanged; this limit applies to one call.

3. Read the result

Read output.data.items[].title, url, createdUtc, reactionCount and commentCount. createdUtc is a Unix timestamp in seconds. The test requested free posts with content and comment threads disabled.

Setup and API reference · Job polling and timeout recovery

Try it in your next task.

Sign in to TaskFuel and copy the connection prompt into your agent. Approve the connection, then ask for the work you need.

01

Name the task

Tell your agent what the output needs to contain.

02

See the price

Your agent shows the provider and price before spending.

03

Review the response

Check the output against your task. The call reports its cost and remaining balance.

When to use it.

Reading lists

Put three posts in a brief.

Your agent can turn the returned titles, dates and source links into a short reading list.

Newsletter research

Add discussion counts to a reading list.

The metadata response includes comment and reaction counts for comparing posts from the same publication.

Providers for this task.

CapabilityProvidersReference
More social platformsStableSocial, AnyAPI, Scrape CreatorsCompare providers · Endpoint data

Good Questions.

Does Substack have an official API?

Substack documents API terms for certain public creator and publication information. This example uses AnyAPI for public post metadata.

When is RSS enough?

The public feed supplied the same titles, timestamps and links for these three posts. AnyAPI added structured reaction, comment and restack counts.

Does this request publish posts or retrieve paid articles?

The example reads metadata for free posts from a public publication. Publishing and subscriber access are handled in Substack.

What did the example cost?

The example cost $0.00931 on 13 November 2026. Your agent shows the price for your own request before it pays.

Do I need a separate provider account?

A TaskFuel connection is enough. Your agent pays from your TaskFuel balance.

Your agent can do things it couldn’t this morning.

$1 in free credit, no card required.

Start for Free