GET /users/:user_id
Returns public profile data for the Top.gg user associated with the given Discord user ID.Path parameters
string
required
The Discord Snowflake ID of the user to look up.
Response fields
string
required
The user’s Discord Snowflake ID.
string
required
The user’s Discord username.
string
required
The user’s Discord discriminator (e.g.,
"0001").string
The user’s Discord avatar hash. Absent if the user has no custom avatar.
string
required
The CDN hash for the user’s default (generated) avatar, used as a fallback when
avatar is absent.string
The user’s Top.gg profile bio. Absent if not set.
string
URL of the user’s profile banner image. Absent if not set.
object
required
An object containing the user’s linked social accounts. All sub-fields are optional and absent when not set.
string
The user’s custom profile color as a hex string (e.g.,
"#ff6347"). This value is user-supplied and is not guaranteed to be a valid hex color.boolean
required
Whether the user is a Top.gg supporter.
boolean
required
Whether the user is a Top.gg certified developer.
boolean
required
Whether the user is a Top.gg moderator.
boolean
required
Whether the user is a Top.gg web moderator.
boolean
required
Whether the user is a Top.gg administrator.
Example response
404 Not Found if no Top.gg profile exists for the given Discord user ID.