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

Reddit User Profile API Documentation

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

Reddit User Profile API returns one user by exact name: id, username, creation date, link karma, comment karma, total karma, avatar, a short description and the flags is_gold, is_employee, verified and over_18. A suspended, renamed or unknown user returns 404.

Reddit User Profile API Documentation 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/reddit/user/profile
Auth header
x-api-key
Cost
1 credit/request
username = example
Response preview
200 OK
{
    "data": {
        "user": {
            "id": "1w72",
            "url": "https://www.reddit.com/user/spez",
            "is_gold": true,
            "over_18": false,
            "fullname": "t2_1w72",
            "username": "spez",
            "verified": true,
            "avatar_url": "https://styles.redditmedia.com/t5_3k30p/styles/profileIcon_uj015iwx9s7g1.png?width=256&height=256&crop=256:256,smart&s=aa819b0964f6e3019e...",
            "created_at": "2005-06-06T04:00:00+00:00",
            "link_karma": 184586,
            "created_utc": 1118030400,
...

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.

username string Required

Reddit username, 3 to 20 characters. Example: spez.

Example value example

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": {
        "user": {
            "id": "1w72",
            "url": "https://www.reddit.com/user/spez",
            "is_gold": true,
            "over_18": false,
            "fullname": "t2_1w72",
            "username": "spez",
            "verified": true,
            "avatar_url": "https://styles.redditmedia.com/t5_3k30p/styles/profileIcon_uj015iwx9s7g1.png?width=256&height=256&crop=256:256,smart&s=aa819b0964f6e3019e...",
            "created_at": "2005-06-06T04:00:00+00:00",
            "link_karma": 184586,
            "created_utc": 1118030400,
            "description": "Reddit CEO",
            "is_employee": true,
            "total_karma": 941124,
            "comment_karma": 756538
        }
    },
    "meta": {
        "billable": true,
        "endpoint_family": "user_profile"
    },
    "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_profile"
    },
    "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_profile"
    },
    "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.