Stats + aggregation

Leaders

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

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

Request body

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_type'regular' | 'postseason' | 'play_in' | 'preseason'

Default regular.

min_gamesinteger

Minimum games played (default: a quarter of the season).

limitinteger
league'nba' | 'wnba' | 'ncaam' | 'ncaaw'

League. Defaults to nba. One of: nba, wnba, ncaam, ncaaw.

Response

The result, wrapped in data.

Changes

No recorded changes to this operation across all 1 revision of this API.