GET /user/details

User Details

Reddit account profile by username or id. Reddit Scraper API endpoint /user/details: parameters, JSON response fields and code examples.

One account’s profile: id, username, display name, avatar, bio, karma with the post / comment split, cake day, NSFW flag, chat and follower settings and Reddit Premium. Give username or user_id. Billed 1 request per call.

HTTP Request

GET /user/details

Cost (in requests): 1. Every successful answer reports its cost in data.billed_requests.

Parameters

ParameterTypeRequiredDefaultDescription
usernamestringNo-Reddit username, with or without u/ (case-insensitive). Give this or user_id.
user_idstringNo-Reddit account id (t2_…). Alternative to username.
with_extrasbooleanNofalseAdds banner_url (the profile banner; left out without it).
with_postsbooleanNofalseAdds posts: the newest posts (up to 100, one page only).
include_htmlbooleanNofalseAdds body_html (the rendered HTML body) to every post and comment. Default: left out; body_text carries the same text.

Response

Real response to GET /user/details?username=spez (arrays trimmed to 2 items, long texts cut with …).

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
  "status": true,
  "request_id": "f19b80d1-b9d6-2c4f-6cf9-4cfd6107",
  "data": {
    "username": "spez",
    "user_id": "t2_1w72",
    "display_name": "spez",
    "avatar_url": "https://styles.redditmedia.com/t5_3k30p/styles/profileIcon_uj015iwx9s7g1.png?frame=1&auto=webp&crop=256%3A256%2Csmart&s=54cdc94b6359f38240017e6737d3c56933e0206b",
    "snoovatar_url": null,
    "bio": "Reddit CEO",
    "total_karma": 941417,
    "post_karma": 184793,
    "comment_karma": 756624,
    "created_at": "2005-06-06T00:00:00.000000+00:00",
    "is_nsfw": false,
    "accepts_chats": false,
    "accepts_followers": true,
    "is_premium": true,
    "account_type": "user",
    "posts_count": 852,
    "comments_count": 3229,
    "contributions_count": 4081,
    "verification_status": "verified",
    "social_links": [],
    "verifications": [
      {
        "type": "identity",
        "title": "Identity",
        "verified_at": "2025-12-19T00:00:00.000000+00:00"
      }
    ],
    "active_subreddits": [],
    "moderated_subreddits": [
      "redditdev",
      "modnews"
    ],
    "state": "active",
    "posts": [],
    "billed_requests": 1
  },
  "request_params": {
    "username": "spez"
  }
}

Response Fields

FieldTypeDescription
statusbooleantrue when the request succeeded
request_idstringUnique request identifier
dataobjectThe account; null with error.code not_found / suspended / deleted.
data.usernamestringUsername.
data.user_idstringAccount id (t2_…).
data.display_namestringDisplay name (nameplate).
data.avatar_urlstringAvatar URL.
data.snoovatar_urlstring / nullFull-body avatar image the user built (Reddit’s avatar builder); null when the user has none.
data.biostringProfile description.
data.total_karmaintegerTotal karma.
data.post_karmaintegerPost karma.
data.comment_karmaintegerComment karma.
data.created_atstringISO-8601 UTC account creation (cake day; Reddit exposes the date only, reported as midnight UTC).
data.is_nsfwbooleanProfile marked 18+.
data.accepts_chatsbooleanAccepts chat requests.
data.accepts_followersbooleanCan be followed (follow button present).
data.is_premiumbooleanReddit Premium member; null when unknown.
data.account_typestringuser, or app for an app account (games, bots); another type Reddit adds later comes in lower snake case.
data.posts_countintegerPosts the account has made, as Reddit counts them; null when it could not be read.
data.comments_countintegerComments the account has made, as Reddit counts them; null when it could not be read.
data.contributions_countintegerPosts plus comments (posts_count + comments_count); null when it could not be read.
data.verification_statusstringverified when Reddit shows a verified profile, none otherwise (another status Reddit adds later comes in lower snake case); null when it could not be read.
data.social_linksarrayProfile social links.
data.verificationsarray of objectsWhat Reddit verified, e.g. identity; empty when nothing, null when it could not be read.
data.verifications[].typestringidentity (Reddit checked a human identity document); other kinds in lower snake case.
data.verifications[].titlestringLabel Reddit shows, e.g. Identity.
data.verifications[].verified_atstringISO-8601 UTC date of the verification.
data.active_subredditsarrayNames of the communities the user is active in, as Reddit shows them on the profile. Empty when the user hides them (a profile setting) or has none; null when the profile could not be read. For members, descriptions and icons use /user/subreddits.
data.moderated_subredditsarray of stringNames of the communities the account moderates, as Reddit’s profile card lists them (the first ones only for a moderator of many; the full list with descriptions: /user/moderated-subreddits); empty when none.
data.statestringactive, suspended, deleted, not_found.
data.postsarrayNewest posts (with with_posts, up to 100). The profile feed carries no author avatar, type or flair, community type, domain, vote ratio, share or crosspost count, poll, lock / sticky / spoiler / archive / distinguished state, brand flag, AMA or highlight data: those keys are left out (read them on /post/details).
data.billed_requestsintegerRequests billed for this call (also sent as Requests in the X-RapidAPI-Billing header when it is not RapidAPI’s default of 1).
request_paramsobjectEcho of the parameters you sent

Error Responses

Invalid input returns HTTP 400, not billed. error is a plain string that names the parameter:

1
{ "status": false, "request_id": "99a1e6cd-2e57-9e8f-4e44-2dea7f6d", "error": "Invalid parameter 'post_id': must be a post id such as z1c9z or t3_z1c9z", "request_params": { "post_id": "!!" } }
Status CodeCauseDescription
400Invalid or missing parameterPlain-English message per field. Not billed
200 with status: falseItem not availableerror.code is not_found, suspended, deleted. data is null. Billed 1 request
503Reddit temporarily unreachable"error": "Service temporarily unavailable". Not billed, retry later

Code Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
import requests

url = "https://reddit-scraper-api-extractor-ai-the-most-complete.p.rapidapi.com/user/details"

params = {
    "username": "spez",
}

headers = {
    "X-RapidAPI-Key": "YOUR_API_KEY",
    "X-RapidAPI-Host": "reddit-scraper-api-extractor-ai-the-most-complete.p.rapidapi.com"
}

response = requests.get(url, headers=headers, params=params)
data = response.json()["data"]

print(data["username"])
print(data["user_id"])
print("Billed requests:", data["billed_requests"])
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
const url = "https://reddit-scraper-api-extractor-ai-the-most-complete.p.rapidapi.com/user/details";

const params = new URLSearchParams({
  username: "spez",
});

const response = await fetch(`${url}?${params}`, {
  headers: {
    "X-RapidAPI-Key": "YOUR_API_KEY",
    "X-RapidAPI-Host": "reddit-scraper-api-extractor-ai-the-most-complete.p.rapidapi.com"
  }
});

const { data } = await response.json();
console.log(data.username, data.user_id);
1
2
3
4
curl -G "https://reddit-scraper-api-extractor-ai-the-most-complete.p.rapidapi.com/user/details" \
  --data-urlencode "username=spez" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: reddit-scraper-api-extractor-ai-the-most-complete.p.rapidapi.com"
  • User Search : Search Reddit accounts by name or keyword
  • User Activity : Posts and comments of a Reddit account (one timeline or each list)
  • User Subreddits : Communities a Reddit account is active in
Start building today

Get your API key and make your first request in under a minute.

Get Your API Key on RapidAPI