STAT-API

DFS slate_games API

slate_gamesdfs.slate_games
Many-to-many bridge between a DFS slate and the sport games included in its pool.
GET/api/v1/dfs/slate_games
Requires one of: slate_id or operator_slate_id — requests satisfying none of these return 400.
Parameters
slate_idquerybigintoptional
Filter to the games in a single slate pool.
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).
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_games?slate_id=676551'
Responses
200slate_games rows matching the declared filter set, wrapped in { slate_games, 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(6 fields)show schema ▸
FieldTypeReferencesDescription
idkey
bigint—Primary Key
external_id
stringnullable—Operator-side game identifier.
e.g. 59159
game_id
bigint—Polymorphic reference to {nfl,nba,mlb}.games based on league_id
e.g. 2392
league_id
bigint—League key disambiguating the polymorphic game_id (nfl/nba/mlb/nhl).
e.g. 2
slate_id
bigintFK to dfs.slates.
e.g. 758
data
jsonbnullable—Operator-provided game metadata (teams, matchup type, and start time).
e.g. {"awayTeam":"NY","homeTeam":"BOS","matchType":null,"operato…
↳awayTeam
data.awayTeam
stringnullable—Away team code in slate context (e.g. DET).
↳homeTeam
data.homeTeam
stringnullable—Home team code in slate context (e.g. KC).
↳startTime
data.startTime
timestamptznullable—Scheduled game start timestamp.
↳matchType
data.matchType
stringnullable—Match classification (regular season, playoff, etc.).
↳operator
data.operator
stringnullable—DFS operator name (draftkings, fanduel, yahoo).
↳operatorGameId
data.operatorGameId
stringnullable—Operator external game identifier.
↳recordedAt
data.recordedAt
timestamptznullable—Ingest capture timestamp.
↳source
data.source
stringnullable—Data ingest source identifier.
↳sourceOrdinal
data.sourceOrdinal
integernullable—Source precedence ranking.
↳v
data.v
integernullable—Payload format schema version.
GET/api/v1/dfs/slate_games/{id}
Parameters
idpathbigintrequired
Primary key (id) of the slate_game 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/slate_games/2122853'
Responses
200Single slate_game row.application/jsonshow example ▸
404Row not found.
Response Schema(6 fields)show schema ▸
FieldTypeReferencesDescription
idkey
bigint—Primary Key
external_id
stringnullable—Operator-side game identifier.
e.g. 59159
game_id
bigint—Polymorphic reference to {nfl,nba,mlb}.games based on league_id
e.g. 2392
league_id
bigint—League key disambiguating the polymorphic game_id (nfl/nba/mlb/nhl).
e.g. 2
slate_id
bigintFK to dfs.slates.
e.g. 758
data
jsonbnullable—Operator-provided game metadata (teams, matchup type, and start time).
e.g. {"awayTeam":"NY","homeTeam":"BOS","matchType":null,"operato…
↳awayTeam
data.awayTeam
stringnullable—Away team code in slate context (e.g. DET).
↳homeTeam
data.homeTeam
stringnullable—Home team code in slate context (e.g. KC).
↳startTime
data.startTime
timestamptznullable—Scheduled game start timestamp.
↳matchType
data.matchType
stringnullable—Match classification (regular season, playoff, etc.).
↳operator
data.operator
stringnullable—DFS operator name (draftkings, fanduel, yahoo).
↳operatorGameId
data.operatorGameId
stringnullable—Operator external game identifier.
↳recordedAt
data.recordedAt
timestamptznullable—Ingest capture timestamp.
↳source
data.source
stringnullable—Data ingest source identifier.
↳sourceOrdinal
data.sourceOrdinal
integernullable—Source precedence ranking.
↳v
data.v
integernullable—Payload format schema version.