> Parel documentation. Index of every page: https://parel.si/docs/llms.txt. This page in HTML: https://parel.si/docs/tools/get_reddit_comments

# get_reddit_comments

> The comments under one Reddit post as a tree: author, score, text, replies. ₹0.20 per page; a wrong id is ₹0.

## What it does

The comments under one Reddit post, from `post_id` as a fullname with the `t3_` prefix (`reddit.com/r/.../comments/1v8jytl/` gives `t3_1v8jytl`), in `data`: the post's `title`, `subreddit` and `commentCount`, and `commentForest.trees[]`, each a comment node (author, score, text, created) with its children; `sort_type` `CONFIDENCE` (default), `NEW`, `TOP`, `HOT`, `CONTROVERSIAL` or `OLD`; `after` pages further. Use it to read the discussion under a post found with [`search_reddit`](https://parel.si/docs/tools/search_reddit.md) or [`get_reddit`](https://parel.si/docs/tools/get_reddit.md).

India: any public post.

## Inputs

Generated from the contract captured from staging on 2026-11-05.

| Field | Type | Required | Description |
|---|---|---|---|
| `after` | string | no | Pagination parameter for fetching next page |
| `post_id` | string | yes | e.g. "t3_1ojnvca" |
| `sort_type` | string | no | Sort method: CONFIDENCE, NEW, TOP, HOT, CONTROVERSIAL, OLD, RANDOM. e.g. "CONFIDENCE" |

## What drives the cost

Nothing: flat per page. A wrong id (without the `t3_` prefix) answers empty, `class: "ok_free"`, ₹0; keep the prefix to get the comments. Usually one to two seconds.

## Price today

| | |
|---|---|
| Price today | **₹0.20** per page (`cost_paise: 20`) at ₹93.93 per US dollar on 17 November 2026 |
| Hold before the call | ₹0.38 (`hold_paise: 38`); when the call settles the real price is charged and the unused part is released |
| ₹0 when | it fails, or the provider answers but there is nothing in it (an empty list, no email, no page): `class: "ok_free"`, ₹0 |
| Timeout | 30 s, then `upstream_timeout` (₹0, retryable) |
| Over MCP | `run_tool` with `tool: "get_reddit_comments"` |
| Over REST | `POST https://api.parel.si/v1/run` with `"tool": "get_reddit_comments"` |
| Confirmation | not needed (the estimate is under the ₹200 threshold) |

## Request

```bash
curl https://api.parel.si/v1/run \
  -H "Authorization: Bearer $PAREL_KEY" \
  -H "Content-Type: application/json" \
  -d '{"tool":"get_reddit_comments","input":{"post_id":"t3_1v8jytl","sort_type":"TOP"}}'
```

## What comes back

`data` with `commentForest.trees[]`. A real answer recorded during the live check of 2026-10-28, trimmed (nested lists to two items):

