Skip to content
redditdataapi.io
All endpoints

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)

FieldTypeSample / Notes
codeintegerExample: 0
statusstringExample: ok
dataRedditUser
metaResponseMeta
request_idstringUUID v4 request identifier
endpointstringCanonical /v1/* endpoint path
credits_usedintegerCredits deducted for this call (0 on error or empty)
credits_remainingintegerRemaining credit balance on account
cache_hitbooleanWhether served from L1 Redis cache
data_age_secondsintegerAge of cached payload in seconds
latency_msintegerEnd-to-end gateway latency in milliseconds

Status Codes

200
Reddit user profile metadata (2 Credits)