Reddit User Profile
Get a redditor's public profile — id, username, employee and verified flags, account type, PM acceptance, NSFW flag, avatar, total/post/comment karma, description, and creation date — as JSON. Costs 1 credit per request.
POST/api/v1/reddit/user
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonusernamestringrequiredReddit username, without the u/ prefix (1-100 characters).
Example: spez
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
results = client.reddit.user(username="spez")
print(results)Response
"id": "t2_1w72",
"name": "spez",
"is_employee": true,
"is_verified": true,
"account_type": "USER",
"is_accepting_pms": false,
"is_nsfw": null,
"avatar": null,
"karma": 941124,
"post_karma": 184586,
"comment_karma": 756538,
"description": "Reddit CEO",
"created_at": null
},
"response_time": 818,
"credits_used": 1,
"credits_remaining": 77649
}