STAT-API

DFS slate_players API

slate_playersdfs.slate_players
Player pool for a DFS slate — one row per (slate, player, roster slot). Carries operator salary, positions, and any operator-side metadata.
GET/api/v1/dfs/slate_players
Requires one of: slate_id or operator_slate_id — requests satisfying none of these return 400.
Parameters
slate_idquerybigintoptional
Filter to the player pool of a single slate.
operator_slate_idquerybigintoptional
Operator-side slate identifier (DraftKings contest group ID, FanDuel fixtureListId). Resolves to slate_id.
operator_idquerystringoptional
Disambiguate slate by operator: 1 DraftKings, 2 FanDuel, 3 Yahoo.
operatorquerystringoptional
Disambiguate slate by operator: draftkings, fanduel, yahoo (or numeric operator id).
positionquerystringoptional
Filter by roster position (e.g. QB, RB, WR, TE, DST, K).
team_idquerybigintoptional
Filter by team ID.
modequerystringoptionaldefault pre
Time wall. `pre` (default): each value as it stood at its game's kickoff; post-game fields are null. `full`: the latest value before week end (the first Tuesday 04:00 ET after the game), post-game fields included. See the Data timing guide. Values: pre, full.
limitqueryintegeroptionaldefault 50
Page size. Defaults to 50; max 5000.
from_idquerybigintoptional
Return 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/slate_players?slate_id=676551'
Responses
200slate_players rows matching the declared filter set, wrapped in { slate_players, limit, next_from_id }. next_from_id is the last row's id on a full page — pass it back via ?from_id= to walk the full result; null marks the terminal page.application/jsonshow example ▸
400No declared filter set was satisfied — response body matches MissingRequiredFiltersError; pick one combo from the accepted-sets hint and resend.application/json
Response Schema(17 fields)show schema ▸
FieldTypeReferencesDescription
idkey
bigint—Primary Key
export_id
stringnullable—Operator player ID used for CSV export/import
e.g. 108443-158854
external_id
stringnullable—Operator player identifier in this slate.
e.g. 145319
league_id
bigint—League key disambiguating player_id.
e.g. 2
player_id
bigint—Polymorphic FK to {nfl,nba,mlb,nhl}.players based on league_id.
e.g. 23
slate_game_id
bigintFK to dfs.slate_games — the specific slate-game this player is rostered to.
e.g. 193
slate_id
bigintFK to dfs.slates.
e.g. 247
team_id
bigintnullable—Polymorphic FK to {league}.teams. Null for golfers and other player-only sports.
e.g. 17
avg_points
floatnullable—Average fantasy points from operator
e.g. 14.4
display_name
stringnullable—Full display name from operator
e.g. Jarred Vanderbilt
eligible_positions
stringnullable—Every position the operator lets this listing fill, /-joined in the operator's order (e.g. OF/2B/3B, PG/SG). A lineup may seat the player in any slot that accepts one of them. A showdown listing (CPT, MVP, STAR, PRO) holds its own seat. Null when no operator answer we hold gives the list.
Values:CPGCPTSGMVPPROSTARSFSG/SFPFSF/PFPG/SGPF/CPF/SFSF/SGSG/PGPG/SFC/PFPG/PF
first_name
stringnullable—Player first name from operator
e.g. Jalen
injury_details
stringnullable—Injury body part/details
e.g. — (all-null in sample)
injury_status
stringnullable—Injury status, lower case: il, o, q, d, p, dtd, na, ir, gtd (game-time decision), c19 (COVID-19 protocols, 2021-22 only). Empty when the operator listed the player as healthy.
Values:oqgtd
last_name
stringnullable—Player last name from operator
e.g. Williams
position
string—Primary position label per operator (e.g., RB, WR, PG, SP).
Values:CPGCPTSGMVPPROSTARSFSG/SFPFSF/PFPG/SGPF/CPF/SFSF/SGSG/PGPG/SFC/PFPG/PF
salary
integer—Operator-assigned DFS salary (whole dollars; e.g., 8400 = $8,400).
e.g. 6000
GET/api/v1/dfs/slate_players/{id}
Parameters
idpathbigintrequired
Primary key (id) of the slate_player row.
modequerystringoptionaldefault pre
Time wall. `pre` (default): each value as it stood at its game's kickoff; post-game fields are null. `full`: the latest value before week end (the first Tuesday 04:00 ET after the game), post-game fields included. See the Data timing guide. Values: pre, full.
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/slate_players/43189982'
Responses
200Single slate_player row.application/jsonshow example ▸
404Row not found.
Response Schema(17 fields)show schema ▸
FieldTypeReferencesDescription
idkey
bigint—Primary Key
export_id
stringnullable—Operator player ID used for CSV export/import
e.g. 108443-158854
external_id
stringnullable—Operator player identifier in this slate.
e.g. 145319
league_id
bigint—League key disambiguating player_id.
e.g. 2
player_id
bigint—Polymorphic FK to {nfl,nba,mlb,nhl}.players based on league_id.
e.g. 23
slate_game_id
bigintFK to dfs.slate_games — the specific slate-game this player is rostered to.
e.g. 193
slate_id
bigintFK to dfs.slates.
e.g. 247
team_id
bigintnullable—Polymorphic FK to {league}.teams. Null for golfers and other player-only sports.
e.g. 17
avg_points
floatnullable—Average fantasy points from operator
e.g. 14.4
display_name
stringnullable—Full display name from operator
e.g. Jarred Vanderbilt
eligible_positions
stringnullable—Every position the operator lets this listing fill, /-joined in the operator's order (e.g. OF/2B/3B, PG/SG). A lineup may seat the player in any slot that accepts one of them. A showdown listing (CPT, MVP, STAR, PRO) holds its own seat. Null when no operator answer we hold gives the list.
Values:CPGCPTSGMVPPROSTARSFSG/SFPFSF/PFPG/SGPF/CPF/SFSF/SGSG/PGPG/SFC/PFPG/PF
first_name
stringnullable—Player first name from operator
e.g. Jalen
injury_details
stringnullable—Injury body part/details
e.g. — (all-null in sample)
injury_status
stringnullable—Injury status, lower case: il, o, q, d, p, dtd, na, ir, gtd (game-time decision), c19 (COVID-19 protocols, 2021-22 only). Empty when the operator listed the player as healthy.
Values:oqgtd
last_name
stringnullable—Player last name from operator
e.g. Williams
position
string—Primary position label per operator (e.g., RB, WR, PG, SP).
Values:CPGCPTSGMVPPROSTARSFSG/SFPFSF/PFPG/SGPF/CPF/SFSF/SGSG/PGPG/SFC/PFPG/PF
salary
integer—Operator-assigned DFS salary (whole dollars; e.g., 8400 = $8,400).
e.g. 6000