GET
/
community
/
{id}
/
badge
/
{badgeId}
/
leaderboard

Authorizations

X-Api-Key
string
header
required

Path Parameters

id
string
required

Community ID

badgeId
string
required

Badge ID

Query Parameters

metric
enum<string>

Determines the leaderboard based on a badge metadata metric. If no metrics are available the leaderboard is returned based on ascending order the badge was earned.

Available options:
time,
score,
rank,
position,
points
metricDirection
enum<string>

Direction to sort the leaderboard by metric

Available options:
ASC,
DESC
perPage
any
page
any

Response

200 - application/json
avatar
string
required
claimedAt
string
required
displayName
string
required
earnedAt
string
required
metadata.[key]
object
required
name
string
required
rewards
object
required
username
string
required
wallet
string
required