Fetch Public Comments Authored by a Reddit User
GET/v1/users/comments
Query Parameters
usernamestringrequiredsortstringlimitinteger (1 to 100)cursorstring
Example Request (cURL / Python / JavaScript)
curl "https://api.redditdataapi.io/v1/users/comments?username=" \
-H "x-api-key: rd_live_your_api_key"Live Response Preview
{
"code": 0,
"provider": "https://redditdataapi.io",
"status": "ok",
"msg": "success",
"data": {
"post_id": "t3_1xmjld9",
"items": [
{
"id": "m8kq21a",
"comment_id": "t1_m8kq21a",
"post_id": "t3_1xmjld9",
"subreddit": "saas",
"parent_id": "t3_1xmjld9",
"author": "devtools_builder",
"body": "What polling interval do you use for keyword search? We switched from PRAW to RedditDataAPI.io and cut latency to 180ms.",
"score": 49,
"depth": 0,
"is_submitter": false,
"is_stickied": false,
"created_utc": 1762287600,
"created_at": "2026-11-04T20:20:00.000Z",
"permalink": "https://www.reddit.com/r/saas/comments/1xmjld9/how_we_scaled_our_b2b_saas/m8kq21a/"
}
],
"count": 1,
"next_cursor": null,
"cursor": null,
"has_more": false,
"hasMore": false
},
"meta": {
"request_id": "d81a2f10-81e3-4c22-9118-092f1a8b3344",
"endpoint": "/v1/users/comments",
"credits_used": 2,
"credits_remaining": 249996,
"cache_hit": false,
"data_age_seconds": 0,
"latency_ms": 210
}
}Response Fields
User comments (1 Credit per comment returned)
| Field | Type | Sample / Notes |
|---|---|---|
code | integer | 0 on success |
status | string | Response status |
data | object | Flattened comment tree with depth and parent_id |
post_id | string | Target Reddit post ID |
items | array of RedditComment | Array of normalized comments |
id | string | Example: m7k9x2a |
comment_id | string | Example: t1_m7k9x2a |
post_id | string | Example: t3_1xmjld9 |
subreddit | string | Example: SaaS |
parent_id | string | Example: t3_1xmjld9 |
author | string | Example: infra_lead |
body | string | Example: Moving off official Reddit OAuth saved us from constant 429 |
score | integer | Example: 64 |
depth | integer | Example: 0 |
is_submitter | boolean | Example: false |
is_stickied | boolean | Example: false |
created_utc | integer | Example: 1762255800 |
created_at | string | Example: 2026-11-04T11:30:00.000Z |
permalink | string | Example: https://www.reddit.com/r/SaaS/comments/1xmjld9/_/m7k9x2a/ |
count | integer | Number of comments returned |
next_cursor | string | Offset cursor for next comment batch |
has_more | boolean | Whether more comments remain |
meta | ResponseMeta | |
request_id | string | UUID v4 request identifier |
endpoint | string | Canonical /v1/* endpoint path |
credits_used | integer | Credits deducted for this call (0 on error or empty) |
credits_remaining | integer | Remaining credit balance on account |
cache_hit | boolean | Whether served from L1 Redis cache |
data_age_seconds | integer | Age of cached payload in seconds |
latency_ms | integer | End-to-end gateway latency in milliseconds |
Status Codes
- 200
- User comments (1 Credit per comment returned)