GET
/
v1
/
users
/
{id}
curl --request GET \
  --url https://api.mzrdev.xyz/v1/users/{id} \
  --header 'Authorization: <api-key>'
{

    "success": true,

    "data": {

        "nitroData": null,

        "decoration": {

            "avatarFrame": "https://cdn.discordapp.com/avatar-decoration-presets/a_c3cffc19e9784f7d0b005eecdf1b566e.png",

            "profileColors": [

                "#0613cb",

                "#000000"

            ]

        },

        "assets": {

            "badges": [

                {

                    "name": "NITRO_PLATINUM",

                    "icon": "https://cdn.imgchest.com/files/my8xcolxml4.png"

                },

                {

                    "name": "HOUSE_BALANCE",

                    "icon": "https://cdn.imgchest.com/files/my8xc23o264.png"

                },

                {

                    "name": "ACTIVE_DEVELOPER",

                    "icon": "https://cdn.imgchest.com/files/myd5cgj6gm4.png"

                },

                {

                    "name": "BOOSTER_18",

                    "icon": "https://cdn.imgchest.com/files/84apcwgae94.png"

                },

                {

                    "name": "LEGACY_USERNAME",

                    "icon": "https://cdn.imgchest.com/files/pyvdcgvmkay.png"

                },

                {

                    "name": "QUEST_COMPLETED",

                    "icon": "https://cdn.imgchest.com/files/p7bwcex5p37.png"

                }

            ],

            "avatarURL": "https://cdn.discordapp.com/avatars/701518625760346172/d1f8a012b96e726c9d3ddce3c77427d0.png",

            "bannerURL": "https://cdn.discordapp.com/banners/701518625760346172/86e1b006a5eb9ade11d3b32e3a5d8561.png"

        },

        "info": {

            "id": "701518625760346172",

            "bot": false,

            "username": "mzrdev",

            "legacyUsername": "ZeKe#0057",

            "globalName": "ZeKe",

            "tag": "mzrdev#0",

            "discriminator": null,

            "createdTimestamp": 1587325473967,

            "description": "I use the mzr-api"

        }

    }

}

Path Parameters

id
string
required

Specifies the Discord user ID.

Response

success
boolean

Indicates whether the request was successful. A value of true means the request was successful, while false indicates an issue or failure.

data
object

Contains the data related to the user information, including nitro data, decorations, assets, and other profile details.

Response