---
title: "Substack Post Comments"
method: GET
path: "/v1/substack/post/comments"
tags: ["Substack"]
---

# Substack Post Comments

`GET /v1/substack/post/comments`

## Request

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

Get the full comment thread of a Substack post, nested. Returns every comment with text, author, date, likes, replies and restacks, replies nested under their parent to any depth, sorted by relevance, newest first or oldest first.

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

## Query parameters

- `url` string
- `post_id` string
- `publication` string
- `slug` string
- `sort_by` 'relevance' | 'most_recent' | 'oldest'
- `get_sentiment` boolean

## Response `200`

Successful response

- SubstackPostCommentsResponse: Inferred from a live response. Any field can be null or absent, and new fields may be added at any time.
  - `comments` object[], nullable
    - `comment_id` string, nullable
    - `body` string, nullable
    - `date` string, nullable
    - `author` string, nullable
    - `author_name` string, nullable
    - `author_id` string, nullable
    - `author_url` string, nullable
    - `likes` number, nullable
    - `replies` number, nullable
    - `restacks` number, nullable
    - `is_author` boolean, nullable
    - `is_pinned` boolean, nullable
    - `author_pic_url` string, nullable
    - `reactions` object, nullable
      - `❤` number, nullable
    - `liked_by` string[], nullable
    - `status` string, nullable
    - `url` string, nullable
    - `children` object[], nullable
      - `comment_id` string, nullable
      - `body` string, nullable
      - `date` string, nullable
      - `author` string, nullable
      - `author_name` string, nullable
      - `author_id` string, nullable
      - `author_url` string, nullable
      - `likes` number, nullable
      - `replies` number, nullable
      - `restacks` number, nullable
      - `is_author` boolean, nullable
      - `is_pinned` boolean, nullable
      - `url` string, nullable
      - `children` unknown[], nullable
        - unknown
  - `post_id` string, nullable
  - `post_url` string, nullable
  - `sort_by` string, nullable
  - `total` number, nullable
  - `count` number, nullable
  - `truncated` boolean, nullable

## 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)
