Skip to main content
GET
/
lookup
/
uid
/
{uid}
cURL
curl --request GET \
  --url https://haunt.gg/api/lookup/uid/{uid}
{
  "id": 123,
  "username": "<string>",
  "displayName": "<string>",
  "isVerified": true,
  "isBanned": true,
  "createdAt": 123,
  "discordId": "<string>",
  "profile": {
    "userId": 123,
    "avatar": "<string>",
    "theme": "<string>",
    "background": "<string>",
    "banner": "<string>",
    "backgroundEffect": "<string>",
    "description": "<string>",
    "discordPresence": true,
    "discordPresenceStatus": true,
    "discordPresenceDecoration": true,
    "discordPresenceClan": true,
    "discordPresenceBadges": true,
    "discordPresenceImage": true,
    "discordPresenceDetails": true,
    "discordServer": "<string>",
    "socialPreference": "<string>",
    "robloxUsername": "<string>",
    "telegramChannel": "<string>",
    "lastfmUsername": "<string>",
    "statsfmUsername": "<string>",
    "location": "<string>",
    "profileBlur": 123,
    "profileOpacity": 123,
    "cursor": "<string>",
    "decoration": "<string>",
    "usernameEffect": "<string>",
    "accentColor": "<string>",
    "textColor": "<string>",
    "backgroundColor": "<string>",
    "iconColor": "<string>",
    "primaryColor": "<string>",
    "secondaryColor": "<string>",
    "Gradient": true,
    "gradientAngle": 123,
    "enterText": "<string>",
    "volumeControl": true,
    "parallax": true,
    "badgeColor": "<string>",
    "badgeMonochrome": true,
    "badgeGlow": true,
    "borderEnabled": true,
    "borderColor": "<string>",
    "borderWidth": 123,
    "borderRadius": 123,
    "borderOpacity": 123,
    "viewsEnabled": true,
    "iconGlow": true,
    "iconMonochrome": true,
    "shuffleAudio": true,
    "audioPlayer": true,
    "alias": "<string>",
    "profileTitle": "<string>",
    "profileDescription": "<string>",
    "profileFavicon": "<string>",
    "profileColor": "<string>",
    "profileBanner": "<string>",
    "typewriterDescriptions": [
      "<string>"
    ],
    "typewriterEnabled": true,
    "cursorEffect": "<string>",
    "cursorEffectEnabled": true,
    "cursorEffectColor": "<string>",
    "font": "<string>",
    "badgeGlowStrength": 123,
    "iconGlowStrength": 123,
    "textGlowStrength": 123,
    "profileFeedback": true,
    "animatedTitle": true
  },
  "badges": [
    {
      "badgeId": "<string>",
      "color": "<string>",
      "enabled": true,
      "obtainedAt": 123
    }
  ],
  "customBadges": [
    {
      "badgeName": "<string>",
      "imageUrl": "<string>",
      "enabled": true
    }
  ],
  "links": [
    {
      "title": "<string>",
      "url": "<string>",
      "active": true,
      "color": "<string>"
    }
  ],
  "audios": [
    {
      "title": "<string>",
      "audioUrl": "<string>",
      "coverUrl": "<string>",
      "duration": 123,
      "active": true
    }
  ],
  "viewCount": 123
}

Authorizations

key
string
query
required

Path Parameters

uid
integer
required

The user ID to look up

Response

User information

id
integer
required

Unique user identifier

username
string
required

Username

displayName
string | null

Display name

isVerified
boolean

Whether the user is verified

isBanned
boolean

Whether the user is banned

createdAt
integer

UNIX timestamp of account creation

discordId
string

Discord user ID

profile
object
badges
object[]

User badges

customBadges
object[]

Custom user badges

User social links

audios
object[]

User audio tracks

viewCount
integer

Total profile views