Skip to main content
GET
/
leaderboard
/
views
cURL
curl --request GET \
  --url 'https://haunt.gg/api/leaderboard/views?key='
[
  {
    "rank": 123,
    "user": {
      "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
    },
    "score": 123,
    "change": 123
  }
]

Authorizations

key
string
query
required

Query Parameters

limit
integer<int32>
default:10

Maximum number of results to return

Required range: x <= 100

Response

Views leaderboard

rank
integer
required

Position in leaderboard

user
object
required
score
integer
required

Score for this leaderboard type

change
integer

Change in rank since last update