Reddit post comments
Post comments with the Reddit API. Input fields and response shapes depend on the selected implementation. Surface recurring topics and audience feedback. Choose an implementation and check its published request fields, examples, and usage pricing before integrating.
- Selected price
- $0.00188 / callPublished pricing
- Sellers / APIs
- 2 / 3
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
Reddit post comments
Prepare your request, then continue with your agent.
Selected price
$0.00188 / call
- Provider
- API
- Pricing
On this page
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
commentsobject[]authorstringauthor_fullnamestringbodystringcreated_at_isostringcreated_utcintegerdownsintegeridstringnamestringparent_idstringrepliesobjectitemsobject[]all_awardingsunknown[]approved_at_utcnullapproved_bynullarchivedbooleanassociated_awardnullauthorstringauthor_fullnamestringauthor_is_blockedbooleanauthor_patreon_flairbooleanauthor_premiumbooleanawardersunknown[]banned_at_utcnullbanned_bynullbodystringbody_htmlstringcan_gildbooleancan_mod_postbooleancollapsedbooleancollapsed_because_crowd_controlnullcollapsed_reasonnullcollapsed_reason_codenullcomment_typenullcontroversialityintegercreatedintegercreated_at_isostringcreated_utcintegerdepthintegerdistinguishednulldownsintegereditedbooleangildedintegergildingsobjectidstringis_submitterbooleanlikesnulllink_idstringlockedbooleanmod_notenullmod_reason_bynullmod_reason_titlenullmod_reportsunknown[]namestringno_followbooleannum_reportsnullparent_idstringpermalinkstringremoval_reasonnullrepliesobjectitemsunknown[]moreobjecthas_morebooleannext_cursornull
report_reasonsnullsavedbooleanscoreintegerscore_hiddenbooleansend_repliesbooleanstickiedbooleansubredditstringsubreddit_idstringsubreddit_name_prefixedstringsubreddit_typestringtop_awarded_typenulltotal_awards_receivedintegertreatment_tagsunknown[]unrepliable_reasonnullupsintegerurlstringuser_reportsunknown[]
moreobjectcursorstringhas_moreboolean
scoreintegerupsintegerurlstring
credits_chargedintegercredits_remainingintegermoreobjectcursorstringhas_moreboolean
postobjectauthorstringauthor_fullnamestringcreatedintegercreated_utcintegerdownsintegeridstringis_videobooleannamestringnum_commentsintegerscoreintegersubredditstringsubreddit_subscribersintegertitlestringtotal_awards_receivedintegerupsintegerupvote_rationumberurlstring
successboolean
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
comments?: Array<{
author?: string;
author_fullname?: string;
body?: string;
created_at_iso?: string;
created_utc?: number;
downs?: number;
id?: string;
name?: string;
parent_id?: string;
replies?: {
items?: Array<{
all_awardings?: Array<unknown>;
approved_at_utc?: null;
approved_by?: null;
archived?: boolean;
associated_award?: null;
author?: string;
author_fullname?: string;
author_is_blocked?: boolean;
author_patreon_flair?: boolean;
author_premium?: boolean;
awarders?: Array<unknown>;
banned_at_utc?: null;
banned_by?: null;
body?: string;
body_html?: string;
can_gild?: boolean;
can_mod_post?: boolean;
collapsed?: boolean;
collapsed_because_crowd_control?: null;
collapsed_reason?: null;
collapsed_reason_code?: null;
comment_type?: null;
controversiality?: number;
created?: number;
created_at_iso?: string;
created_utc?: number;
depth?: number;
distinguished?: null;
downs?: number;
edited?: boolean;
gilded?: number;
gildings?: Record<string, unknown>;
id?: string;
is_submitter?: boolean;
likes?: null;
link_id?: string;
locked?: boolean;
mod_note?: null;
mod_reason_by?: null;
mod_reason_title?: null;
mod_reports?: Array<unknown>;
name?: string;
no_follow?: boolean;
num_reports?: null;
parent_id?: string;
permalink?: string;
removal_reason?: null;
replies?: {
items?: Array<unknown>;
more?: {
has_more?: boolean;
next_cursor?: null;
};
};
report_reasons?: null;
saved?: boolean;
score?: number;
score_hidden?: boolean;
send_replies?: boolean;
stickied?: boolean;
subreddit?: string;
subreddit_id?: string;
subreddit_name_prefixed?: string;
subreddit_type?: string;
top_awarded_type?: null;
total_awards_received?: number;
treatment_tags?: Array<unknown>;
unrepliable_reason?: null;
ups?: number;
url?: string;
user_reports?: Array<unknown>;
}>;
more?: {
cursor?: string;
has_more?: boolean;
};
};
score?: number;
ups?: number;
url?: string;
}>;
credits_charged?: number;
credits_remaining?: number;
more?: {
cursor?: string;
has_more?: boolean;
};
post?: {
author?: string;
author_fullname?: string;
created?: number;
created_utc?: number;
downs?: number;
id?: string;
is_video?: boolean;
name?: string;
num_comments?: number;
score?: number;
subreddit?: string;
subreddit_subscribers?: number;
title?: string;
total_awards_received?: number;
ups?: number;
upvote_ratio?: number;
url?: string;
};
success?: boolean;
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
Current Reddit — Post Comments · POST · View API reference | $0.00188 / call | — | —successP50— | |
| Reddit — Post Comments · GET · View API reference | $0.00188 / call | —Select to load statistics | —successP50— | |
| Fetch Reddit APP Post Comments · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— |
- Unit price
- $0.00188
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 3. Price update time: not supplied.
Total $0.188
API
- Method
- POST
- Endpoint
https://api.openany.si/v1/agent-apis/scrapecreators/v1/reddit/post/comments- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/scrapecreators/v1/reddit/post/comments' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"trim": false,
"url": "https://www.reddit.com/r/AskReddit/comments/ablzuq/people_who_havent_pooped_in_2019_yet_why_are_you/"
}'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
url | JSON request bodybody | string | Yes | Reddit post URL |
cursor | JSON request bodybody | string | No | One opaque cursor returned by the previous response to get more comments or replies. Do not combine multiple cursors. |
trim | JSON request bodybody | boolean | No | Set to true for a trimmed down version of the response |
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Sample response · Documented HTTP 200 Example from the provider's documentation. Field values in your results will differ.
{
"comments": [
{
"author": "Background-Emu-2890",
"author_fullname": "t2_efdlposp6",
"body": "Black cat i have one and i love her so much !",
"created_at_iso": "2025-06-19T14:10:21.000Z",
"created_utc": 1750342221,
"downs": 0,
"id": "mymupxb",
"name": "t1_mymupxb",
"parent_id": "t3_1lfbo7u",
"replies": {
"items": [
{
"all_awardings": [],
"approved_at_utc": null,
"approved_by": null,
"archived": false,
"associated_award": null,
"author": "doublestitch",
"author_fullname": "t2_10py0g",
"author_is_blocked": false,
"author_patreon_flair": false,
"author_premium": false,
"awarders": [],
"banned_at_utc": null,
"banned_by": null,
"body": "House panthers for the win",
"body_html": "<div class=\"md\"><p>House panthers for the win</p>\n</div>",
"can_gild": false,
"can_mod_post": false,
"collapsed": false,
"collapsed_because_crowd_control": null,
"collapsed_reason": null,
"collapsed_reason_code": null,
"comment_type": null,
"controversiality": 0,
"created": 1750343166,
"created_at_iso": "2025-06-19T14:26:06.000Z",
"created_utc": 1750343166,
"depth": 1,
"distinguished": null,
"downs": 0,
"edited": false,
"gilded": 0,
"gildings": {},
"id": "mymxwde",
"is_submitter": false,
"likes": null,
"link_id": "t3_1lfbo7u",
"locked": false,
"mod_note": null,
"mod_reason_by": null,
"mod_reason_title": null,
"mod_reports": [],
"name": "t1_mymxwde",
"no_follow": false,
"num_reports": null,
"parent_id": "t1_mymupxb",
"permalink": "/r/AskReddit/comments/1lfbo7u/what_is_a_thing_you_love_that_lots_of_people_hate/mymxwde/",
"removal_reason": null,
"replies": {
"items": [],
"more": {
"has_more": false,
"next_cursor": null
}
},
"report_reasons": null,
"saved": false,
"score": 19,
"score_hidden": false,
"send_replies": true,
"stickied": false,
"subreddit": "AskReddit",
"subreddit_id": "t5_2qh1i",
"subreddit_name_prefixed": "r/AskReddit",
"subreddit_type": "public",
"top_awarded_type": null,
"total_awards_received": 0,
"treatment_tags": [],
"unrepliable_reason": null,
"ups": 19,
"url": "https://www.reddit.com/r/AskReddit/comments/1lfbo7u/what_is_a_thing_you_love_that_lots_of_people_hate/mymxwde/",
"user_reports": []
}
],
"more": {
"cursor": "myn970w",
"has_more": true
}
},
"score": 75,
"ups": 75,
"url": "https://www.reddit.com/r/AskReddit/comments/1lfbo7u/what_is_a_thing_you_love_that_lots_of_people_hate/mymupxb/"
}
],
"credits_charged": 1,
"credits_remaining": 1000000,
"more": {
"cursor": "myoaw2m,myob40l,myoeo9h",
"has_more": true
},
"post": {
"author": "Vetro_Nodulare2",
"author_fullname": "t2_16syu27ar1",
"created": 1750341959,
"created_utc": 1750341959,
"downs": 0,
"id": "1lfbo7u",
"is_video": false,
"name": "t3_1lfbo7u",
"num_comments": 353,
"score": 47,
"subreddit": "AskReddit",
"subreddit_subscribers": 56146601,
"title": "What is a thing you love that lots of people hate?",
"total_awards_received": 0,
"ups": 47,
"upvote_ratio": 0.91,
"url": "https://www.reddit.com/r/AskReddit/comments/1lfbo7u/what_is_a_thing_you_love_that_lots_of_people_hate/"
},
"success": true
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# Reddit post comments
Post comments with the Reddit API. Input fields and response shapes depend on the selected implementation. Surface recurring topics and audience feedback. Choose an implementation and check its published request fields, examples, and usage pricing before integrating.
## Available implementations
scrapecreators · Reddit — Post Comments: https://openany.si/markets/apis/capabilities/reddit-post-comments?offering=4498e71c-260d-4e1c-9c71-ccd1d6a28df7 · $0.00188 / call
scrapecreators · Reddit — Post Comments: https://openany.si/markets/apis/capabilities/reddit-post-comments?offering=d88c3fb5-5458-4eb4-a460-0154ce56e32c · $0.00188 / call
tikhub · Fetch Reddit APP Post Comments: https://openany.si/markets/apis/capabilities/reddit-post-comments?offering=1658484a-4c82-406e-852e-525a2f8c54d2 · $0.001 / call
## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/reddit-post-comments
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/scrapecreators/v1/reddit/post/comments
Price: $0.00188 / call
Provider: scrapecreators
Contract revision: 3
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
curl \
'https://api.openany.si/v1/agent-apis/scrapecreators/v1/reddit/post/comments' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"trim": false,
"url": "https://www.reddit.com/r/AskReddit/comments/ablzuq/people_who_havent_pooped_in_2019_yet_why_are_you/"
}'
```
## API contract
```json
{
"resource_type": "api",
"name": "Reddit — Post Comments",
"endpoint": "https://api.openany.si/v1/agent-apis/scrapecreators/v1/reddit/post/comments",
"method": "POST",
"content_type": "application/json",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "Reddit post URL",
"location": "body",
"name": "url",
"nullable": false,
"pointer": "/url",
"required": true,
"type": "string"
},
{
"description": "One opaque cursor returned by the previous response to get more comments or replies. Do not combine multiple cursors.",
"location": "body",
"name": "cursor",
"nullable": false,
"pointer": "/cursor",
"required": false,
"type": "string"
},
{
"description": "Set to true for a trimmed down version of the response",
"location": "body",
"name": "trim",
"nullable": false,
"pointer": "/trim",
"required": false,
"type": "boolean"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "1880",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "Official example",
"request": {
"body": {
"trim": false,
"url": "https://www.reddit.com/r/AskReddit/comments/ablzuq/people_who_havent_pooped_in_2019_yet_why_are_you/"
},
"headers": {},
"path": {},
"query": {}
},
"response_body": {
"comments": [
{
"author": "Background-Emu-2890",
"author_fullname": "t2_efdlposp6",
"body": "Black cat i have one and i love her so much !",
"created_at_iso": "2025-06-19T14:10:21.000Z",
"created_utc": 1750342221,
"downs": 0,
"id": "mymupxb",
"name": "t1_mymupxb",
"parent_id": "t3_1lfbo7u",
"replies": {
"items": [
{
"all_awardings": [],
"approved_at_utc": null,
"approved_by": null,
"archived": false,
"associated_award": null,
"author": "doublestitch",
"author_fullname": "t2_10py0g",
"author_is_blocked": false,
"author_patreon_flair": false,
"author_premium": false,
"awarders": [],
"banned_at_utc": null,
"banned_by": null,
"body": "House panthers for the win",
"body_html": "<div class=\"md\"><p>House panthers for the win</p>\n</div>",
"can_gild": false,
"can_mod_post": false,
"collapsed": false,
"collapsed_because_crowd_control": null,
"collapsed_reason": null,
"collapsed_reason_code": null,
"comment_type": null,
"controversiality": 0,
"created": 1750343166,
"created_at_iso": "2025-06-19T14:26:06.000Z",
"created_utc": 1750343166,
"depth": 1,
"distinguished": null,
"downs": 0,
"edited": false,
"gilded": 0,
"gildings": {},
"id": "mymxwde",
"is_submitter": false,
"likes": null,
"link_id": "t3_1lfbo7u",
"locked": false,
"mod_note": null,
"mod_reason_by": null,
"mod_reason_title": null,
"mod_reports": [],
"name": "t1_mymxwde",
"no_follow": false,
"num_reports": null,
"parent_id": "t1_mymupxb",
"permalink": "/r/AskReddit/comments/1lfbo7u/what_is_a_thing_you_love_that_lots_of_people_hate/mymxwde/",
"removal_reason": null,
"replies": {
"items": [],
"more": {
"has_more": false,
"next_cursor": null
}
},
"report_reasons": null,
"saved": false,
"score": 19,
"score_hidden": false,
"send_replies": true,
"stickied": false,
"subreddit": "AskReddit",
"subreddit_id": "t5_2qh1i",
"subreddit_name_prefixed": "r/AskReddit",
"subreddit_type": "public",
"top_awarded_type": null,
"total_awards_received": 0,
"treatment_tags": [],
"unrepliable_reason": null,
"ups": 19,
"url": "https://www.reddit.com/r/AskReddit/comments/1lfbo7u/what_is_a_thing_you_love_that_lots_of_people_hate/mymxwde/",
"user_reports": []
}
],
"more": {
"cursor": "myn970w",
"has_more": true
}
},
"score": 75,
"ups": 75,
"url": "https://www.reddit.com/r/AskReddit/comments/1lfbo7u/what_is_a_thing_you_love_that_lots_of_people_hate/mymupxb/"
}
],
"credits_charged": 1,
"credits_remaining": 1000000,
"more": {
"cursor": "myoaw2m,myob40l,myoeo9h",
"has_more": true
},
"post": {
"author": "Vetro_Nodulare2",
"author_fullname": "t2_16syu27ar1",
"created": 1750341959,
"created_utc": 1750341959,
"downs": 0,
"id": "1lfbo7u",
"is_video": false,
"name": "t3_1lfbo7u",
"num_comments": 353,
"score": 47,
"subreddit": "AskReddit",
"subreddit_subscribers": 56146601,
"title": "What is a thing you love that lots of people hate?",
"total_awards_received": 0,
"ups": 47,
"upvote_ratio": 0.91,
"url": "https://www.reddit.com/r/AskReddit/comments/1lfbo7u/what_is_a_thing_you_love_that_lots_of_people_hate/"
},
"success": true
}
}
]
}
```Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 3
Review these request fields before running. Keep the published provider and request method unchanged.
url- Reddit post URL
cursor- One opaque cursor returned by the previous response to get more comments or replies. Do not combine multiple cursors.
trim- Set to true for a trimmed down version of the response
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/scrapecreators/v1/reddit/post/comments' \ -X POST \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json' \ --data-raw '{ "trim": false, "url": "https://www.reddit.com/r/AskReddit/comments/ablzuq/people_who_havent_pooped_in_2019_yet_why_are_you/" }'Check the response
Sample response · Documented HTTP 200
Sample response{ "comments": [ { "author": "Background-Emu-2890", "author_fullname": "t2_efdlposp6", "body": "Black cat i have one and i love her so much !", "created_at_iso": "2025-06-19T14:10:21.000Z", "created_utc": 1750342221, "downs": 0, "id": "mymupxb", "name": "t1_mymupxb", "parent_id": "t3_1lfbo7u", "replies": { "items": [ { "all_awardings": [], "approved_at_utc": null, "approved_by": null, "archived": false, "associated_award": null, "author": "doublestitch", "author_fullname": "t2_10py0g", "author_is_blocked": false, "author_patreon_flair": false, "author_premium": false, "awarders": [], "banned_at_utc": null, "banned_by": null, "body": "House panthers for the win", "body_html": "<div class=\"md\"><p>House panthers for the win</p>\n</div>", "can_gild": false, "can_mod_post": false, "collapsed": false, "collapsed_because_crowd_control": null, "collapsed_reason": null, "collapsed_reason_code": null, "comment_type": null, "controversiality": 0, "created": 1750343166, "created_at_iso": "2025-06-19T14:26:06.000Z", "created_utc": 1750343166, "depth": 1, "distinguished": null, "downs": 0, "edited": false, "gilded": 0, "gildings": {}, "id": "mymxwde", "is_submitter": false, "likes": null, "link_id": "t3_1lfbo7u", "locked": false, "mod_note": null, "mod_reason_by": null, "mod_reason_title": null, "mod_reports": [], "name": "t1_mymxwde", "no_follow": false, "num_reports": null, "parent_id": "t1_mymupxb", "permalink": "/r/AskReddit/comments/1lfbo7u/what_is_a_thing_you_love_that_lots_of_people_hate/mymxwde/", "removal_reason": null, "replies": { "items": [], "more": { "has_more": false, "next_cursor": null } }, "report_reasons": null, "saved": false, "score": 19, "score_hidden": false, "send_replies": true, "stickied": false, "subreddit": "AskReddit", "subreddit_id": "t5_2qh1i", "subreddit_name_prefixed": "r/AskReddit", "subreddit_type": "public", "top_awarded_type": null, "total_awards_received": 0, "treatment_tags": [], "unrepliable_reason": null, "ups": 19, "url": "https://www.reddit.com/r/AskReddit/comments/1lfbo7u/what_is_a_thing_you_love_that_lots_of_people_hate/mymxwde/", "user_reports": [] } ], "more": { "cursor": "myn970w", "has_more": true } }, "score": 75, "ups": 75, "url": "https://www.reddit.com/r/AskReddit/comments/1lfbo7u/what_is_a_thing_you_love_that_lots_of_people_hate/mymupxb/" } ], "credits_charged": 1, "credits_remaining": 1000000, "more": { "cursor": "myoaw2m,myob40l,myoeo9h", "has_more": true }, "post": { "author": "Vetro_Nodulare2", "author_fullname": "t2_16syu27ar1", "created": 1750341959, "created_utc": 1750341959, "downs": 0, "id": "1lfbo7u", "is_video": false, "name": "t3_1lfbo7u", "num_comments": 353, "score": 47, "subreddit": "AskReddit", "subreddit_subscribers": 56146601, "title": "What is a thing you love that lots of people hate?", "total_awards_received": 0, "ups": 47, "upvote_ratio": 0.91, "url": "https://www.reddit.com/r/AskReddit/comments/1lfbo7u/what_is_a_thing_you_love_that_lots_of_people_hate/" }, "success": true }