Reddit Comment Replies API
Reddit Comment Replies: query public data. Empty results and failed requests are free. Page size uses the service default and cannot be supplied.
Query public data using explicit parameters and saved real response examples.
Open the product page and testPOST https://api.goanyapi.com/api/v1/reddit/post/comment/repliesRequest and authentication
Synchronous POST JSON endpoint; no task creation or polling. Authenticate with Authorization: Bearer YOUR_API_KEY. There are no Path or Query parameters.
Input parameters
| Parameter | Location | Type | Required | Default | Constraints and meaning |
|---|---|---|---|---|---|
| Authorization | Header | string | Yes | — | Bearer YOUR_API_KEY |
| Content-Type | Header | string | Yes | application/json | application/json |
| url | JSON body | string | Yes | — | Full Reddit post URL. Use a complete resource URL as the primary input. Only https resource links on the documented platform are accepted; unrelated hosts and resource types are rejected. maxLength: 2048 |
| commentId | JSON body | string | Yes | — | Comment ID (bare or t1_ prefixed). First call goanyapi_reddit_post_comments with {url: the same post URL}, or POST /api/v1/reddit/post/comments with Bearer authentication and JSON body {url}. Read data.result.comments[].id and pass one as commentId. The prerequisite query is separately billed at its configured price; empty results and failures are free. maxLength: 2048 |
| sort | JSON body | string | No | CONFIDENCE | Result ordering. Values are case-sensitive. enum: "CONFIDENCE", "TOP", "NEW", "CONTROVERSIAL", "OLD", "QA" maxLength: 2048 |
| cursor | JSON body | string | No | — | Omit on the first request. Use data.result.next_cursor from the previous response unchanged; never invent a cursor. maxLength: 16384 |
Prefer complete resource URLs. Threads user endpoints also accept a username or @username; no separate identifier lookup or additional charge is required. first, count and limit are not public inputs; the service default page size is used and actual results may be fewer.
sort
| Value | Default |
|---|---|
| "CONFIDENCE" | Yes |
| "TOP" | — |
| "NEW" | — |
| "CONTROVERSIAL" | — |
| "OLD" | — |
| "QA" | — |
Obtain the comment ID
First call POST /api/v1/reddit/post/comments with the same Bearer authentication and the post url in its JSON body. This is a separately billed request at its own database-configured price; empty results and failures are free. Read data.result.comments[].id, then send that value as commentId together with the same post url to this endpoint. The prerequisite request is never issued automatically.
…
POST /api/v1/reddit/post/comments
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
{
"url": "https://www.reddit.com/r/wallstreetbets/comments/1xy3kap/"
}Excerpt of the real prerequisite response (other comments, comment fields, billing and balance fields omitted):
{
"code": "ok",
"data": {
"result": {
"comments": [
{
"id": "t1_19sqti9kye3cw"
}
]
}
}
}Request example
POST /api/v1/reddit/post/comment/replies
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
{
"url": "https://www.reddit.com/r/wallstreetbets/comments/1xy3kap/",
"commentId": "t1_19sqti9kye3cw",
"sort": "CONFIDENCE"
}Output fields
Success returns HTTP 200 with business data in data.result. Null, empty strings, empty arrays and missing fields are preserved without fabricated data. False and zero are valid business values, not empty results.
| Field | Type | Meaning |
|---|---|---|
| code | string | ok on success; public error code on failure |
| message | string | Request status message |
| data.result | object / null | Public result; may be empty or null |
| data.creditsUsed | integer | Actual credits charged; zero for empty results, database-configured rate otherwise |
| data.remainingCredits | number | Account credit balance after settlement |
| data.result.comments | array | Public business field; null, empty and missing values are preserved |
| data.result.comments[].author | string | Public business field; null, empty and missing values are preserved |
| data.result.comments[].createdAt | string | Public business field; null, empty and missing values are preserved |
| data.result.comments[].depth | number | Public business field; null, empty and missing values are preserved |
| data.result.comments[].id | string | Public business field; null, empty and missing values are preserved |
| data.result.comments[].parentId | string | Public business field; null, empty and missing values are preserved |
| data.result.comments[].score | number | Public business field; null, empty and missing values are preserved |
| data.result.comments[].text | string | Public business field; null, empty and missing values are preserved |
| data.result.comments[].url | string | Public business field; null, empty and missing values are preserved |
| data.result.count | number | Record count for this page, not the total across all pages |
| data.result.has_more | boolean | Whether more results may exist; no invented pagination without a usable cursor |
| data.result.next_cursor | null | Opaque next-page cursor; reuse unchanged only when nonempty, different and continuation is allowed |
Pagination and result boundaries
Omit cursor initially. For the next page, keep filters unchanged and pass data.result.next_cursor unchanged as cursor. Each page is a separate request; only nonempty successful results are charged. Stop when has_more is false or the cursor is empty or unchanged. Never invent a cursor.
Only direct replies to the specified comment are returned; deeper levels require another request with that reply comment ID.
Real response example
Captured at: 2026-11-18T09:32:00Z
Saved from a real successful request, preserving all public result records. data.creditsUsed and data.remainingCredits are omitted; live responses include the current configured charge and balance. Displaying saved examples sends no query or charge; media URLs may expire.
{
"code": "ok",
"message": "ok",
"data": {
"result": {
"comments": [
{
"id": "t1_19sqtviu58i2s",
"parentId": "t1_19sqti9kye3cw",
"author": "Craneteam",
"score": 753,
"depth": 1,
"createdAt": "2026-11-16T23:19:56.477000+0000",
"url": "https://www.reddit.com/r/wallstreetbets/comments/1xy3kap/comment/19sqtviu58i2s/",
"text": "First vacation in years..."
},
{
"id": "t1_19sqtpt3h29oi",
"parentId": "t1_19sqti9kye3cw",
"author": "chuy2256",
"score": 316,
"depth": 1,
"createdAt": "2026-11-16T23:16:22.924000+0000",
"url": "https://www.reddit.com/r/wallstreetbets/comments/1xy3kap/comment/19sqtpt3h29oi/",
"text": "…And he was holding NVDA $300 Strike Price Calls for November 13"
},
{
"id": "t1_19squvi8n2kci",
"parentId": "t1_19sqti9kye3cw",
"author": "pyronius",
"score": 128,
"depth": 1,
"createdAt": "2026-11-16T23:42:21.068000+0000",
"url": "https://www.reddit.com/r/wallstreetbets/comments/1xy3kap/comment/19squvi8n2kci/",
"text": "And then were told that these were all unconnected one-off events"
}
],
"count": 3,
"next_cursor": null,
"has_more": false
}
}
}Billing
…
Only nonempty successful results are charged at the current database-configured rate. Empty results and failures are free; internal identifier handling has no additional charge. Each page settles separately. Valid false and zero results are not treated as empty.
Status codes
| HTTP | Meaning |
|---|---|
| 200 | Success, including free empty results |
| 400 | Invalid JSON, parameters or resource URL |
| 401 | Authentication required or invalid credentials |
| 402 | Insufficient credits |
| 429 | Rate limited; follow Retry-After |
| 502 | Data request failed |
| 503 | API or pricing is not configured |