GET
/
leaderboard
/
badges
curl --request GET \
  --url https://haunt.gg/api/leaderboard/badges
[
  {
    "rank": 123,
    "user": {
      "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
    },
    "score": 123,
    "change": 123
  }
]

Authorizations

key
string
query
required

Query Parameters

limit
integer
default:10

Maximum number of results to return

Required range: x <= 100

Response

200
application/json

Badges leaderboard

The response is of type object[].