basketballapi.net

Documentation / Stats

Leaders

GET/v1/stats/leaders

A season's leaders in one statistic, per game. Leave season out for the competition's latest season with box scores.

Complete and up

Parameters

NameInTypeAbout
competition requiredqueryidOnly this competition, by its id (cp_…). e.g. cp_11A6HQXJ
seasonqueryidOnly this season, by its id (ss_…). e.g. ss_K1TTWVRM
statqueryenumOne of: points, rebounds, assists, steals, blocks, three_made, offensive_rebounds, minutes, performance_index.
min_gamesqueryintegerLeave out angles with fewer games than this. 30 if left out.
topqueryinteger

What comes back

data is one of these:

FieldTypeAbout
competitionobject
competition.ididA competition id.
competition.namestring
seasonobject or null
season.ididA season id.
season.namestring
statstring
min_gamesinteger
leadersarray of object

Errors

400422401403429 What each one means