DFS team_stats API
team_stats
dfs.team_statsOne row per team per slate game: the team's summed fantasy production for the scoring rule of the slate's setting — total points, per-category point columns, player count, and the team's raw box-score line. NFL and NBA. An NFL team total includes its DST. The fields marked "NBA only" are null on NFL rows; every NFL-only field is null on NBA rows.
GET/api/v1/dfs/team_statsList team_stats for DFS
Requires one of:
slate_id or game_id or team_id or slate_date or operator_slate_id — requests satisfying none of these return 400.Parameters
slate_idquerybigintoptionalFilter to one slate — both teams of every game in it.
operator_slate_idquerybigintoptionalOperator-side slate identifier (DraftKings contest group ID, FanDuel fixtureListId). Resolves to slate_id.
game_idquerybigintoptionalFilter to one game's two team rows across slates.
slate_datequerydateoptionalSlate calendar day (YYYY-MM-DD, US Eastern). Range operators support backtesting windows. Range syntax: slate_date__gte=, slate_date__lte=, slate_date__between=.
team_idquerybigintoptionalFilter to one team across slates.
scoring_formatquerystringoptionalScoring format code (classic, showdown, single_game).
operator_idquerybigintoptionalFilter by operator: by numeric id (1 = DraftKings, 2 = FanDuel) or name (draftkings, fanduel).
operatorquerystringoptionalFilter by operator: draftkings, fanduel, yahoo (or numeric operator id).
league_idquerybigintoptionalFilter by league (1 = NFL).
limitqueryintegeroptionaldefault 50Page size. Defaults to 50; max 5000.
from_idquerybigintoptionalReturn rows with id strictly greater than this value; page using the previous response's `next_from_id`. Omit on the first page.
Restores the documented defaults (trial keys only accept the unchanged defaults).
Request
curl -sS --compressed \
-H 'Authorization: Bearer YOUR_API_KEY' \
'https://api.stat-api.com/api/v1/dfs/team_stats?slate_id=1126128'Responses
200team_stats rows matching the declared filter set, wrapped in { team_stats, limit, next_from_id, has_more }. has_more is true when another row follows this page. To walk every row, start with ?from_id=0 and pass each next_from_id back as from_id until it is null; the filters stay. A first page without from_id comes in the default order and gives next_from_id null.application/jsonshow example ▸
400No declared filter set was satisfied — response body matches MissingRequiredFiltersError; pick one combo from the accepted-sets hint and resend.
application/jsonResponse Schema(61 fields)show schema ▸
| Field | Type | References | Description |
|---|---|---|---|
idkey | bigint | — | Primary Key |
game_id | bigint | — | — e.g. 2392 |
league_id | bigint | — | — e.g. 2 |
operator_id | bigint | — | — e.g. 2 |
opponent_team_id | bigint | — | — e.g. 23 |
slate_id | bigint | — e.g. 758 | |
team_id | bigint | — | — e.g. 23 |
blocked_kick_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
blocked_kicks | integernullable | — | — e.g. — (all-null in sample) |
defense_interception_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
defensive_interceptions | integernullable | — | — e.g. — (all-null in sample) |
defensive_sacks | integernullable | — | — e.g. — (all-null in sample) |
defensive_td_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
defensive_tds | integernullable | — | — e.g. — (all-null in sample) |
extra_point_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
extra_pts_made | integernullable | — | — e.g. — (all-null in sample) |
fantasy_pts | decimalnullable | — | — e.g. 253.5000 |
field_goal_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
field_goal_missed_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
field_goals_attempted | integernullable | — | — e.g. — (all-null in sample) |
field_goals_made | integernullable | — | — e.g. — (all-null in sample) |
first_downs | integernullable | — | — e.g. — (all-null in sample) |
fumble_lost_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
fumble_recovery_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
fumbles_lost | integernullable | — | — e.g. — (all-null in sample) |
fumbles_recovered | integernullable | — | — e.g. — (all-null in sample) |
interception_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
interceptions_thrown | integernullable | — | — e.g. — (all-null in sample) |
is_home | boolean | — | — Values:truefalse |
kick_return_tds | integernullable | — | — e.g. — (all-null in sample) |
passing_2pt_conversion_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
passing_bonus_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
passing_td_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
passing_yds | integernullable | — | — e.g. — (all-null in sample) |
passing_yds_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
player_count | integernullable | — | — e.g. 10 |
pts | integernullable | — | — e.g. 109 |
pts_allowed_def | integernullable | — | — e.g. — (all-null in sample) |
pts_allowed_dst | integernullable | — | — e.g. — (all-null in sample) |
pts_allowed_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
punt_return_tds | integernullable | — | — e.g. — (all-null in sample) |
receiving_2pt_conversion_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
receiving_bonus_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
receiving_td_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
receiving_yds | integernullable | — | — e.g. — (all-null in sample) |
receiving_yds_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
reception_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
return_td_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
return_yds_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
rushing_2pt_conversion_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
rushing_bonus_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
rushing_td_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
rushing_yds | integernullable | — | — e.g. — (all-null in sample) |
rushing_yds_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
sack_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
safeties | integernullable | — | — e.g. — (all-null in sample) |
safety_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
scoring_format | stringnullable | — | Operator scoring format code (classic, showdown, single_game); null when the format has no fantasy scoring. Values:classicshowdownsingle_game |
slate_date | date | — | — e.g. 2017-01-21 |
total_yds | integernullable | — | — e.g. — (all-null in sample) |
turnovers | integernullable | — | — e.g. 17 |
GET/api/v1/dfs/team_stats/{id}Get a single team_stat by id
Parameters
idpathbigintrequiredPrimary key (id) of the team_stat row.
Restores the documented defaults (trial keys only accept the unchanged defaults).
Request
curl -sS --compressed \
-H 'Authorization: Bearer YOUR_API_KEY' \
'https://api.stat-api.com/api/v1/dfs/team_stats/6984504'Responses
200Single team_stat row.application/jsonshow example ▸
404Row not found.
Response Schema(61 fields)show schema ▸
| Field | Type | References | Description |
|---|---|---|---|
idkey | bigint | — | Primary Key |
game_id | bigint | — | — e.g. 2392 |
league_id | bigint | — | — e.g. 2 |
operator_id | bigint | — | — e.g. 2 |
opponent_team_id | bigint | — | — e.g. 23 |
slate_id | bigint | — e.g. 758 | |
team_id | bigint | — | — e.g. 23 |
blocked_kick_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
blocked_kicks | integernullable | — | — e.g. — (all-null in sample) |
defense_interception_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
defensive_interceptions | integernullable | — | — e.g. — (all-null in sample) |
defensive_sacks | integernullable | — | — e.g. — (all-null in sample) |
defensive_td_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
defensive_tds | integernullable | — | — e.g. — (all-null in sample) |
extra_point_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
extra_pts_made | integernullable | — | — e.g. — (all-null in sample) |
fantasy_pts | decimalnullable | — | — e.g. 253.5000 |
field_goal_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
field_goal_missed_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
field_goals_attempted | integernullable | — | — e.g. — (all-null in sample) |
field_goals_made | integernullable | — | — e.g. — (all-null in sample) |
first_downs | integernullable | — | — e.g. — (all-null in sample) |
fumble_lost_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
fumble_recovery_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
fumbles_lost | integernullable | — | — e.g. — (all-null in sample) |
fumbles_recovered | integernullable | — | — e.g. — (all-null in sample) |
interception_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
interceptions_thrown | integernullable | — | — e.g. — (all-null in sample) |
is_home | boolean | — | — Values:truefalse |
kick_return_tds | integernullable | — | — e.g. — (all-null in sample) |
passing_2pt_conversion_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
passing_bonus_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
passing_td_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
passing_yds | integernullable | — | — e.g. — (all-null in sample) |
passing_yds_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
player_count | integernullable | — | — e.g. 10 |
pts | integernullable | — | — e.g. 109 |
pts_allowed_def | integernullable | — | — e.g. — (all-null in sample) |
pts_allowed_dst | integernullable | — | — e.g. — (all-null in sample) |
pts_allowed_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
punt_return_tds | integernullable | — | — e.g. — (all-null in sample) |
receiving_2pt_conversion_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
receiving_bonus_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
receiving_td_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
receiving_yds | integernullable | — | — e.g. — (all-null in sample) |
receiving_yds_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
reception_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
return_td_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
return_yds_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
rushing_2pt_conversion_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
rushing_bonus_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
rushing_td_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
rushing_yds | integernullable | — | — e.g. — (all-null in sample) |
rushing_yds_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
sack_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
safeties | integernullable | — | — e.g. — (all-null in sample) |
safety_fpts | decimalnullable | — | — e.g. — (all-null in sample) |
scoring_format | stringnullable | — | Operator scoring format code (classic, showdown, single_game); null when the format has no fantasy scoring. Values:classicshowdownsingle_game |
slate_date | date | — | — e.g. 2017-01-21 |
total_yds | integernullable | — | — e.g. — (all-null in sample) |
turnovers | integernullable | — | — e.g. 17 |