For the complete documentation index, see llms.txt. This page is also available as Markdown.

Leaderboards

Get app global leaderboards

get

Get leaderboards for all mini game types and default games for the authenticated app. Optionally filter by a specific mini game type ID. For games without a mini game type, the miniGameTypeName is not present.

Authorizations
x-app-api-keystringRequired

App API key in format:

Query parameters
miniGameTypeIdstringOptional

Optional mini game type ID to filter leaderboards for a specific game type. If not provided, leaderboards for all game types will be returned.

limitinteger · min: 1Optional

Maximum number of players to return per leaderboard. Defaults to 10 if not specified.

Default: 10
Responses
200

Leaderboards retrieved successfully

application/json
get/apps/global-leaderboards
GET /api/v1/apps/global-leaderboards HTTP/1.1
x-app-api-key: YOUR_API_KEY
Accept: */*
{
  "leaderboards": [
    {
      "miniGameTypeId": "text",
      "miniGameTypeName": "text",
      "leaderboard": [
        {
          "playerId": "text",
          "playerDisplayName": "text",
          "playerScore": 1,
          "playerImageUrl": "text",
          "createdAt": "2026-01-01T00:00:00.000Z",
          "updatedAt": "2026-01-01T00:00:00.000Z",
          "gameSessionId": "text",
          "userId": "text"
        }
      ]
    }
  ]
}

Last updated