Reddit User Comments API
Reddit User Comments: 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/user/commentsRequest 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 user profile 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 |
| sort | JSON body | string | No | new | Result ordering. Values are case-sensitive. enum: "new" 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 |
| feedLength | JSON body | integer | No | 0 | Cumulative number of records returned on earlier pages, initially 0. This is not a page size. minimum: 0 maximum: 1000000 |
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 |
|---|---|
| "new" | Yes |
Request example
POST /api/v1/reddit/user/comments
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
{
"url": "https://www.reddit.com/user/spez/",
"sort": "new",
"feedLength": 0
}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 | null | 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 | string | 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.
feedLength is the cumulative number of records returned before this page, initially zero. Add the actual previous page list length when continuing. count describes only the current page, not an overall total.
Real response example
Captured at: 2026-11-18T09:32:38Z
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_19ruo33ofgh8i",
"parentId": "t3_1xiupuc",
"author": "spez",
"score": -7,
"depth": null,
"createdAt": "2026-10-29T22:42:06.463000+0000",
"url": "https://www.reddit.com/r/RDDT/comments/1xiupuc/comment/19ruo33ofgh8i/?context=3",
"text": "Pretty simple. For people who are already coming to Reddit every week, we have to give them a reason to come back everyday. If you come for sports and entertainment, or food and fashion, or new and trends, or something fun and funny, can you find it simply once you’re here. If the answer is yes, well, then you’re probably going to come back. If the answer is no, you might not.\n \n We’ve got a lot we’ll be testing in the coming months towards this end. For example, where we have For You and Following today in the app, we’ll be adding other feeds and topics so you can hopefully more easily get the vibe you’re looking for."
},
{
"id": "t1_19ruo2bw7d6ps",
"parentId": "t3_1xiupuc",
"author": "spez",
"score": -9,
"depth": null,
"createdAt": "2026-10-29T22:41:37.623000+0000",
"url": "https://www.reddit.com/r/RDDT/comments/1xiupuc/comment/19ruo2bw7d6ps/?context=3",
"text": "At a high level, however people want to communicate on the internet, they should be able to do so on Reddit.\n \n We’ve continually evolved over the years, from just links to text to images (becoming a home for early memes and GIFs) to video and now some audio and beyond.\n \n We’ve seen progress with some of the new video formats that we’ve been testing this year. Video creation, video consumption and chained video views grow. I’m very excited to expand on video AMAs, text-to-speech for background listening, and more new Devvit experiences."
},
{
"id": "t1_19ruo0i3k53he",
"parentId": "t3_1xiupm0",
"author": "spez",
"score": 23,
"depth": null,
"createdAt": "2026-10-29T22:40:29.330000+0000",
"url": "https://www.reddit.com/user/spez/comments/1xiupm0/comment/19ruo0i3k53he/?context=3",
"text": "me too, Gary, me too…"
},
{
"id": "t1_19runzmofvco5",
"parentId": "t3_1xiupm0",
"author": "spez",
"score": 24,
"depth": null,
"createdAt": "2026-10-29T22:39:56.717000+0000",
"url": "https://www.reddit.com/user/spez/comments/1xiupm0/comment/19runzmofvco5/?context=3",
"text": "On Reddit, we target ads based on your interests that are expressed through the subreddits you spend time in. When I say we don’t know you, I mean, we don’t know your name or real world identity. And when there is something like an ID check for age verification, we only do this through third-parties, so we never see that information at all."
},
{
"id": "t1_19runy506ezfl",
"parentId": "t3_1xiupm0",
"author": "spez",
"score": 8,
"depth": null,
"createdAt": "2026-10-29T22:39:01.004000+0000",
"url": "https://www.reddit.com/user/spez/comments/1xiupm0/comment/19runy506ezfl/?context=3",
"text": "I think you did a good job answering your own question. I totally agree. We have to find the right balance. That said, the majority of new community discovery today happens through the personalized home feed, which only works if you’re logged in."
},
{
"id": "t1_19runxce4jc9x",
"parentId": "t3_1xiupm0",
"author": "spez",
"score": 5,
"depth": null,
"createdAt": "2026-10-29T22:38:31.306000+0000",
"url": "https://www.reddit.com/user/spez/comments/1xiupm0/comment/19runxce4jc9x/?context=3",
"text": "Regardless of the shift to logged-in, streamlining the whole registration and onboarding process is important. Believe it or not, it’s much faster than it was a year ago, but I think there is a lot of room for improvement still. My dream is to have onboarding-less onboarding. You register quickly and get to a feed that is easy to get dialed in for you."
},
{
"id": "t1_19runwkcgtuqq",
"parentId": "t3_1xiupm0",
"author": "spez",
"score": 4,
"depth": null,
"createdAt": "2026-10-29T22:38:02.195000+0000",
"url": "https://www.reddit.com/user/spez/comments/1xiupm0/comment/19runwkcgtuqq/?context=3",
"text": "That would be in the spirit of that feature, yes."
},
{
"id": "t1_19runvxrpd8f6",
"parentId": "t3_1xiupm0",
"author": "spez",
"score": 25,
"depth": null,
"createdAt": "2026-10-29T22:37:38.761000+0000",
"url": "https://www.reddit.com/user/spez/comments/1xiupm0/comment/19runvxrpd8f6/?context=3",
"text": "We’re going to have to test and find the right balance. The one-off visitor from a shared link or search referred user aren’t the primary target here. \n \n And, this will make scraping Reddit more difficult generally."
},
{
"id": "t1_p1wosm9",
"parentId": "t3_1vgbkge",
"author": "spez",
"score": 20,
"depth": null,
"createdAt": "2026-08-05T18:31:50.140000+0000",
"url": "https://www.reddit.com/user/spez/comments/1vgbkge/comment/p1wosm9/?context=3",
"text": "That was the thinking. Otherwise it would be easier to just replicate the UI."
},
{
"id": "t1_p1w9sot",
"parentId": "t3_1vgbkge",
"author": "spez",
"score": 27,
"depth": null,
"createdAt": "2026-08-05T17:30:18.963000+0000",
"url": "https://www.reddit.com/user/spez/comments/1vgbkge/comment/p1w9sot/?context=3",
"text": "If we replace every line of code but the output is the same, is it still old Reddit?"
},
{
"id": "t1_p1w9j2v",
"parentId": "t3_1vgbkge",
"author": "spez",
"score": 28,
"depth": null,
"createdAt": "2026-08-05T17:29:13.273000+0000",
"url": "https://www.reddit.com/user/spez/comments/1vgbkge/comment/p1w9j2v/?context=3",
"text": "Karma and Age gates are really blunt tools that, while we understand why they are used today, end up with a blast radius making the it hard for (good) new users finding a way to participate. That makes a bad experience. Our plan is to build tools so you no longer feel the need to rely on hammers like those. But we’ll make sure you can see it working better before proceeding."
},
{
"id": "t1_p1vy2h1",
"parentId": "t3_1vgbkge",
"author": "spez",
"score": 68,
"depth": null,
"createdAt": "2026-08-05T16:42:20.041000+0000",
"url": "https://www.reddit.com/user/spez/comments/1vgbkge/comment/p1vy2h1/?context=3",
"text": "I am once again coming to you to ask you to spend more time in this app."
},
{
"id": "t1_p1vttld",
"parentId": "t3_1vgbkge",
"author": "spez",
"score": 15,
"depth": null,
"createdAt": "2026-08-05T16:24:51.522000+0000",
"url": "https://www.reddit.com/user/spez/comments/1vgbkge/comment/p1vttld/?context=3",
"text": "Yep. We'll work closely with mod teams to test the new tools along side your old tools. We want our new tools to have fewer false positives, while still catching all the crud that should be kept out of your spaces, and you should be able to see this before we go forward. Our teams will also be working alongside your to help make the transitions once we're ready."
},
{
"id": "t1_p1vrya9",
"parentId": "t3_1vgbkge",
"author": "spez",
"score": 40,
"depth": null,
"createdAt": "2026-08-05T16:17:14.643000+0000",
"url": "https://www.reddit.com/user/spez/comments/1vgbkge/comment/p1vrya9/?context=3",
"text": "I'm sorry what"
},
{
"id": "t1_p1vrf3r",
"parentId": "t3_1vgbkge",
"author": "spez",
"score": 72,
"depth": null,
"createdAt": "2026-08-05T16:15:03.911000+0000",
"url": "https://www.reddit.com/user/spez/comments/1vgbkge/comment/p1vrf3r/?context=3",
"text": "My only hope is that karma and account age filters don’t disappear before Reddit has actually proven that its own abuse detection tools work in the real world.\n \n \n That's the plan. We're testing it now with a few volunteer mods / subs. Still have some work to do."
},
{
"id": "t1_p0rih9t",
"parentId": "t3_1vb4oe8",
"author": "spez",
"score": 18,
"depth": null,
"createdAt": "2026-07-30T22:39:07.795000+0000",
"url": "https://www.reddit.com/r/RDDT/comments/1vb4oe8/comment/p0rih9t/?context=3",
"text": "Reddit is for people talking to people, and protecting that trust is a top priority. I gave a more thorough update on this in March, but the TL;DR is we’re fighting bad bots and spam on several fronts: making Reddit harder to scrape at scale, using proactive models that prevent up to 23 million spam views per day, and revoking nearly 2 million inauthentic votes per day.\n \n Useful bots will be clearly labeled. Suspicious accounts may be asked to confirm there’s a human behind them, without requiring people to reveal their real-world identity. Communities will continue setting their own rules for AI-generated content—but a recent report by Pangram found that Reddit had one of the lowest scores for prevalence of AI-generated content of any platform.\n \n The hoodies are real; handwritten letters are fan fiction—but a good idea. Wish we had thought of it, but we were moving fast."
},
{
"id": "t1_p0ri6c3",
"parentId": "t3_1vb4oe8",
"author": "spez",
"score": 16,
"depth": null,
"createdAt": "2026-07-30T22:37:36.676000+0000",
"url": "https://www.reddit.com/r/RDDT/comments/1vb4oe8/comment/p0ri6c3/?context=3",
"text": "Thank you for your support of RDDT.\n \n About a year ago we began rolling limits on moderation, including the limitation for redditors to moderate up to five communities with over 100k weekly visitors. We also changed our primary metric of a community’s activity from subscribers to weekly visitors, which is more indicative of traffic. We’ll continue to keep an eye on this."
},
{
"id": "t1_p0ri0bd",
"parentId": "t3_1vb4oe8",
"author": "spez",
"score": 15,
"depth": null,
"createdAt": "2026-07-30T22:36:44.998000+0000",
"url": "https://www.reddit.com/r/RDDT/comments/1vb4oe8/comment/p0ri0bd/?context=3",
"text": "Our long-term goal hasn’t changed: 1 billion daily users globally and 100 million in the US. To get there, Reddit needs to become a daily destination, not a site people mainly discover through third-party search.\n \n We made good progress this quarter in a few areas that really matter here. New-user retention in the app improved 50% year over year on a relative basis, more communities are reaching a thriving state, and we’re getting better at turning people who first visit on the web into higher-quality app users who come back more often.\n \n We’re focused on what we can control, which is the core app experience. This is what will get us to that goal."
},
{
"id": "t1_p0rhxmo",
"parentId": "t3_1vb4oe8",
"author": "spez",
"score": 18,
"depth": null,
"createdAt": "2026-07-30T22:36:22.351000+0000",
"url": "https://www.reddit.com/r/RDDT/comments/1vb4oe8/comment/p0rhxmo/?context=3",
"text": "We saw some impact after the initial launch of age verification in the UK about a year ago, but as we’ve gotten better at identifying users who should be ID’d, this has settled. \n \n The vast majority of Reddit users are adults, but we're committed to providing a safe experience for everyone who uses the platform, regardless of how regulations evolve globally. And we’re continuing to explore ways to strengthen safeguards for teens on the platform."
},
{
"id": "t1_p0rhup4",
"parentId": "t3_1vb4oe8",
"author": "spez",
"score": 22,
"depth": null,
"createdAt": "2026-07-30T22:35:57.807000+0000",
"url": "https://www.reddit.com/r/RDDT/comments/1vb4oe8/comment/p0rhup4/?context=3",
"text": "This is something we’ve discussed internally, but it’s not a priority at the moment. Our main focus continues to be making Reddit the best version of itself (faster, easier, better to use), versus layering in new features and experiences.\n \n I’m glad the carabiner found its audience."
},
{
"id": "t1_p0rhpwr",
"parentId": "t3_1vb4oe8",
"author": "spez",
"score": 18,
"depth": null,
"createdAt": "2026-07-30T22:35:17.724000+0000",
"url": "https://www.reddit.com/r/RDDT/comments/1vb4oe8/comment/p0rhpwr/?context=3",
"text": "I took this one on the analyst call, but just in case folks missed my response...\n \n I had a couple of conversations with brands we’ve wanted on Reddit for a long time. What stood out was how much better advertisers understand Reddit now. They see that people come here with intent, looking for honest opinions and real recommendations, and that creates value that’s hard to find elsewhere.\n \n I also loved seeing how our team shows up at this event. They are our best evangelists: they know the product, understand our communities, and explain Reddit in a way that feels true to what it is. I always leave Cannes feeling really proud of how far we’ve come.\n \n PS - Carabiner idea was from yours truly. Not sure if I regret it or not."
},
{
"id": "t1_os0o1vi",
"parentId": "t3_1u7hraf",
"author": "spez",
"score": 135,
"depth": null,
"createdAt": "2026-06-16T16:59:58.137000+0000",
"url": "https://www.reddit.com/user/spez/comments/1u7hraf/comment/os0o1vi/?context=3",
"text": "And thank you (mod tools suck) u/shiruken!"
},
{
"id": "t1_os0jtt9",
"parentId": "t3_1u7hraf",
"author": "spez",
"score": 55,
"depth": null,
"createdAt": "2026-06-16T16:41:57.725000+0000",
"url": "https://www.reddit.com/user/spez/comments/1u7hraf/comment/os0jtt9/?context=3",
"text": "You were the ride"
},
{
"id": "t1_orucdtm",
"parentId": "t3_1u6nnyv",
"author": "spez",
"score": 170,
"depth": null,
"createdAt": "2026-06-15T19:01:03.726000+0000",
"url": "https://www.reddit.com/r/redditstock/comments/1u6nnyv/comment/orucdtm/?context=3",
"text": "Haven’t forgotten about you 👊"
},
{
"id": "t1_optfyql",
"parentId": "t3_1tvs5jj",
"author": "spez",
"score": 28,
"depth": null,
"createdAt": "2026-06-05T00:51:55.560000+0000",
"url": "https://www.reddit.com/r/RDDT/comments/1tvs5jj/comment/optfyql/?context=3",
"text": "Juuuust kidding. We’ll follow up with the hoodie plan."
}
],
"count": 25,
"next_cursor": "dDFfb3B0ZnlxbA==",
"has_more": true
}
}
}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 |