The trophies in an account’s trophy case, in display order: name, icon, grant date or description, and the attached link when there is one. Give username or user_id. For the newer achievements use /user/achievements. Billed 1 request per call.
HTTP Request
GET /user/trophies
Cost (in requests): 1. Every successful answer reports its cost in data.billed_requests.
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
username | string | No | - | Reddit username, with or without u/ (case-insensitive). Give this or user_id. |
user_id | string | No | - | Reddit account id (t2_…). Alternative to username. |
Response
Real response to GET /user/trophies?username=spez (arrays trimmed to 2 items, long texts cut with …).
| |
Response Fields
| Field | Type | Description |
|---|---|---|
status | boolean | true when the request succeeded |
request_id | string | Unique request identifier |
data | object | Trophies; null with error.code = not_found. |
data.username | string | Username. |
data.items | array of objects | Trophy case in display order. |
data.items[].name | string | Trophy name, e.g. 15-Year Club. |
data.items[].description | string / null | Trophy description when shown instead of a date. |
data.items[].granted_at | string / null | Date the trophy was granted, date only (2015-06-06, no time: Reddit shows only the day); about half of trophies. |
data.items[].icon_url | string | Trophy icon URL. |
data.items[].url | string / null | Link attached to the trophy (best comment, community). |
data.computed_at | string | When this answer was computed (RFC 3339, UTC). Older than the request when it was served from the cache. |
data.billed_requests | integer | Requests billed for this call (also sent as Requests in the X-RapidAPI-Billing header when it is not RapidAPI’s default of 1). |
request_params | object | Echo of the parameters you sent |
Error Responses
Invalid input returns HTTP 400, not billed. error is a plain string that names the parameter:
| |
| Status Code | Cause | Description |
|---|---|---|
| 400 | Invalid or missing parameter | Plain-English message per field. Not billed |
200 with status: false | Item not available | error.code is not_found, suspended, deleted. data is null. Billed 1 request |
| 503 | Reddit temporarily unreachable | "error": "Service temporarily unavailable". Not billed, retry later |
Code Examples
| |
| |
| |
Related Endpoints
- User Moderated Subreddits : Communities a Reddit account moderates
- User Achievements : Achievements unlocked by a Reddit account
- User Insights : How a Reddit account behaves: activity, communities, UTC timing, content quality, spam signals