Home · APIs · Content and media · Substack publication

Substack publication API

One request, one key: POST /v1/content/substack/publication. The fields below are read from a real answer captured 19 November 2026, with the value each field had (long text cut, lists cut to three items); a call can return more or fewer fields depending on what the source holds. It is not invented.

Price

2 credits a call. One call is about $0.0196 and 1,000 calls are about $19.60 at the smallest paid plan's rate.Formula A call that comes back empty is not charged.

Try it

This call is not in the free browser demo: it needs a key. A free key (100 credits, no card) is at the trial page.

What it returns

You send:

{
  "url": "https://www.lennysnewsletter.com/"
}

FieldTypeValue in the captured answer
urlstring(text, not shown here)
platformstringsubstack_publication
extracted_atstring2026-11-19T23:05:50.983083+00:00
titlestringLenny's Newsletter | Substack
descriptionstring(text, not shown here)
thumbnail_urlstring(text, not shown here)
extrasobjectan object with 1 fields

Measured on that call: 1877 ms.

Code

curl

curl -X POST https://api.foxapis.com/v1/content/substack/publication \
  -H "Authorization: Bearer YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.lennysnewsletter.com/"}'

Python

import requests

r = requests.post(
    "https://api.foxapis.com/v1/content/substack/publication",
    headers={"Authorization": "Bearer YOUR_KEY"},
    json={"url":"https://www.lennysnewsletter.com/"},
)
print(r.json())

JavaScript

const r = await fetch("https://api.foxapis.com/v1/content/substack/publication", {
  method: "POST",
  headers: { "Authorization": "Bearer YOUR_KEY", "Content-Type": "application/json" },
  body: JSON.stringify({"url":"https://www.lennysnewsletter.com/"}),
});
console.log(await r.json());

n8n (HTTP Request node: paste it into a workflow)

{
  "nodes": [
    {
      "name": "Substack publication",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4,
      "position": [
        0,
        0
      ],
      "parameters": {
        "method": "POST",
        "url": "https://api.foxapis.com/v1/content/substack/publication",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "Bearer YOUR_KEY"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "{\"url\":\"https://www.lennysnewsletter.com/\"}"
      }
    }
  ],
  "connections": {}
}

Assistants (Claude, ChatGPT, Cursor)

Connect the FoxAPIs server once; the tools it offers are listed on the MCP page.

claude mcp add --transport http foxapis https://foxapis.com/mcp \
  --header "Authorization: Bearer YOUR_KEY"

Errors and limits

Free to start: 100 credits, no card. Then from $10. Credits you buy never expire.

Get my free key

More in this category: YouTube video · YouTube channel · Substack post · Academic papers paper · Podcasts episode · Steam game

Same category: Content and media · all APIs

How we calculate

Data: scripts/data/endpoint-credits.json and plans.json, 2026-11-20. Every other figure on this page is copied from the record, not calculated by us.