POST
/
scores
Get Game Leaderboard
curl --request POST \
  --url https://api.basement.fun/scores \
  --header 'Content-Type: application/json' \
  --header 'X-Service-Method: <x-service-method>' \
  --data '{
  "gameId": "<string>",
  "limit": 50,
  "skip": 0
}'
{
  "success": true,
  "leaderboard": [
    {
      "_id": "<string>",
      "nonce": "<string>",
      "gameId": "<string>",
      "normalizedAddress": "<string>",
      "score": 123,
      "updatedAt": 123,
      "username": "<string>",
      "avatar": "<string>"
    }
  ]
}

Headers

X-Service-Method
enum<string>
required
Available options:
getGameScoresLeaderboard

Body

application/json

Response

200 - application/json

Successful response

The response is of type object.