YepAPI
Reddit API

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.

POST/v1/reddit/user
$0.01/call

The 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

ParameterTypeRequiredDescriptionDefault
usernamestringYesReddit 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

FieldTypeDescription
okbooleanWhether the request succeeded
data.idstringAccount ID
data.usernamestringUsername
data.urlstringProfile URL
data.display_namestring | nullProfile display name
data.descriptionstring | nullProfile bio
data.total_karmanumberTotal karma
data.post_karmanumberKarma from posts
data.comment_karmanumberKarma from comments
data.awardee_karmanumberKarma from awards received
data.awarder_karmanumberKarma from awards given
data.created_utcnumberAccount creation, Unix timestamp (seconds)
data.created_atstringAccount creation, ISO 8601
data.iconstring | nullAvatar URL
data.bannerstring | nullProfile banner URL
data.followersnumber | nullFollower count
data.is_verifiedbooleanVerified account
data.has_verified_emailbooleanEmail verified
data.is_goldbooleanReddit Premium
data.is_modbooleanModerates at least one subreddit
data.is_employeebooleanReddit employee
data.over_18booleanProfile marked NSFW

Caching

Responses are cached for 1 hour.

Errors

StatusCodeWhen
400VALIDATION_ERRORusername is missing or not a valid Reddit username
404NOT_FOUNDUser not found, suspended, or deleted
429RATE_LIMITED_UPSTREAMToo many requests in a short burst — retry after a few seconds
502UPSTREAM_ERRORTemporary problem fetching data from Reddit — retry

Failed calls are not charged.

On this page