v53

latestOpenAPI 3.1.0AGPLV3raw.githubusercontent.com2026-08-033464331015.5 KB
api

get/api/users/{user_id}/

Path parameters

user_idstring required

user_id

Response

idstring required

A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z

If we have a snowflake '266241948824764416' we can represent it as binary:

64                                          22     17     12          0
 000000111011000111100001101001000101000000  00001  00000  000000000000
      number of ms since Discord epoch       worker  pid    increment
premium_sincestring date-time required
avatarstring
bannerstring
biostring required
theme_colorsinteger[]
pronounsstring
usernamestring required
discriminatorstring required
public_flagsinteger required
accent_colorinteger
botboolean required
premium_typeinteger required
badge_idsstring[]