Reddit App Comment Replies

https://api.sandbase.ai/v1/api/reddit/app/comment-replies

Returns replies and nested sub-comments under a Reddit post comment using a continuation cursor. Supports custom sorting methods and data formatting options.

Price
$0.0015USD / callFirst 100 calls per day free (shared per organization)
Method
POST
Response
JSON
Parameters
2 required · 2 optional
Production route

Try the model

Playground

Open playground
Input
Comment cursor from the more.cursor field in comment data, format like "commenttree:ex:(xxx)"
Whether to clean and format the data
Post ID, format like "t3_XXXXXX"
Sort method, supports CONFIDENCE, NEW, TOP, HOT, CONTROVERSIAL, OLD, RANDOM
OutputExample
Responseoutputs · 17.7 KB · 432 lines
[
  {
    "data": {
      "postInfoById": {
        "__typename": "SubredditPost",
        "commentCount": 3049,
        "commentForest": {
          "__typename": "CommentForest",
          "pageInfo": {
            "commentCount": 5,
            "hasNextPage": false
          },
          "trees": [
            {
              "childCount": 0,
              "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_p96kp/styles/profileIcon_a0kdvkgnwc7c1.jpeg?width=50&height=50&frame=1&auto=webp&crop=50%3A50%2Csmart&s=5ae545cdcd96b08cbaedd0e4616f6083726a0f21"
                  },
                  "id": "t2_236f6ttn",
                  "isBlocked": false,
                  "isCakeDayNow": false,
                  "isPremiumAvatarTreatment": false,
                  "name": "welfedad",
                  "newIcon": {
                    "__typename": "MediaSource",
                    "dimensions": {
                      "height": 256,
                      "width": 256
                    },
                    "url": "https://styles.redditmedia.com/t5_p96kp/styles/profileIcon_a0kdvkgnwc7c1.jpeg?frame=1&auto=webp&crop=256%3A256%2Csmart&s=8b6fbd31e342674ad6dfcb3691ee7282c0f70a49"
                  },
                  "profile": {
                    "isNsfw": false
                  },
                  "snoovatarIcon": null
                },
                "commentStats": null,
                "content": {
                  "__typename": "Content",
                  "markdown": "Looks like an eye booger or am I missing something",
                  "preview": "Looks like an eye booger or am I missing something",
                  "richtext": "{\"document\":[{\"c\":[{\"e\":\"text\",\"t\":\"Looks like an eye booger or am I missing something\"}],\"e\":\"par\"}]}",
                  "richtextMedia": [],
                  "translationInfo": {
                    "isTranslated": false,
                    "translatedLanguage": null
                  },
                  "typeHint": "TEXT"
                },
                "createdAt": "2026-01-26T05:47:01.149000+0000",
                "distinguishedAs": null,
                "editedAt": null,
                "id": "t1_o1rqk7i",
                "initiallyCollapsedReason": null,
                "isAdminTakedown": false,
                "isArchived": true,
                "isCommercialCommunication": false,
                "isGildable": true,
                "isInitiallyCollapsed": false,
                "isLocked": false,
                "isRemoved": false,
                "isSaved": false,
                "isScoreHidden": false,
                "isStickied": false,
                "isTranslatable": false,
                "languageCode": "en",
                "modContentDiscussion": null,
                "moderationInfo": null,
                "permalink": "/r/cats/comments/1qmup73/we_found_this_poor_little_kitten_in_the_woods/o1rqk7i/",
                "removedByCategory": null,
                "score": 3,
                "voteState": "NONE"
              },
              "parentId": "t1_o1q99np"
            },
            {
              "childCount": 0,
              "depth": 0,
              "more": null,
              "node": {
                "__typename": "Comment",
                "authorCommunityBadge": null,
                "authorFlair": null,
                "authorInfo": {
                  "__typename": "Redditor",
                  "accountType": "USER",
                  "iconSmall": {
                    "__typename": "MediaSource",
                    "dimensions": {
                      "height": 256,
                      "width": 256
                    },
                    "url": "https://www.redditstatic.com/avatars/defaults/v2/avatar_default_1.png"
                  },
                  "id": "t2_1744je4v1d",
                  "isBlocked": false,
                  "isCakeDayNow": false,
                  "isPremiumAvatarTreatment": false,
                  "name": "Key_Painter_5099",
                  "newIcon": {
                    "__typename": "MediaSource",
                    "dimensions": {
                      "height": 256,
                      "width": 256
                    },
                    "url": "https://www.redditstatic.com/avatars/defaults/v2/avatar_default_1.png"
                  },
                  "profile": {
                    "isNsfw": false
                  },
                  "snoovatarIcon": null
                },
                "commentStats": null,
                "content": {
                  "__typename": "Content",
                  "markdown": "I’m not seeing anything in her right eye?",
                  "preview": "I’m not seeing anything in her right eye?",
                  "richtext": "{\"document\":[{\"c\":[{\"e\":\"text\",\"t\":\"I\\u2019m not seeing anything in her right eye?\"}],\"e\":\"par\"}]}",
                  "richtextMedia": [],
                  "translationInfo": {
                    "isTranslated": false,
                    "translatedLanguage": null
                  },
                  "typeHint": "TEXT"
                },
                "createdAt": "2026-01-26T03:11:44.062000+0000",
                "distinguishedAs": null,
                "editedAt": null,
                "id": "t1_o1r22ur",
                "initiallyCollapsedReason": null,
                "isAdminTakedown": false,
                "isArchived": true,
                "isCommercialCommunication": false,
                "isGildable": true,
                "isInitiallyCollapsed": false,
                "isLocked": false,
                "isRemoved": false,
                "isSaved": false,
                "isScoreHidden": false,
                "isStickied": false,
                "isTranslatable": false,
                "languageCode": "en",
                "modContentDiscussion": null,
                "moderationInfo": null,
                "permalink": "/r/cats/comments/1qmup73/we_found_this_poor_little_kitten_in_the_woods/o1r22ur/",
                "removedByCategory": null,
                "score": 2,
                "voteState": "NONE"
              },
              "parentId": "t1_o1q99np"
            },
            {
              "childCount": 0,
              "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://preview.redd.it/snoovatar/avatars/nftv2_bmZ0X2VpcDE1NToxMzdfNmFjYjhmYjgyODgwZDM5YzJiODQ0NmY4Nzc4YTE0ZDM0ZWU2Y2ZiN184ODk3MA_rare_8ffac4fe-6cfe-4955-afa3-1a7b522b522b-headshot.png?width=50&height=50&auto=webp&s=84f907f3d475bf2e3a25dfc1a52c77218357b294"
                  },
                  "id": "t2_gpdg2",
                  "isBlocked": false,
                  "isCakeDayNow": false,
                  "isPremiumAvatarTreatment": false,
                  "name": "actuallycallie",
                  "newIcon": {
                    "__typename": "MediaSource",
                    "dimensions": {
                      "height": 256,
                      "width": 256
                    },
                    "url": "https://preview.redd.it/snoovatar/avatars/nftv2_bmZ0X2VpcDE1NToxMzdfNmFjYjhmYjgyODgwZDM5YzJiODQ0NmY4Nzc4YTE0ZDM0ZWU2Y2ZiN184ODk3MA_rare_8ffac4fe-6cfe-4955-afa3-1a7b522b522b-headshot.png?auto=webp&s=8602228a169ef327b4738f15b8575825aaf49b83"
                  },
                  "profile": {
                    "isNsfw": false
                  },
                  "snoovatarIcon": {
                    "__typename": "MediaSource",
                    "dimensions": {
                      "height": 600,
                      "width": 380
                    },
                    "url": "https://i.redd.it/snoovatar/avatars/nftv2_bmZ0X2VpcDE1NToxMzdfNmFjYjhmYjgyODgwZDM5YzJiODQ0NmY4Nzc4YTE0ZDM0ZWU2Y2ZiN184ODk3MA_rare_8ffac4fe-6cfe-4955-afa3-1a7b522b522b.png"
                  }
                },
                "commentStats": null,
                "content": {
                  "__typename": "Content",
                  "markdown": "the saddest little face!",
                  "preview": "the saddest little face!",
                  "richtext": "{\"document\":[{\"c\":[{\"e\":\"text\",\"t\":\"the saddest little face!\"}],\"e\":\"par\"}]}",
                  "richtextMedia": [],
                  "translationInfo": {
                    "isTranslated": false,
                    "translatedLanguage": null
                  },
                  "typeHint": "RTJSON"
                },
                "createdAt": "2026-01-26T01:51:32.314000+0000",
                "distinguishedAs": null,
                "editedAt": null,
                "id": "t1_o1qm9rb",
                "initiallyCollapsedReason": null,
                "isAdminTakedown": false,
                "isArchived": true,
                "isCommercialCommunication": false,
                "isGildable": true,
                "isInitiallyCollapsed": false,
                "isLocked": false,
                "isRemoved": false,
                "isSaved": false,
                "isScoreHidden": false,
                "isStickied": false,
                "isTranslatable": false,
                "languageCode": "en",
                "modContentDiscussion": null,
                "moderationInfo": null,
                "permalink": "/r/cats/comments/1qmup73/we_found_this_poor_little_kitten_in_the_woods/o1qm9rb/",
                "removedByCategory": null,
                "score": 1,
                "voteState": "NONE"
              },
              "parentId": "t1_o1q99np"
            },
            {
              "childCount": 0,
              "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_3ou6xc/styles/profileIcon_snooea4f6ed7-6dad-4826-a809-0f7457d9e003-headshot-f.png?width=50&height=50&frame=1&auto=webp&crop=50%3A50%2Csmart&s=bfc98202f04a0e4e5139b58dcc62da4c775317d9"
                  },
                  "id": "t2_9pq44oiq",
                  "isBlocked": false,
                  "isCakeDayNow": false,
                  "isPremiumAvatarTreatment": false,
                  "name": "lilstar111",
                  "newIcon": {
                    "__typename": "MediaSource",
                    "dimensions": {
                      "height": 256,
                      "width": 256
                    },
                    "url": "https://styles.redditmedia.com/t5_3ou6xc/styles/profileIcon_snooea4f6ed7-6dad-4826-a809-0f7457d9e003-headshot-f.png?frame=1&auto=webp&crop=256%3A256%2Csmart&s=b3d0352e805dbb5b0555f14ef6182aca728203ee"
                  },
                  "profile": {
                    "isNsfw": true
                  },
                  "snoovatarIcon": {
                    "__typename": "MediaSource",
                    "dimensions": {
                      "height": 600,
                      "width": 380
                    },
                    "url": "https://i.redd.it/snoovatar/avatars/ea4f6ed7-6dad-4826-a809-0f7457d9e003.png"
                  }
                },
                "commentStats": null,
                "content": {
                  "__typename": "Content",
                  "markdown": "Omggg is she polydactyl??? I have a 6 month tortie, looks so much like yours!!!",
                  "preview": "Omggg is she polydactyl??? I have a 6 month tortie, looks so much like yours!!!",
                  "richtext": "{\"document\":[{\"c\":[{\"e\":\"text\",\"t\":\"Omggg is she polydactyl??? I have a 6 month tortie, looks so much like yours!!!\"}],\"e\":\"par\"}]}",
                  "richtextMedia": [],
                  "translationInfo": {

Examples

Select an example to load its inputs and result into the playground.

Model card

Specifications

Pricing

Base price
$0.0015 / run
Daily free calls
First 100 calls per day free (shared per organization)

Request & response

Method
POST
Request body
application/json
Response
application/json
Execution
sync

Parameters

cursor
string · required
post_id
string · required
need_format
boolean · optional
sort_type
string · optional

Access

Provider
Reddit
API
Platform API
Base URL
https://api.sandbase.ai
Endpoint
/v1/api/reddit/app/comment-replies
Authentication
Bearer API key

API README

Reddit App Comment Replies API

Retrieve nested comment replies for a Reddit post by providing the target post_id and the comment node's cursor. It supports multiple sorting methods and optional response formatting.

Use cases

  • Retrieve nested sub-comments expanded under specific Reddit comment threads.
  • Organize discussion branches by sorting responses by confidence, new, or top.
  • Format Reddit app reply structures for clean downstream analysis.

Request

curl -X POST "https://api.sandbase.ai/v1/api/reddit/app/comment-replies" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"cursor": "<cursor>", "post_id": "<post_id>"}'

Parameters

NameTypeRequiredDescription
cursorstringYesComment cursor from the more.cursor field in comment data, format like "commenttree:ex:(xxx)"
post_idstringYesPost ID, format like "t3_XXXXXX"
sort_typestringNoSort method, supports CONFIDENCE, NEW, TOP, HOT, CONTROVERSIAL, OLD, RANDOM
need_formatbooleanNoWhether to clean and format the data

Notes

  • Obtain cursor from the more.cursor field in prior comment response trees.
  • post_id requires the Reddit prefix format such as t3_XXXXXX.
  • sort_type accepts CONFIDENCE, NEW, TOP, HOT, CONTROVERSIAL, OLD, or RANDOM.

Related APIs

  • Reddit Subreddit Mute Status: Checks whether a specified Reddit subreddit is muted by the current account using its ID.
  • Reddit Community Highlights: Returns featured highlight content for a designated Reddit community, such as popular posts and announcements, by subreddit ID.
  • Reddit Search: Search Reddit posts, communities, comments, media and users with the Reddit app search.

Start building

Send your first request

Platform API endpoint with unified authentication and usage tracking.

Production API
Platform API endpoint
https://api.sandbase.ai/v1/api/reddit/app/comment-replies
Authorization header
Authorization: Bearer $SANDBASE_API_KEY
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/api/reddit/app/comment-replies" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "cursor": "commenttree:ex:(RjiJd",
  "post_id": "t3_1qmup73"
}
SANDBASE_JSON
)
printf '%s\n' "$result"

Explore more

Related APIs

All APIs
APIPriceResponseReleased
Reddit$0.0015 per callJSONJul 31, 2026
Reddit$0.0015 per callJSONJul 31, 2026
Reddit$0.0015 per callJSONJul 31, 2026
Reddit$0.0015 per callJSONJul 31, 2026
Reddit$0.0015 per callJSONJul 31, 2026
Reddit$0.0015 per callJSONJul 31, 2026

Questions

FAQ

How do I use the Reddit App Comment Replies API?

Send a POST request to https://api.sandbase.ai/v1/api/reddit/app/comment-replies with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

How much does the Reddit App Comment Replies API cost?

$0.0015 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

What parameters does the Reddit App Comment Replies API accept?

Required: cursor (string) and post_id (string). Optional: need_format (boolean) and sort_type (string). The Parameters table and the Playground on this page list every field.

What does the Reddit App Comment Replies API return?

A JSON response returned in the same HTTP request (synchronous).

Do I need a Reddit developer account or API key?

No. Reddit App Comment Replies runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Reddit API access separately.