Fetch Reddit User Profile & Karma Breakdown
GET/v1/users/profile
Query Parameters
usernamestringrequired
Example Request (cURL / Python / JavaScript)
curl "https://api.redditdataapi.io/v1/users/profile?username=" \
-H "x-api-key: rd_live_your_api_key"Live Response Preview
{
"code": 0,
"provider": "https://redditdataapi.io",
"status": "ok",
"msg": "success",
"data": {
"username": "spez",
"display_name": "spez",
"user_id": "t2_1w72",
"link_karma": 164200,
"comment_karma": 785400,
"total_karma": 949600,
"is_gold": true,
"is_mod": true,
"is_verified": true,
"has_verified_email": true,
"over_18": false,
"icon_img": "https://www.redditstatic.com/avatars/defaults/v2/avatar_default_1.png",
"bio": "CEO at Reddit.",
"created_utc": 1118016000,
"created_at": "2005-06-06T00:00:00.000Z"
},
"meta": {
"request_id": "a34d2f10-81e3-4c22-9118-092f1a8b9900",
"endpoint": "/v1/users/profile",
"credits_used": 2,
"credits_remaining": 249990,
"cache_hit": true,
"data_age_seconds": 24,
"latency_ms": 12
}
}Response Fields
Reddit user profile metadata (2 Credits)
| Field | Type | Sample / Notes |
|---|---|---|
code | integer | Example: 0 |
status | string | Example: ok |
data | RedditUser | |
meta | ResponseMeta | |
request_id | string | UUID v4 request identifier |
endpoint | string | Canonical /v1/* endpoint path |
credits_used | integer | Credits deducted for this call (0 on error or empty) |
credits_remaining | integer | Remaining credit balance on account |
cache_hit | boolean | Whether served from L1 Redis cache |
data_age_seconds | integer | Age of cached payload in seconds |
latency_ms | integer | End-to-end gateway latency in milliseconds |
Status Codes
- 200
- Reddit user profile metadata (2 Credits)