List season leaders for a stat
Players ranked by one stat of their season totals across teams. Ties are broken by player id, so pages are stable.
Authentication
AuthorizationBearer
An API key, sent as Authorization: Bearer <key>.
Path parameters
league
The league's alias.
year
season_type
Preseason, regular season, postseason, play-in tournament or all-star.
Allowed values:
Query parameters
category
stat
The stat code to rank by.
order
desc ranks high values first; asc suits low-is-better stats such as ERA.
Allowed values:
min_games
qualifier
A second stat a player needs at least qualifier_min of, such as attempts.
qualifier_min
cursor
next_cursor from the previous page. Omit it for the first page.
limit
Page size.
Response headers
RateLimit-Policy
Your plan’s allowance: q requests per period of w seconds. See
Rate limits.
RateLimit
Requests left this period after this response (r) and seconds until it resets (t). See
Rate limits.
Response
A page of leaders with their players.
data
players
next_cursor
Pass as cursor for the next page; null on the last page.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error