DFS

List slates for DFS

get/api/v1/dfs/slates

Request

  • Base URL: https://api.stat-api.com
  • URL: https://api.stat-api.com/api/v1/dfs/slates
  • Auth: HTTP bearer

Query parameters

operator_idinteger

Filter to all slates for a single DFS operator: by numeric id (1 DraftKings, 2 FanDuel, 3 Yahoo).

operatorstring

Filter to all slates for a single DFS operator: draftkings, fanduel, yahoo (or numeric operator id).

datestring date

Slate calendar date in US Eastern time (YYYY-MM-DD), derived from start_time. Range operators let a caller ask for the most recent slates on or before a day, which is how a client finds live data without knowing the schedule.

date__gtestring date

Slate calendar date in US Eastern time (YYYY-MM-DD), derived from start_time. Range operators let a caller ask for the most recent slates on or before a day, which is how a client finds live data without knowing the schedule. (greater-than-or-equal)

date__ltestring date

Slate calendar date in US Eastern time (YYYY-MM-DD), derived from start_time. Range operators let a caller ask for the most recent slates on or before a day, which is how a client finds live data without knowing the schedule. (less-than-or-equal)

date__betweenstring date

Slate calendar date in US Eastern time (YYYY-MM-DD), derived from start_time. Range operators let a caller ask for the most recent slates on or before a day, which is how a client finds live data without knowing the schedule. (comma-separated min,max range (inclusive))

leaguestring

League — code (NFL, NBA, MLB, NHL, GOLF; case-insensitive) or numeric league id. Resolves via main.leagues.

sportstring

Sport/league code (NFL, NBA, MLB, NHL, GOLF; case-insensitive). Resolves via main.leagues.

external_idinteger

Operator-side slate identifier (DraftKings contest group ID, FanDuel fixtureListId).

operator_slate_idinteger

Operator-side slate identifier (DraftKings contest group ID, FanDuel fixtureListId). Resolves to slate id.

status'Upcoming' | 'Live' | 'Completed' | 'upcoming' | 'live' | 'completed'

Filter by slate lifecycle status: Upcoming, Live, Completed (case-insensitive).

limitinteger

Page size; defaults to (and is capped at) 5000.

from_idinteger

Return rows with id strictly greater than this value, in ascending id order. To walk every row, start at 0 and then pass the previous response's next_from_id. Without it, the first page uses the table's default sort and returns no cursor.

format'json' | 'csv'

Response format: json (default) or csv — the same rows as CSV with raw values, a blank cell for null, and X-Next-From-Id when another page exists. With format=csv only, the API key may be passed as the key query param (for Google Sheets IMPORTDATA); use a separate, revocable key for that.

Response

slates rows matching the declared filter set.

has_moreboolean required

True when a full page came back, so more rows can exist.

limitinteger required

Page size used for this response.

next_from_idinteger nullable required

Pass this as from_id on the next request to page forward. null on the terminal page, and on a first page requested without from_id (that page uses the default sort): to walk every row, start with from_id=0.

Changes

No recorded changes to this operation across all 2 revisions of this API.