GET /users/:user_id
Returns public profile data for the Top.gg user associated with the given Discord user ID.Path parameters
The Discord Snowflake ID of the user to look up.
Response fields
The user’s Discord Snowflake ID.
The user’s Discord username.
The user’s Discord discriminator (e.g.,
"0001").The user’s Discord avatar hash. Absent if the user has no custom avatar.
The CDN hash for the user’s default (generated) avatar, used as a fallback when
avatar is absent.The user’s Top.gg profile bio. Absent if not set.
URL of the user’s profile banner image. Absent if not set.
An object containing the user’s linked social accounts. All sub-fields are optional and absent when not set.
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.Whether the user is a Top.gg supporter.
Whether the user is a Top.gg certified developer.
Whether the user is a Top.gg moderator.
Whether the user is a Top.gg web moderator.
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.