```json
{
  "__typename": "SubredditPost",
  "commentCount": 633,
  "commentForest": {
    "__typename": "CommentForest",
    "pageInfo": {
      "commentCount": 514,
      "hasNextPage": true
    },
    "trees": [
      {
        "childCount": 56,
        "depth": 0,
        "more": null,
        "node": {
          "__typename": "Comment",
          "authorCommunityBadge": null,
          "authorFlair": null,
          "authorInfo": {
            "__typename": "Redditor",
            "accountType": "USER",
            "iconSmall": {
              "__typename": "MediaSource",
              "dimensions": {
                "height": 50,
                "width": 50
              },
              "url": "https://styles.redditmedia.com/t5_d9ewc/styles/profileIcon_snoo-nftv2_bmZ0X2VpcDE1NToxMzdfYzhkM2EzYTgzYmRlNWRhZDA2ZDQzNjY5NGUzZTIyYWMzZTY0ZDU3N18yMjIwNjg_rare_61921cfa-3f75-4e3e-a19c-413f6df3830b-headshot.png"
            },
            "id": "t2_xsbp7",
            "isBlocked": false,
            "isCakeDayNow": false,
            "isPremiumAvatarTreatment": false,
            "name": "a_user_67",
            "newIcon": {
              "__typename": "MediaSource",
              "dimensions": {
                "height": 256,
                "width": 256
              },
              "url": "https://styles.redditmedia.com/t5_d9ewc/styles/profileIcon_snoo-nftv2_bmZ0X2VpcDE1NToxMzdfYzhkM2EzYTgzYmRlNWRhZDA2ZDQzNjY5NGUzZTIyYWMzZTY0ZDU3N18yMjIwNjg_rare_61921cfa-3f75-4e3e-a19c-413f6df3830b-headshot.png"
            },
            "profile": {
              "isNsfw": false
            },
            "snoovatarIcon": {
              "__typename": "MediaSource",
              "dimensions": {
                "height": 600,
                "width": 380
              },
              "url": "https://i.redd.it/snoovatar/avatars/nftv2_bmZ0X2VpcDE1NToxMzdfYzhkM2EzYTgzYmRlNWRhZDA2ZDQzNjY5NGUzZTIyYWMzZTY0ZDU3N18yMjIwNjg_rare_61921cfa-3f75-4e3e-a19c-413f6df3830b.png"
            }
          },
          "commentStats": null,
          "content": {
            "__typename": "Content",
            "markdown": "Something must be going to shits",
            "preview": "Something must be going to shits",
            "richtext": "{\"document\":[{\"c\":[{\"e\":\"text\",\"t\":\"Something must be going to shits\"}],\"e\":\"par\"}]}",
            "richtextMedia": [],
            "translationInfo": {
              "isTranslated": false,
              "translatedLanguage": null
            },
            "typeHint": "TEXT"
          },
          "createdAt": "2026-07-28T01:40:01.412000+0000",
          "distinguishedAs": null,
          "editedAt": null,
          "id": "t1_p06in74",
          "initiallyCollapsedReason": null,
          "isAdminTakedown": false,
          "isArchived": false,
          "isCommercialCommunication": false,
          "isGildable": false,
          "isInitiallyCollapsed": false,
          "isLocked": false,
          "isRemoved": false,
          "isSaved": false,
          "isScoreHidden": false,
          "isStickied": false,
          "isTranslatable": false,
          "languageCode": "en",
          "modContentDiscussion": null,
          "moderationInfo": null,
          "permalink": "/r/news/comments/1v8jytl/removed_by_moderator/p06in74/",
          "removedByCategory": null,
          "score": 897,
          "voteState": "NONE"
        },
        "parentId": null
      },
      {
        "childCount": 0,
        "depth": 1,
        "more": null,
        "node": {
          "__typename": "Comment",
          "authorCommunityBadge": {
            "__typename": "AchievementBadge",
            "accessibilityLabel": "Profile Badge for the Achievement Top 1% Commenter",
            "image": {
              "url": "https://i.redd.it/qwkcwa2zi3yd1.png"
            },
            "label": "Top 1% Commenter"
          },
          "authorFlair": null,
          "authorInfo": {
            "__typename": "Redditor",
            "accountType": "USER",
            "iconSmall": {
              "__typename": "MediaSource",
              "dimensions": {
                "height": 50,
                "width": 50
              },
              "url": "https://styles.redditmedia.com/t5_boh8a/styles/profileIcon_snoo-nftv2_bmZ0X2VpcDE1NToxMzdfNDY2YTMzMDg4N2JkZjYyZDUzZjk2OGVhODI0NzkzMTUwZjA3NzYyZV8zNzcxMzI_rare_04c5e67f-563f-42dc-acde-36bfec71aefa-headshot.png"
            },
            "id": "t2_102u0z",
            "isBlocked": false,
            "isCakeDayNow": false,
            "isPremiumAvatarTreatment": false,
            "name": "a_user_68",
            "newIcon": {
              "__typename": "MediaSource",
              "dimensions": {
                "height": 256,
                "width": 256
              },
              "url": "https://styles.redditmedia.com/t5_boh8a/styles/profileIcon_snoo-nftv2_bmZ0X2VpcDE1NToxMzdfNDY2YTMzMDg4N2JkZjYyZDUzZjk2OGVhODI0NzkzMTUwZjA3NzYyZV8zNzcxMzI_rare_04c5e67f-563f-42dc-acde-36bfec71aefa-headshot.png"
            },
            "profile": {
              "isNsfw": false
            },
            "snoovatarIcon": {
              "__typename": "MediaSource",
              "dimensions": {
                "height": 600,
                "width": 380
              },
              "url": "https://i.redd.it/snoovatar/avatars/nftv2_bmZ0X2VpcDE1NToxMzdfNDY2YTMzMDg4N2JkZjYyZDUzZjk2OGVhODI0NzkzMTUwZjA3NzYyZV8zNzcxMzI_rare_04c5e67f-563f-42dc-acde-36bfec71aefa.png"
            }
          },
          "commentStats": null,
          "content": {
            "__typename": "Content",
            "markdown": "Things were bad when this guy took office, and then he came in and implemented hardcore libertarian policies, tanking the entire countries economy. The guy should be a laughing stock on Trump's level. He is a totally unserious person who should not have been given power. ",
            "preview": "Things were bad when this guy took office, and then he came in and implemented hardcore libertarian policies, tanking the entire countries economy. The guy should be a laughing stock on Trump's level. He is a totally unserious person who should not have been given power.",
            "richtext": "{\"document\":[{\"c\":[{\"e\":\"text\",\"t\":\"Things were bad when this guy took office, and then he came in and implemented hardcore libertarian policies, tanking the entire countries economy. The guy should be a laughing stock on Trump's level. He is a totally unserious person who should not have been given power.\"}],\"e\":\"par\"}]}",
            "richtextMedia": [],
            "translationInfo": {
              "isTranslated": false,
              "translatedLanguage": null
            },
            "typeHint": "RTJSON"
          },
          "createdAt": "2026-07-28T02:28:25.724000+0000",
          "distinguishedAs": null,
          "editedAt": null,
          "id": "t1_p06ravq",
          "initiallyCollapsedReason": null,
          "isAdminTakedown": false,
          "isArchived": false,
          "isCommercialCommunication": false,
          "isGildable": false,
          "isInitiallyCollapsed": false,
          "isLocked": false,
          "isRemoved": false,
          "isSaved": false,
          "isScoreHidden": false,
          "isStickied": false,
          "isTranslatable": false,
          "languageCode": "en",
          "modContentDiscussion": null,
          "moderationInfo": null,
          "permalink": "/r/news/comments/1v8jytl/removed_by_moderator/p06ravq/",
          "removedByCategory": null,
          "score": 21,
          "voteState": "NONE"
        },
        "parentId": "t1_p06in74"
      },
      "… 12 more item(s) truncated"
    ]
  },
  "id": "t3_1v8jytl",
  "subreddit": {
    "allowedMediaInComments": [
      "VIDEO"
    ],
    "id": "t5_2qh3l",
    "isQuarantined": false,
    "moderation": {
      "isShowCommentRemovalReasonPrompt": true
    },
    "name": "news",
    "prefixedName": "r/news",
    "tippingStatus": null
  },
  "title": "[ Removed by moderator ]"
}
```

## Notes

- post_id must carry the t3_ prefix; a bare id answers empty, which is free for you.
- Nested tree: each node has its children; after pages further.
- Usually one to two seconds.

## Siblings

- [`search_reddit`](https://parel.si/docs/tools/search_reddit.md) to find the post.
- [`get_youtube_comments`](https://parel.si/docs/tools/get_youtube_comments.md) for the same on YouTube.
