toolzerhub API Docs

Get user profile

Get an account's ID, names, description, avatar, creation date, and karma breakdown.

1 credit / requestBilled only on success
GET
/v1/reddit/user-profile

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Query Parameters

username*string

Account name, e.g. spez. Accepts u/spez or a reddit.com URL. data: null means the account doesn't exist.

Lengthlength <= 300
curl -X GET "https://example.com/v1/reddit/user-profile?username=spez" \  -H "x-api-key: YOUR_API_KEY"
{  "data": {    "id": "abc123",    "fullname": "t2_abc123",    "name": "spez",    "prefixed_name": "u/spez",    "url": "https://www.reddit.com/user/spez/",    "description": null,    "karma": 940933,    "post_karma": 184453,    "comment_karma": 756480,    "contributions": 1204,    "created_at": "2005-06-06T00:00:00.000Z",    "icon": null,    "usage_note": "Scraped from the profile page, which is the only place this data exists — there is no profile fragment endpoint and the page carries no Open Graph or JSON-LD. Karma is read from rendered text, so `karma` is the total Reddit displays and `post_karma` + `comment_karma` come from the tooltip beside it; any of the three may be null if Reddit renders the profile without that block. The page surface is materially less reliable than this site's fragments — pace requests and treat a 503 as retryable."  }}