Skip to main content
GET
/
lookup
/
username
/
{username}
cURL
curl --request GET \
  --url 'https://haunt.gg/api/lookup/username/{username}?key='
{
  "id": 123,
  "username": "<string>",
  "alias": "<string>",
  "displayName": "<string>",
  "isVerified": true,
  "isBanned": true,
  "createdAt": 123,
  "discordId": "<string>",
  "profile": {
    "userId": 123,
    "avatar": "<string>",
    "theme": "<string>",
    "background": "<string>",
    "banner": "<string>",
    "backgroundEffect": "<string>",
    "backgroundEffectSettings": {},
    "description": "<string>",
    "aboutMe": "<string>",
    "aboutMeTitle": "<string>",
    "aboutMeDescription": "<string>",
    "aboutMeEnabled": true,
    "aboutMeCustomization": true,
    "aboutMeAccentColor": "<string>",
    "aboutMeTextColor": "<string>",
    "aboutMeOpacity": 123,
    "aboutMeBorderCustomization": true,
    "aboutMeBorderColor": "<string>",
    "aboutMeBorderWidth": 123,
    "aboutMeBorderRadius": 123,
    "aboutMeBorderOpacity": 123,
    "discordPresence": true,
    "discordPresenceLeft": "<string>",
    "discordPresenceRight": "<string>",
    "discordPresenceStatus": true,
    "discordPresenceDecoration": true,
    "discordPresenceClan": true,
    "discordPresenceBadges": true,
    "discordPresenceImage": true,
    "discordPresenceDetails": true,
    "presenceCustomization": true,
    "presenceAccentColor": "<string>",
    "presenceOpacity": 123,
    "presenceBorderCustomization": true,
    "presenceBorderColor": "<string>",
    "presenceBorderWidth": 123,
    "presenceBorderRadius": 123,
    "presenceBorderOpacity": 123,
    "alias": "<string>",
    "aliasRedirect": true,
    "profileTitle": "<string>",
    "profileDescription": "<string>",
    "profileFavicon": "<string>",
    "profileColor": "<string>",
    "profileBanner": "<string>",
    "profileAvatarEnabled": true,
    "profileUsernameEnabled": true,
    "profileLinkEnabled": true,
    "profileAnimation": "<string>",
    "profileEnterAnimation": "<string>",
    "profileSoundEffect": "<string>",
    "typewriterDescriptions": [
      "<string>"
    ],
    "typewriterEnabled": true,
    "typewriterSpeed": 123,
    "typewriterDeleteSpeed": 123,
    "typewriterDelay": 123,
    "cursorEffect": "<string>",
    "cursorEffectEnabled": true,
    "cursorEffectColor": "<string>",
    "font": "<string>",
    "fontCustom": "<string>",
    "badgeGlowStrength": 123,
    "iconGlowStrength": 123,
    "textGlowStrength": 123,
    "animatedTitleType": "<string>",
    "animatedTitle": true,
    "projectsMode": "<string>",
    "projectsTitle": "<string>",
    "projectsDescription": "<string>",
    "projectsCustomization": true,
    "projectsAccentColor": "<string>",
    "projectsTextColor": "<string>",
    "projectsOpacity": 123,
    "projectsBorderCustomization": true,
    "projectsBorderColor": "<string>",
    "projectsBorderWidth": 123,
    "projectsBorderRadius": 123,
    "projectsBorderOpacity": 123,
    "skillsFrontend": [
      "<string>"
    ],
    "skillsBackend": [
      "<string>"
    ],
    "skillsDatabase": [
      "<string>"
    ],
    "skillsCore": [
      "<string>"
    ],
    "skillsEnabled": true,
    "skillsCustomization": true,
    "skillsAccentColor": "<string>",
    "skillsTextColor": "<string>",
    "skillsOpacity": 123,
    "skillsBorderCustomization": true,
    "skillsBorderColor": "<string>",
    "skillsBorderWidth": 123,
    "skillsBorderRadius": 123,
    "skillsBorderOpacity": 123
  },
  "badges": [
    {
      "badgeId": "<string>",
      "enabled": true,
      "obtainedAt": 123,
      "color": "<string>"
    }
  ],
  "customBadges": [
    {
      "badgeName": "<string>",
      "imageUrl": "<string>",
      "enabled": true,
      "createdAt": 123
    }
  ],
  "links": [
    {
      "title": "<string>",
      "url": "<string>",
      "active": true,
      "color": "<string>",
      "clicks": 123
    }
  ],
  "audios": [
    {
      "title": "<string>",
      "audioUrl": "<string>",
      "coverUrl": "<string>",
      "duration": 123,
      "active": true,
      "externalUrl": "<string>"
    }
  ],
  "viewCount": 123
}

Authorizations

key
string
query
required

Path Parameters

username
string
required

The username to look up

Response

User information

id
integer<int64>
required

Unique user identifier

username
string
required

Username

alias
string | null

User alias

displayName
string | null

Display name

isVerified
boolean

Whether the user is verified

isBanned
boolean

Whether the user is banned

createdAt
integer<int64>

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