Skip to main content
GET
https://api.duckybot.xyz
/
users
/
{id}
Fetch user information
curl --request GET \
  --url https://api.duckybot.xyz/users/{id}
{
  "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"
  }
}
{
  "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"
  }
}

Headers

Token
string
The Ducky session token of the user. This is only required if you are using @me as the ID.

Parameter Fields

id
string
required
The Roblox or Discord ID of the user whose information you would like to fetch. This can be @me if a valid Token is provided via the headers.

Response Data (Discord User)

username
string
The user’s username.
name
string
The user’s display name.
id
string
The user’s ID.
avatar
string
The user’s avatar URL.

Response Data (Roblox User)

name
string
The player’s username.
displayName
string
The player’s display name.
id
number
The player’s ID.
avatar
string
The player’s avatar URL.
description
string
The player’s description/bio.
profile
string
A link to the player’s profile.
A hyperlink to the player’s profile, where the label is the player’s username.
verified
boolean
Whether or not the player is verified on Roblox.
banned
boolean
Whether or not the player is banned from Roblox.
created
number
An epoch timestamp (in seconds) representing when the player’s account was created.