# Substack Notes API (substack.notes)

- Canonical page: [https://everyinfra.com/en/substack-api/notes](https://everyinfra.com/en/substack-api/notes?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "substack", "action": "notes", "params": {...}}
- Price: $0.001389 per call ($1.39 per 1,000 requests); failed calls and empty results are not charged
- Returns: list, default 25, max 200 per call
- Mode: sync; add "mode": "async" for slow tasks

Substack Notes lists the Notes one writer has posted on Substack, given their `username`. Notes are Substack's short posts, separate from newsletter articles; each row carries the note's full `text`, its `kind`, the like count, the publish time, and the author's handle and display name. It answers what a writer shares in short form, for editors and media analysts following the writers in a niche, publishers studying which short posts draw likes, and writers comparing their Notes with their peers'.

`username` takes the author handle, such as astralcodexten, with or without an @, or a substack.com/@ profile link. The rows are Notes only: newsletter articles come from the Substack Publication posts capability, which takes the publication's link, and a single article from Substack Post details. Check `kind` to see what type of entry each row is, and read a null `like_count` as not disclosed rather than zero.

## Health

- Live health (24h percent, hourly and daily trends): https://api.everyinfra.com/api/v1/social/availability?platform=substack&action=notes

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| username | not declared | yes | not declared | Specifies the target creator handle for profile or notes, accepted as a plain handle (with optional @ prefix) or a full substack.com/@user link. The notes action fetches short creator updates rather than long-form publication posts. |
| limit | integer (1–200) | no | 25 | The most rows to return in this call, an integer from 1 to 200. The default applies when you leave it out, and a call can return fewer rows. Larger values return 422 before any charge. |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| id | The record's unique ID on the platform. Unique only within one platform; IDs can repeat across platforms. |
| kind | platform-native meaning |
| text | Body text with HTML removed, returned in full and never cut short (on a few platforms the list results themselves carry only an excerpt; the platform's field notes say so). |
| author_username | Author's username (@handle), usually usable in URLs. |
| author_name | Author's display name. |
| like_count | Likes. null means the platform or this capability does not disclose it; it is not 0. |
| posted_at | Publish time in ISO 8601, UTC (for example 2026-08-07T12:34:56+00:00). Non-standard strings from the platform are passed through as is, so parse defensively. null means the platform does not disclose it. |
| platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |
| restacked_post | platform-native meaning |
| attachment_urls | platform-native meaning |

## Example

```bash
curl -X POST 'https://api.everyinfra.com/api/v1/social' \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "platform": "substack",
  "action": "notes",
  "params": {
    "username": "astralcodexten"
  }
}'
```

```python
import os
import requests

response = requests.post(
    "https://api.everyinfra.com/api/v1/social",
    headers={"Authorization": f"Bearer {os.environ['EVERYINFRA_API_KEY']}"},
    json={
        "platform": "substack",
        "action": "notes",
        "params": {
            "username": "astralcodexten",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

Real response to the example request above, captured 2026-09-26T08:56:04Z. `results` and `count` are real with personal information (names, handles, avatars, profile links, contact details) removed; the list keeps the first 2 of 25. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "substack",
  "action": "notes",
  "results": [
    {
      "id": "p-•••",
      "kind": "restack",
      "author_username": "astralcodexten",
      "author_name": "•••",
      "posted_at": "2026-09-25T22:26:10.306000+00:00",
      "platform": "substack",
      "restacked_post": {
        "title": "Your Book Review: Lee Kuan Yew's Memoirs",
        "url": "https://www.astralcodexten.com/p/your-book-review-lee-kuan-yews-memoirs"
      }
    },
    {
      "id": "p-•••",
      "kind": "restack",
      "author_username": "astralcodexten",
      "author_name": "•••",
      "posted_at": "2026-09-25T06:06:18.720000+00:00",
      "platform": "substack",
      "restacked_post": {
        "title": "Fall Meetups 2026 - Call For Meetup Organizers",
        "url": "https://www.astralcodexten.com/p/fall-meetups-2026-call-for-meetup"
      }
    }
  ],
  "count": 25,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## FAQ

### What do I pass as `username`?

The writer's Substack handle, such as astralcodexten, either bare, with an @, or as a substack.com/@astralcodexten link. A publication homepage link is not the input for Substack Notes; it belongs to Substack Publication posts. The handle is the part after the @ in the writer's profile link.

### Does Substack Notes return newsletter articles?

No. It returns the short Notes a writer posts, not long-form newsletter articles. To list a publication's articles, call the Substack Publication posts capability with the publication's homepage link; to read one article in full, pass its /p/ link to Substack Post details.

### How do I keep a writer's Notes up to date?

Call Substack Notes on a schedule and store rows by `id`, so Notes you already have are recognized. Use `posted_at` to find what is new since your last run, and compare `like_count` across runs to see which Notes kept gaining likes. Parse `posted_at` defensively, since non-standard values are passed through as is.

## Also

- Capability catalog (no key): https://api.everyinfra.com/api/v1/social/catalog?platform=substack
- OpenAPI: https://everyinfra.com/openapi.json · Agents guide: https://everyinfra.com/agents.md
