List contests for DFS
Request
- Base URL: https://api.stat-api.com
- URL: https://api.stat-api.com/api/v1/dfs/contests
- Auth: HTTP bearer
Query parameters
Filter to all contests run on a single slate.
Operator-side slate identifier (DraftKings contest group ID, FanDuel fixtureListId). Resolves to slate_id.
Filter to one operator: by numeric id (1 DraftKings, 2 FanDuel, 3 Yahoo) or name (draftkings, fanduel).
Filter to one operator: draftkings, fanduel, yahoo (or numeric operator id).
Filter contests by parent slate status: Upcoming, Live, Completed (case-insensitive).
Filter contests by parent slate status: Upcoming, Live, Completed (case-insensitive).
Filter by lineup file status: available (the lineups are loaded), pending, unavailable, none.
Filter contests by whether their lineups are loaded. true returns the contests with lineups_status = available. false returns every other contest (lineups_status pending, unavailable or none).
Filter by how many stored lineups hold some of their seats but not all. partial_lineups_count=0 returns the contests whose stored lineups are all complete; partial_lineups_count__lte=N allows up to N such lineups.
Filter by how many stored lineups hold some of their seats but not all. partial_lineups_count=0 returns the contests whose stored lineups are all complete; partial_lineups_count__lte=N allows up to N such lineups. (less-than-or-equal)
Page size; defaults to (and is capped at) 5000.
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.
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
contests rows matching the declared filter set.
Changes
No recorded changes to this operation across all 3 revisions of this API.