DFS slate_players API
slate_players
dfs.slate_playersPlayer 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_playersList slate_players for DFS
Requires one of:
slate_id or operator_slate_id — requests satisfying none of these return 400.Parameters
slate_idquerybigintoptionalFilter to the player pool of a single slate.
operator_slate_idquerybigintoptionalOperator-side slate identifier (DraftKings contest group ID, FanDuel fixtureListId). Resolves to slate_id.
operator_idquerystringoptionalDisambiguate slate by operator: 1 DraftKings, 2 FanDuel, 3 Yahoo.
operatorquerystringoptionalDisambiguate slate by operator: draftkings, fanduel, yahoo (or numeric operator id).
positionquerystringoptionalFilter by roster position (e.g. QB, RB, WR, TE, DST, K).
team_idquerybigintoptionalFilter by team ID.
modequerystringoptionaldefault preTime 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 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/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/jsonResponse Schema(17 fields)show schema ▸
| Field | Type | References | Description |
|---|---|---|---|
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 | bigint | FK to dfs.slate_games — the specific slate-game this player is rostered to. e.g. 193 | |
slate_id | bigint | FK 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}Get a single slate_player by id
Parameters
idpathbigintrequiredPrimary key (id) of the slate_player row.
modequerystringoptionaldefault preTime 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 ▸
| Field | Type | References | Description |
|---|---|---|---|
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 | bigint | FK to dfs.slate_games — the specific slate-game this player is rostered to. e.g. 193 | |
slate_id | bigint | FK 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 |