curl --request GET \ --url https://api.duckybot.xyz/users/{id}
Copy
{ "code": 200, "message": "A Discord user was found with that ID.", "data": { "username": "troptopreal", "name": "Troptop", "id": "598958193032560642", "avatar": "https://cdn.discordapp.com/avatars/598958193032560642/b4a9105d349cc3e9c3d5c0d3b24adbb8.png" }}
Data Endpoints
Fetch user information
Fetch information regarding a Discord or Roblox user.
GET
https://api.duckybot.xyz
/
users
/
{id}
Fetch user information
Copy
curl --request GET \ --url https://api.duckybot.xyz/users/{id}
Copy
{ "code": 200, "message": "A Discord user was found with that ID.", "data": { "username": "troptopreal", "name": "Troptop", "id": "598958193032560642", "avatar": "https://cdn.discordapp.com/avatars/598958193032560642/b4a9105d349cc3e9c3d5c0d3b24adbb8.png" }}
Copy
{ "code": 200, "message": "A Discord user was found with that ID.", "data": { "username": "troptopreal", "name": "Troptop", "id": "598958193032560642", "avatar": "https://cdn.discordapp.com/avatars/598958193032560642/b4a9105d349cc3e9c3d5c0d3b24adbb8.png" }}