# Get the leaderboard of a tournament

`GET https://api.cryptohopper.com/v1/tournaments/{tournament_id}/leaderboard`

Part of [Tournaments](https://www.cryptohopper.com/api-documentation/api-reference/tournaments.md) in the Cryptohopper API reference.

Returns the top 100 players of one tournament, ordered by score.

OAuth scope: `read`

player_id is the social profile ID of the player. The tournament is not checked for existence; an unknown ID returns an empty list.

## Headers

| Name | Type | Required | Description |
|---|---|---|---|
| `access-token` | string | yes | The OAuth access token of the user. |

## Path parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `tournament_id` | string | yes | Numeric ID of the tournament. |

## Example request

```bash
curl "https://api.cryptohopper.com/v1/tournaments/TOURNAMENT_ID/leaderboard" \
  -H "access-token: YOUR_ACCESS_TOKEN"
```

## Response

Example response (illustrative values):

```json
{
    "data": [
        {
            "score": "12.84",
            "alias": "trader-jane",
            "name": "Trader Jane",
            "player_id": "4567",
            "logo": "https://cdn.example.com/images/social/uploads/avatar_4567.jpg"
        }
    ]
}
```

Status codes: 200. Errors return JSON with `status`, `error` and `message`, plus a numeric `code` when the error comes from the API itself rather than the gateway.
