Loading…
100 free credits. No credit card required. Get a key
A public profile: karma split, account age and flags, as Reddit’s t2 Thing.
GET /v1/reddit/users/{name}1 credit per callRefunded on failureimport os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/reddit/users/quiet_ops",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json(){ "kind": "t2", "data": { "id": null, "name": "quiet_ops", "created_utc": 1675791283, "link_karma": 37445, "comment_karma": 92635, "total_karma": null, "is_employee": false, "verified": null, "icon_img": null }}| Name | Type | Description |
|---|---|---|
namepath · required | string | Username, with or without "u/". Example: spez. |
200 with a Account, in Reddit’s own shape.
| Field | Type | Description |
|---|---|---|
kind | "t2" | |
data | object |
| Status | Meaning |
|---|---|
200 | The user. |
400 | Invalid input. Nothing was charged. |
401 | Missing or invalid API key. |
402 | Not enough credits, a spend cap was reached, or payment is required. |
403 | The target is private, or the account is suspended. |
404 | The subreddit, post or user does not exist. |
429 | Too many requests. Wait for Retry-After seconds. |
503 | Reddit is temporarily unavailable. Retryable; nothing was charged. |
Every error has code, message, hint and retryable. All error codes
About this endpoint. Reddit is a trademark of Reddit, Inc. We are not affiliated with or endorsed by Reddit.
No. Only what the public profile page shows. Suspended and deleted accounts answer target_not_found.