100 free credits. No credit card required. Get a key

Reddit user trophies API

The public trophy case on a profile, with each trophy’s name, description, icon and the date where Reddit shows one.

GET /v1/reddit/users/{name}/trophies1 credit per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/reddit/users/spez/trophies",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 1 credit
{
"kind": "TrophyList",
"data": {
"trophies": [
{
"kind": "t6",
"data": {
"name": "20-Year Club",
"description": null,
"icon_70": "https://i.redd.it/cms/871b9df322b7cddd_trophy_image_for_20_year_club.png",
"icon_40": "https://i.redd.it/cms/871b9df322b7cddd_trophy_image_for_20_year_club.png",
"award_id": null,
"id": null,
"url": null,
"granted_at": null
}
},
{
"kind": "t6",
"data": {
"name": "Ternion Club",
"description": "Unlocked by receiving a Ternion award on a post or comment.",
"icon_70": "https://i.redd.it/cms/78b18da56e445587_trophy_image_for_ternion_club.png",
"icon_40": "https://i.redd.it/cms/78b18da56e445587_trophy_image_for_ternion_club.png",
"award_id": null,
"id": null,
"url": null,
"granted_at": null
}
},
"… 41 more"
]
}
}

Parameters

NameTypeDescription
namepath · requiredstringUsername, with or without "u/". Example: spez.
Response fields

200 with a TrophyList, in Reddit’s own Things and Listings.

FieldTypeDescription
kind"TrophyList"
dataobject
Status codes
StatusMeaning
200The trophies.
400Invalid input. Nothing was charged.
401Missing or invalid API key.
402Not enough credits, a spend cap was reached, or payment is required.
403The target is private, or the account is suspended.
404The subreddit, post or user does not exist.
429Too many requests. Wait for Retry-After seconds.
503Reddit is temporarily unavailable. Retryable; nothing was charged.

Every error has code, message, hint and retryable. All error codes

Reddit is a trademark of Reddit, Inc. We are not affiliated with or endorsed by Reddit.