---
title: "List a post's comments"
description: "Every public comment under a post, with likes, dates and replies, most liked first."
url: https://docs.sonderlabs.co.uk/posts/comments
---

# List a post's comments

Every public comment under a post, with likes, dates and replies, most liked first.

`GET /v1/posts/{id}/comments` (coming soon)

> **Coming soon:** this endpoint is not served yet; the shape below is what it will look like. [Ask for it](https://docs.sonderlabs.co.uk/access) if you need it.

Pages through the post's public comments to the end. Each comment carries its author, likes, time and, once read, `sentiment`. Replies come nested under `replies` where the platform has them (`include=replies`).

For what the comments add up to (sentiment mix, themes, estimated audience), see [Audience](https://docs.sonderlabs.co.uk/audience/sentiment).

## Platform support

- TikTok: Live. Replies: the first page of replies on the most-liked threads.
- Instagram: Live. Every top-level comment, paged to the end. Replies are not included yet.
- YouTube: Live. Replies: the first page of replies on the most-liked threads.
- Facebook: Live
- X: Limited. Replies to the post, where X returns them; can be incomplete.
- Threads: Live. Reply chains come back flattened, in order.
- Reddit: Live. The full comment tree, replies included.
- Snapchat: Limited. Spotlights only.

## Parameters

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | A Sonder post id, from any endpoint that returns posts or from [post lookup](https://docs.sonderlabs.co.uk/posts/lookup). |
| `sort` | query | string | no | `top` (default) or `recent`. |
| `include` | query | string | no | `replies` to nest replies under each comment. |
| `limit` | query | integer | no | Results per page, 1 to 100. Default 25. |
| `cursor` | query | string | no | The `next` value from the previous page. |

## Example

cURL:

```bash
curl -G https://yourteam.sonderlabs.co.uk/v1/posts/47dd2af11e2fe0f075d88ad970eb737c/comments \
  -H "Authorization: Bearer $SONDER_API_KEY" \
  -d limit=2
```

JavaScript:

```js
const params = new URLSearchParams({
  limit: "2",
});
const res = await fetch(`https://yourteam.sonderlabs.co.uk/v1/posts/47dd2af11e2fe0f075d88ad970eb737c/comments?${params}`, {
  headers: {
    Authorization: `Bearer ${process.env.SONDER_API_KEY}`,
  },
});
const data = await res.json();
```

Python:

```python
import os, requests

res = requests.get(
    "https://yourteam.sonderlabs.co.uk/v1/posts/47dd2af11e2fe0f075d88ad970eb737c/comments",
    headers={"Authorization": f"Bearer {os.environ['SONDER_API_KEY']}"},
    params={
        "limit": 2
    },
)
data = res.json()
```

Response:

```json
{
  "postId": "47dd2af11e2fe0f075d88ad970eb737c",
  "total": 302,
  "comments": [
    {
      "id": "17935666701146386",
      "author": "amir_taro_rune",
      "text": "Fantastic 👏",
      "likes": 5,
      "createdAt": "2026-10-31T12:06:09Z",
      "sentiment": "positive",
      "replies": []
    },
    {
      "id": "18111676622340011",
      "author": "marahovskiy.psy",
      "text": "Fantastic 😍",
      "likes": 4,
      "createdAt": "2026-11-01T02:22:15Z",
      "sentiment": "positive",
      "replies": []
    }
  ],
  "next": "Y29tbWVudHM6Mg"
}
```
