Skip to content
Scrappa Get API key
Reddit API 1 credit/request

Reddit User Comments API Documentation

GET https://scrappa.co/api/reddit/user/comments

Reddit User Comments API lists the comments a user wrote. Each comment has id, body, score, subreddit, the id, title and permalink of the post it belongs to, the parent, created_at, edited_at and the flags is_submitter, stickied and distinguished. An unknown or suspended user returns 404.

Every list has pagination with limit, after, next_after and has_more. Pass next_after as after to read the next page. A page is never another page's data under a new label. Reddit ends every list after about 1000 items.

Reddit User Comments API Documentation 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/reddit/user/comments
Auth header
x-api-key
Cost
1 credit/request
username = example
Response preview
200 OK
{
    "data": {
        "sort": "new",
        "time": null,
        "comments": [
            {
                "id": "p1wosm9",
                "body": "That was the thinking. Otherwise it would be easier to just replicate the UI. ",
                "score": 18,
                "author": "spez",
                "locked": false,
                "over_18": false,
                "post_id": "1vgbkge",
                "fullname": "t1_p1wosm9",
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

1 required parameter needed before sending a request.

4 optional filters available.

username string Required

Reddit username. Example: spez.

Example value example
sort string Optional

new (default), hot, top or controversial. Example: new.

Example value relevance
t string Optional

Time window: hour, day, week, month, year or all. Only with sort top or controversial. Items outside the window are never returned. Example: week.

Example value example
after string Optional

Cursor from pagination.next_after of the previous page. Example: t3_1xhv532.

Example value example
limit integer Optional

Items per page, 1 to 100 (default 25). Example: 25.

Example value 10

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "data": {
        "sort": "new",
        "time": null,
        "comments": [
            {
                "id": "p1wosm9",
                "body": "That was the thinking. Otherwise it would be easier to just replicate the UI. ",
                "score": 18,
                "author": "spez",
                "locked": false,
                "over_18": false,
                "post_id": "1vgbkge",
                "fullname": "t1_p1wosm9",
                "stickied": false,
                "edited_at": null,
                "permalink": "https://www.reddit.com/user/spez/comments/1vgbkge/modernizing_reddits_infrastructure_with_you/p1wosm9/",
                "subreddit": "u_spez",
                "created_at": "2026-08-05T18:31:50+00:00",
                "post_title": "Modernizing Reddit\u2019s infrastructure with you",
                "created_utc": 1785954710,
                "post_author": "spez",
                "is_submitter": true,
                "distinguished": "admin",
                "post_permalink": "https://www.reddit.com/user/spez/comments/1vgbkge/modernizing_reddits_infrastructure_with_you/",
                "parent_fullname": "t1_p1wd2fi",
                "controversiality": 0,
                "total_awards_received": 0
            }
        ],
        "username": "spez",
        "pagination": {
            "after": null,
            "limit": 2,
            "has_more": true,
            "next_after": "t1_p1w9j2v"
        }
    },
    "meta": {
        "billable": true,
        "endpoint_family": "user_comments"
    },
    "success": true
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

422

Validation Error

A required parameter or a value is invalid. This response is not billable.

{
    "errors": {
        "username": [
            "The username field is required."
        ]
    },
    "message": "The request validation failed"
}
404

Not Found

The subreddit, post or user does not exist, is private or is banned. This response is not billable.

{
    "meta": {
        "billable": false,
        "retryable": false,
        "endpoint_family": "user_comments"
    },
    "error": {
        "code": "NOT_FOUND",
        "message": "The requested resource was not found."
    },
    "success": false
}
503

Upstream Unavailable

Reddit could not be reached or returned data that does not match the request. This response is not billable and is retryable.

{
    "meta": {
        "billable": false,
        "retryable": true,
        "endpoint_family": "user_comments"
    },
    "error": {
        "code": "UPSTREAM_UNAVAILABLE",
        "message": "Reddit could not be reached. Please retry shortly."
    },
    "success": false
}

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.