---
title: "This Service For Get the Leaderboard With Top 20 Players"
method: GET
path: "/api/v1/Bots/LeaderboardWithRank"
tags: ["Bots"]
---

# This Service For Get the Leaderboard With Top 20 Players

`GET /api/v1/Bots/LeaderboardWithRank`

## Request

- Base URL: `https://api.gameball.co` (the document declares no server; this is the origin it was published from)
- URL: `https://api.gameball.co/api/v1/Bots/LeaderboardWithRank`
- Auth: none declared. Required headers: `APIKey`

## Query parameters

- `playerId` integer
- `communityId` integer
- `limit` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8

## Headers

- `Authorization` string
- `lang` string
- `APIKey` string, required
- `SecretKey` string

## Response `200`

OK

- GameBallBLLHelperBussinessCustomResponse1GameBallBLLViewModelsPlayerBotWithRankViewModel
  - `response` GameBallBLLViewModelsPlayerBotWithRankViewModel
    - `playerBot` GameBallBLLViewModelsPlayerBotViewModel[], nullable
      - `playerId` integer
      - `displayName` string, nullable
      - `externalId` string, nullable
      - `accFrubies` integer
      - `rank` integer
      - `level` GameBallBLLViewModelsLevelBotViewModel
        - `id` integer
        - `name` string, nullable
        - `icon` GameBallBLLViewModelsIconBotViewModel
          - `fileName` string, nullable
    - `playerRank` GameBallBLLViewModelsPlayerRankViewModel
      - `rowOrder` integer
      - `frubies` integer
      - `playerId` integer
      - `playersCount` integer
      - `isRankCapped` boolean, nullable
  - `success` boolean
  - `errorMsg` string, nullable
  - `errorCode` integer
  - `liveMode` boolean, nullable

## Changes

- **2026-11-18** `51d0c3ce56c1`: 3 info
  - added the optional property `response/playerRank/isRankCapped` to the response with the `200` status (media type: text/plain)
  - added the optional property `response/playerRank/isRankCapped` to the response with the `200` status (media type: application/json)
  - added the optional property `response/playerRank/isRankCapped` to the response with the `200` status (media type: text/json)

[Operation history](https://skmtc.dev/gameballers/apis/gameball-api-2/changes/api/v1/Bots/LeaderboardWithRank/get.md)

---

[API](https://skmtc.dev/gameballers/apis/gameball-api-2.md) - [All operations](https://skmtc.dev/gameballers/apis/gameball-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/gameballers/apis/gameball-api-2/revisions/91732ad54d20?raw)
