---
title: "GET /v1/maps/{mapID}/leaderboardStats"
method: GET
path: "/v1/maps/{mapID}/leaderboardStats"
tags: ["Maps"]
---

# GET /v1/maps/{mapID}/leaderboardStats

`GET /v1/maps/{mapID}/leaderboardStats`

## Request

- Base URL: `https://api.momentum-mod.org` (the document declares no server; this is the origin it was published from)
- URL: `https://api.momentum-mod.org/v1/maps/{mapID}/leaderboardStats`
- Auth: HTTP bearer

Get stats of for all the leaderboards on a map

## Path parameters

- `mapID` number, required

## Response `200`

- LeaderboardStatsDto[]
  - `leaderboard` LeaderboardDto
    - `gamemode` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13, required: The gamemode the run took place in
    - `trackType` 0 | 1 | 2, required: The trackNum the run took place on
    - `trackNum` number, required: The trackNum the run took place on
    - `style` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9, required: The style of the run
    - `tier` number, required: The tier of the leaderboard
    - `tags` number[], required: The tags of the leaderboard
    - `type` 0 | 1 | 2 | 3, required: Type of leaderboard, ranked, unranked or hidden
    - `linear` boolean, required: Whether leaderboard corresponds to a linear track
  - `totalRuns` number, required: The total number of runs for this leaderboard

---

[API](https://skmtc.dev/momentum-mod/apis/momentum-mod-api.md) - [All operations](https://skmtc.dev/momentum-mod/apis/momentum-mod-api/llms.txt) - [OpenAPI document](https://skmtc.dev/momentum-mod/apis/momentum-mod-api/revisions/0a88cfbbcc65?raw)
