---
title: "Substack Publication Posts"
method: GET
path: "/v1/substack/publication/posts"
tags: ["Substack"]
---

# Substack Publication Posts

`GET /v1/substack/publication/posts`

## Request

- Base URL: `https://apidirect.io`
- URL: `https://apidirect.io/v1/substack/publication/posts`
- Auth: API key in header `X-API-Key`

Get a publication's posts, newest first, top or most discussed, or search them by keyword. Returns post title, author, publication date, engagement, paywall status, word count and tags.

**Price:** $0.003 per request. **Free tier:** 50 requests/month.

## Query parameters

- `publication` string, required
- `query` string
- `sort_by` 'most_recent' | 'top' | 'discussions'
- `podcasts_only` boolean
- `page` integer
- `get_sentiment` boolean

## Response `200`

Successful response

- SubstackPublicationPostsResponse: Inferred from a live response. Any field can be null or absent, and new fields may be added at any time.
  - `posts` object[], nullable
    - `title` string, nullable
    - `subtitle` string, nullable
    - `url` string, nullable
    - `date` string, nullable
    - `author` string, nullable
    - `author_name` string, nullable
    - `author_id` string, nullable
    - `author_url` string, nullable
    - `source` string, nullable
    - `domain` string, nullable
    - `snippet` string, nullable
    - `likes` number, nullable
    - `comments` number, nullable
    - `restacks` number, nullable
    - `reactions` object, nullable
      - `❤` number, nullable
    - `is_paid` boolean, nullable
    - `audience` string, nullable
    - `type` string, nullable
    - `wordcount` number, nullable
    - `lang` string, nullable
    - `cover_image_url` string, nullable
    - `podcast_url` string, nullable
    - `podcast_duration` number, nullable
    - `tags` string[], nullable
    - `publication` string, nullable
    - `publication_id` string, nullable
    - `publication_url` string, nullable
    - `slug` string, nullable
    - `post_id` string, nullable
    - `authors` object[], nullable
      - `username` string, nullable
      - `name` string, nullable
      - `user_id` string, nullable
    - `replies` number, nullable
    - `audio_url` string, nullable
    - `podcast_image_url` string, nullable
    - `video_duration` number, nullable
  - `publication` object, nullable
    - `publication_id` string, nullable
    - `name` string, nullable
    - `subdomain` string, nullable
    - `url` string, nullable
    - `logo_url` string, nullable
  - `publication_url` string, nullable
  - `sort_by` string, nullable
  - `podcasts_only` boolean, nullable
  - `page` number, nullable
  - `has_next_page` boolean, nullable
  - `count` number, nullable
  - `query` unknown

## Other responses

- `400`: Bad request: a required parameter is missing or a value is invalid (code: missing_parameter or invalid_parameter).
- `401`: Unauthorized: the API key is missing or invalid (code: missing_api_key or invalid_api_key).
- `402`: Free tier used up for this endpoint and no payment method on file (`payment_required`).
- `403`: Account blocked after a failed payment (`account_blocked`).
- `404`: Not found: the requested item does not exist (code: not_found).
- `429`: Rate limit exceeded, or too many concurrent requests for this endpoint
- `500`: Internal server error
- `502`: Temporary failure retrieving Substack data. Please retry shortly.
- `503`: Service unavailable: the data source is temporarily unavailable
- `504`: The request timed out

---

[API](https://skmtc.dev/apidirect/apis/api-direct.md) · [All operations](https://skmtc.dev/apidirect/apis/api-direct/llms.txt) · [OpenAPI document](https://skmtc.dev/apidirect/apis/api-direct/revisions/fa8c68d70bd0?raw)
