Reddit User API
Reddit User API — get a Reddit profile with karma breakdown, account age, avatar, bio, and verification flags. JSON, $0.01 per call.
/v1/reddit/userThe Reddit User API returns a public Reddit profile: total, post, and comment karma, account creation date, avatar and banner, bio, follower count, and flags such as verified email, Premium, moderator, and employee. Use it to vet accounts or enrich user lists. For activity, see Reddit User Posts and Reddit User Comments.
Usage
const res = await fetch('https://api.yepapi.com/v1/reddit/user', {
method: 'POST',
headers: {
'x-api-key': 'YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({"username": "spez"}),
});
const { data } = await res.json();
console.log(data);curl -X POST https://api.yepapi.com/v1/reddit/user \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"username": "spez"}'import requests
res = requests.post(
"https://api.yepapi.com/v1/reddit/user",
headers={"x-api-key": "YOUR_API_KEY"},
json={"username": "spez"},
)
print(res.json()["data"])Request Body
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
username | string | Yes | Reddit username — spez, u/spez, or a reddit.com/user/spez URL (3–20 characters) | — |
Response
{
"ok": true,
"data": {
"awardee_karma": 0,
"awarder_karma": 0,
"banner": "https://b.thumbs.redditmedia.com/KWeEpVxXOGLoloMbM0IxGt9EiKPXizpwFgcSeWqtpZM.png",
"comment_karma": 756613,
"created_at": "2005-06-06T04:00:00+00:00",
"created_utc": 1118030400,
"description": "Reddit CEO",
"display_name": "spez",
"followers": 0,
"has_verified_email": true,
"icon": "https://styles.redditmedia.com/t5_3k30p/styles/profileIcon_uj015iwx9s7g1.png?width=256&height=256&crop=256:256,smart&s=aa819b0964f6e3019e769d1cc8ede7318c3869a3",
"id": "1w72",
"is_employee": true,
"is_gold": true,
"is_mod": true,
"is_verified": true,
"over_18": false,
"post_karma": 184754,
"total_karma": 941367,
"url": "https://www.reddit.com/user/spez/",
"username": "spez"
}
}Response Fields
| Field | Type | Description |
|---|---|---|
ok | boolean | Whether the request succeeded |
data.id | string | Account ID |
data.username | string | Username |
data.url | string | Profile URL |
data.display_name | string | null | Profile display name |
data.description | string | null | Profile bio |
data.total_karma | number | Total karma |
data.post_karma | number | Karma from posts |
data.comment_karma | number | Karma from comments |
data.awardee_karma | number | Karma from awards received |
data.awarder_karma | number | Karma from awards given |
data.created_utc | number | Account creation, Unix timestamp (seconds) |
data.created_at | string | Account creation, ISO 8601 |
data.icon | string | null | Avatar URL |
data.banner | string | null | Profile banner URL |
data.followers | number | null | Follower count |
data.is_verified | boolean | Verified account |
data.has_verified_email | boolean | Email verified |
data.is_gold | boolean | Reddit Premium |
data.is_mod | boolean | Moderates at least one subreddit |
data.is_employee | boolean | Reddit employee |
data.over_18 | boolean | Profile marked NSFW |
Caching
Responses are cached for 1 hour.
Errors
| Status | Code | When |
|---|---|---|
400 | VALIDATION_ERROR | username is missing or not a valid Reddit username |
404 | NOT_FOUND | User not found, suspended, or deleted |
429 | RATE_LIMITED_UPSTREAM | Too many requests in a short burst — retry after a few seconds |
502 | UPSTREAM_ERROR | Temporary problem fetching data from Reddit — retry |
Failed calls are not charged.
Related Endpoints
- Reddit User Posts API — posts by this account
- Reddit User Comments API — comments by this account
- Reddit User Search API — find accounts by name
Reddit Comments API
Reddit Comments API and comment scraper — get the full nested comment tree for any Reddit post, sorted by top, new, controversial, old, or Q&A. JSON, $0.01 per call.
Reddit User Posts API
Reddit User Posts API — list every post a Reddit account has submitted, sorted by new, hot, or top. JSON with scores, comment counts, and media for $0.01 per call.