get_player_leaders
Use to rank players on any weekly stat over a season: passing_yards, passing_tds, rushing_yards, receiving_yards, receptions, targets, def_sacks, def_interceptions, fantasy_points_ppr, passing_epa, rushing_epa, receiving_epa, and ~130 more. Counting stats are summed, rate stats averaged. Filter by position, team, minimum games. Costs 5 credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stat | Yes | Weekly stat column to rank by (e.g. passing_yards, receiving_epa, def_sacks) | |
| team | No | Team code filter | |
| limit | No | Max results (default 20) | |
| season | No | Season year. Defaults to current. | |
| position | No | Position filter, e.g. QB, RB, WR, TE | |
| min_games | No | Minimum games with a stat line (default 1) | |
| season_type | No | Regular season (default) or postseason |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stat | Yes | ||
| count | Yes | ||
| season | Yes | ||
| leaders | Yes | ||
| aggregation | Yes | ||
| season_type | Yes |