AnthonyDavidAdams

Substack API Reference — Development skill for Claude Code

Development community

Unofficial Substack API reference — 129 verified endpoints with body shapes, gathered across 14 capture rounds.

How to install Substack API Reference

This entry records only its repository, not the path inside it, so there is no exact command to give. Open AnthonyDavidAdams/substack-api-reference and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Substack API Reference does

Unofficial Substack API reference — 129 verified endpoints with body shapes, gathered across 14 capture rounds. Read + write side fully mapped. Includes Claude Agent SDK skill manifest and TypeScript client.

Alternatives in Development

  • Theme Color Conventions — Extensions in this repo use a consistent color language mapped to Pi's theme tokens 526 ★
  • Check Setup.En — Top-level alias — see lesson/check-setup.en.md for the full body 347 ★
  • HERO Anti OverDefense — HERO = Hashing · Edge cases · Rubrics · Overbuild — the four shapes coding agents over-defend in 333 ★

README

Substack API Reference (Unofficial)

The most complete map of Substack's undocumented internal API. **129 verified endpoints**, captured by driving the live API through 14 rounds of probing and write-side capture.

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE) ![Endpoints](https://img.shields.io/badge/Endpoints-129%20verified-brightgreen) ![Rounds](https://img.shields.io/badge/Capture%20rounds-14-blue) ![OpenAPI](https://img.shields.io/badge/OpenAPI-3.1-orange)

A practical, verified reference for Substack's undocumented internal API. Every endpoint here has been tested against the live API. Designed for humans **and** for AI agents (see [`SKILL.md`](SKILL.md)).

⚠️ **Unofficial.** Substack doesn't publish or support this API. Endpoints can change without notice. Treat this as a working notebook, not a contract.


Why this exists

The Substack web app speaks to a JSON API at `https://substack.com/api/v1/*` and per-publication subdomains at `https://.substack.com/api/v1/*`. The web app uses it for everything: reading posts, creating drafts, publishing, managing subscribers, sending chat threads, configuring recommendations. With a session cookie, you can drive the same API from any script.

Existing community work covers parts of this surface:

This repo is intended to be **the canonical endpoint reference** these clients converge on. Submit a PR with anything new you find.


Quick start

# 1. Get your session cookie (see AUTH.md for browser-extension and DevTools paths)
COOKIE='s%3A...your.connect.sid.value...'

# 2. Verify i