---
title: "Leaders"
method: POST
path: "/v1/get_leaders"
tags: ["Stats + aggregation"]
---

# Leaders

`POST /v1/get_leaders`

## Request

- Base URL: `https://mcp.dunkapi.com`
- URL: `https://mcp.dunkapi.com/v1/get_leaders`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Use for a season's statistical leaders (per game, shooting percentages with a volume floor, or totals) from every box score. Costs 5 credits.

## Request body

- object
  - `stat` 'pts' | 'reb' | 'ast' | 'stl' | 'blk' | 'tpm' | 'min' | 'plus_minus' | 'fg_pct' | 'tp_pct' | 'ft_pct' | 'ts_pct' | 'total_pts', required: Stat to rank by.
  - `season` union: Season by the year it ends: 2025 = 2024-25 (default: the latest).
    - number
    - string
  - `season_type` 'regular' | 'postseason' | 'play_in' | 'preseason': Default regular.
  - `min_games` integer: Minimum games played (default: a quarter of the season).
  - `limit` integer
  - `league` 'nba' | 'wnba' | 'ncaam' | 'ncaaw': League. Defaults to nba. One of: nba, wnba, ncaam, ncaaw.

## Response `200`

The result, wrapped in data.

- object
  - `data` object, required
    - `stat` string, required
    - `label` string, required
    - `season` number, nullable, required
    - `min_games` number, required
    - `leaders` object[], required
    - `count` number, required

## Other responses

- `400`: Invalid arguments.
- `401`: Missing or invalid API key.
- `402`: Not enough credits.
- `429`: Rate limited.

---

[API](https://skmtc.dev/dunkapi/apis/dunkapi-api.md) · [All operations](https://skmtc.dev/dunkapi/apis/dunkapi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dunkapi/apis/dunkapi-api/revisions/9bf7a0add0eb?raw)
