Global Endpoints
Discord User Info
Global Endpoints
Discord User Info
This endpoint retrieves detailed information about a specific Discord user based on their user ID.
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
Specifies the Discord user ID.
Response
Indicates whether the request was successful. A value of true
means the request was successful, while false
indicates an issue or failure.
Contains the data related to the user information, including nitro data, decorations, assets, and other profile details.
Contains information about the user’s Nitro subscription.
Contains general information about the user.
The user’s unique identifier.
Indicates whether the user is a bot.
The user’s username.
The user’s legacy username.
The user’s global name.
The user’s tag.
The user’s discriminator.
The timestamp when the user was created.
The user’s description.
Response
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"
}
}
}