STAT-API

DFS contests API

contestsdfs.contests
A DFS contest run on a slate — its entry fee, prize pool, entry caps, type flags and lock time. One slate hosts many contests. Fill history lives in contest_snapshots; the payout ladder in contest_payouts.
GET/api/v1/dfs/contests
Requires one of: slate_id or operator_slate_id — requests satisfying none of these return 400.
Parameters
slate_idquerybigintoptional
Filter to all contests run on a single slate.
operator_slate_idquerybigintoptional
Operator-side slate identifier (DraftKings contest group ID, FanDuel fixtureListId). Resolves to slate_id.
operator_idquerybigintoptional
Filter to one operator: by numeric id (1 DraftKings, 2 FanDuel, 3 Yahoo) or name (draftkings, fanduel).
operatorquerystringoptional
Filter to one operator: draftkings, fanduel, yahoo (or numeric operator id).
statusquerystringoptional
Filter contests by parent slate status: Upcoming, Live, Completed (case-insensitive). Values: Upcoming, Live, Completed, upcoming, live, completed.
slate_statusquerystringoptional
Filter contests by parent slate status: Upcoming, Live, Completed (case-insensitive). Values: Upcoming, Live, Completed, upcoming, live, completed.
lineups_statusquerystringoptional
Filter by lineup file status: available (the final lineups are loaded), live (a DraftKings contest whose games still run, with lineups from a live file), pending, unavailable, none. Values: available, live, pending, unavailable, none.
has_lineupsquerystringoptional
Filter contests by whether their lineups are loaded. true returns the contests with lineups_status available or live (the final file, or a live file while the games run). false returns every other contest (lineups_status pending, unavailable or none). Values: true, false.
partial_lineups_countqueryintegeroptional
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. Range syntax: partial_lineups_count__lte=.
complete_filequerybooleanoptional
Filter contests by whether they have their full data (Frank 2026-11-03). true returns the contests whose final lineup file holds every entry and every seat (complete_file). false returns every other contest. Values: true, false.
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/contests?slate_id=1237135'
Responses
200contests rows matching the declared filter set, wrapped in { contests, limit, next_from_id, has_more }. has_more is true when another row follows this page. To walk every row, start with ?from_id=0 and pass each next_from_id back as from_id until it is null; the filters stay. A first page without from_id comes in the default order and gives next_from_id null.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(29 fields)show schema ▸
51 total fields (2 nested object/array groups)
FieldTypeReferencesDescription
idkey
bigint—Primary Key
external_id
bigint—Operator contest id, numeric. FanDuel: the tail of its composite id.
e.g. 188369206
game_type_id
integernullable—Operator game type: DraftKings gameTypeId (1 Classic, 96 Showdown Captain, …).
e.g. 70
operator_external_id
stringnullable—The operator id exactly as served. FanDuel: "{fixtureListId}-{contestId}", which the API needs back verbatim. DraftKings: same as external_id.
e.g. 188369206
operator_id
bigintFK to the operator. Denormalized from slates: 5,160 slate external_ids are shared between DraftKings and FanDuel, so every operator filter was a two-hop join.
e.g. 1
slate_id
bigintFK to the slate this contest runs on.
e.g. 32347
attributes
jsonbnullable—The operator's raw flag set, kept whole: IsStarred, IsWinnerTakeAll, Multiplier, IsBeginner, IsCasual, IsPrivate, League, …
e.g. {"lobby_captured_at":"2026-03-02T21:33:29.278Z","restricted…
complete_file
boolean—True when the contest has its full data (Frank 2026-11-03): its final lineup file is loaded, holds at least entry_count lineups, does not call itself a sample (file_sampled), and no stored lineup misses a seat (partial_lineups_count = 0). False otherwise, also while the file is not counted yet (counted within the hour).
e.g. — (all-null in sample)
contest_state
stringnullable—Latest observed state: Upcoming, Live, Completed, Cancelled. DraftKings cs / contestState.
Values:CompletedCancelled
contest_type
integer—Contest structure code (0 = Tournament / GPP, 1 = Cash game / 50-50 / Double-up / head-to-head, 2 = League: a small public operator contest, e.g. a FanDuel 3-player league).
e.g. 0
entry_count
integer—Latest observed entries. The history is in contest_snapshots.
e.g. 0
entry_fee
integer—Entry fee in cents (e.g. 500 = $5.00, 2000 = $20.00). 0 for free contests.
e.g. 100
first_prize
integernullable—The prize for 1st place in cents (e.g. 100000000 = $1,000,000.00), from the contest's payout table (dfs.contest_payout_shapes.top_prize): cash, plus the face value of a ticket a qualifier pays. Null when the contest has no payout table.
e.g. — (all-null in sample)
first_seen_at
timestamptznullable—First lobby observation.
e.g. — (all-null in sample)
game_count
integer—Number of games in the pool of the contest's slate (distinct games in dfs.slate_games). 0 when the slate has no linked games.
e.g. — (all-null in sample)
guaranteed
boolean—Whether the prize pool is guaranteed regardless of entries filled.
Values:truefalse
last_seen_at
timestamptznullable—Last lobby observation. A contest absent from the lobby after this is cancelled or locked.
e.g. 2026-10-02T03:09:20.810Z
max_entries
integer—Maximum total entries the contest accepts. Latest observed.
e.g. 100
max_entries_per_user
integer—Maximum lineups a single entrant may submit.
e.g. 1
name
string—Operator-facing contest name (e.g. "$5 NBA Mini-MAX").
e.g. 50/50 Contest ($1 - Top 50% Win)
paid_places
integernullable—Number of paying positions. FanDuel serves it in the lobby (prizes.count); DraftKings derives it from the ladder.
e.g. 1
payout_type
integernullable—DraftKings pt. 1 on all paid contests; 2 marked the two $0 promo contests.
e.g. 1
player_count
integer—Number of rows in the pool of the contest's slate (dfs.slate_players). On showdown and single-game slates a CPT or MVP row counts separately, so the number can be twice the players.
e.g. — (all-null in sample)
prize_pool
integer—Total prize pool in cents (e.g. 10000000 = $100,000.00). On qualifiers, includes ticket face value.
e.g. 2500
qualifier
boolean—Satellite or qualifier — pays tickets or seats, not (only) cash. Excluded from field-size statistics.
Values:falsetrue
slate_status
stringnullable—Authoritative lifecycle status of the parent slate (Upcoming, Live, Completed), joined from dfs.slates.
e.g. — (all-null in sample)
start_time
timestamptznullable—The contest's own lock time. A late-swap contest locks later than its slate.
e.g. 2026-03-03T00:00:00.000Z
state
string—Lifecycle state of the contest in the Prelock / Started / Completed vocabulary, derived by the API on every read (browse.rs derive_dfs_lifecycle_state) from the parent slate status: Upcoming → Prelock, Live → Started, Completed → Completed. `status` is the authoritative field; this one repeats it in the older vocabulary.
e.g. — (all-null in sample)
status
stringnullable—Authoritative lifecycle status of the parent slate (Upcoming, Live, Completed), joined from dfs.slates.
e.g. — (all-null in sample)
GET/api/v1/dfs/contests/{id}
Parameters
idpathbigintrequired
Primary key (id) of the contest 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/contests/106960498'
Responses
200Single contest row.application/jsonshow example ▸
404Row not found.
Response Schema(29 fields)show schema ▸
51 total fields (2 nested object/array groups)
FieldTypeReferencesDescription
idkey
bigint—Primary Key
external_id
bigint—Operator contest id, numeric. FanDuel: the tail of its composite id.
e.g. 188369206
game_type_id
integernullable—Operator game type: DraftKings gameTypeId (1 Classic, 96 Showdown Captain, …).
e.g. 70
operator_external_id
stringnullable—The operator id exactly as served. FanDuel: "{fixtureListId}-{contestId}", which the API needs back verbatim. DraftKings: same as external_id.
e.g. 188369206
operator_id
bigintFK to the operator. Denormalized from slates: 5,160 slate external_ids are shared between DraftKings and FanDuel, so every operator filter was a two-hop join.
e.g. 1
slate_id
bigintFK to the slate this contest runs on.
e.g. 32347
attributes
jsonbnullable—The operator's raw flag set, kept whole: IsStarred, IsWinnerTakeAll, Multiplier, IsBeginner, IsCasual, IsPrivate, League, …
e.g. {"lobby_captured_at":"2026-03-02T21:33:29.278Z","restricted…
complete_file
boolean—True when the contest has its full data (Frank 2026-11-03): its final lineup file is loaded, holds at least entry_count lineups, does not call itself a sample (file_sampled), and no stored lineup misses a seat (partial_lineups_count = 0). False otherwise, also while the file is not counted yet (counted within the hour).
e.g. — (all-null in sample)
contest_state
stringnullable—Latest observed state: Upcoming, Live, Completed, Cancelled. DraftKings cs / contestState.
Values:CompletedCancelled
contest_type
integer—Contest structure code (0 = Tournament / GPP, 1 = Cash game / 50-50 / Double-up / head-to-head, 2 = League: a small public operator contest, e.g. a FanDuel 3-player league).
e.g. 0
entry_count
integer—Latest observed entries. The history is in contest_snapshots.
e.g. 0
entry_fee
integer—Entry fee in cents (e.g. 500 = $5.00, 2000 = $20.00). 0 for free contests.
e.g. 100
first_prize
integernullable—The prize for 1st place in cents (e.g. 100000000 = $1,000,000.00), from the contest's payout table (dfs.contest_payout_shapes.top_prize): cash, plus the face value of a ticket a qualifier pays. Null when the contest has no payout table.
e.g. — (all-null in sample)
first_seen_at
timestamptznullable—First lobby observation.
e.g. — (all-null in sample)
game_count
integer—Number of games in the pool of the contest's slate (distinct games in dfs.slate_games). 0 when the slate has no linked games.
e.g. — (all-null in sample)
guaranteed
boolean—Whether the prize pool is guaranteed regardless of entries filled.
Values:truefalse
last_seen_at
timestamptznullable—Last lobby observation. A contest absent from the lobby after this is cancelled or locked.
e.g. 2026-10-02T03:09:20.810Z
max_entries
integer—Maximum total entries the contest accepts. Latest observed.
e.g. 100
max_entries_per_user
integer—Maximum lineups a single entrant may submit.
e.g. 1
name
string—Operator-facing contest name (e.g. "$5 NBA Mini-MAX").
e.g. 50/50 Contest ($1 - Top 50% Win)
paid_places
integernullable—Number of paying positions. FanDuel serves it in the lobby (prizes.count); DraftKings derives it from the ladder.
e.g. 1
payout_type
integernullable—DraftKings pt. 1 on all paid contests; 2 marked the two $0 promo contests.
e.g. 1
player_count
integer—Number of rows in the pool of the contest's slate (dfs.slate_players). On showdown and single-game slates a CPT or MVP row counts separately, so the number can be twice the players.
e.g. — (all-null in sample)
prize_pool
integer—Total prize pool in cents (e.g. 10000000 = $100,000.00). On qualifiers, includes ticket face value.
e.g. 2500
qualifier
boolean—Satellite or qualifier — pays tickets or seats, not (only) cash. Excluded from field-size statistics.
Values:falsetrue
slate_status
stringnullable—Authoritative lifecycle status of the parent slate (Upcoming, Live, Completed), joined from dfs.slates.
e.g. — (all-null in sample)
start_time
timestamptznullable—The contest's own lock time. A late-swap contest locks later than its slate.
e.g. 2026-03-03T00:00:00.000Z
state
string—Lifecycle state of the contest in the Prelock / Started / Completed vocabulary, derived by the API on every read (browse.rs derive_dfs_lifecycle_state) from the parent slate status: Upcoming → Prelock, Live → Started, Completed → Completed. `status` is the authoritative field; this one repeats it in the older vocabulary.
e.g. — (all-null in sample)
status
stringnullable—Authoritative lifecycle status of the parent slate (Upcoming, Live, Completed), joined from dfs.slates.
e.g. — (all-null in sample)
GET/api/v1/dfs/contest-bundles/download
Parameters
sportquerystringrequired
nfl, nba, mlb or nhl.
operatorquerystringrequired
draftkings or fanduel.
seasonqueryintegerrequired
The season, as in GET /api/v1/dfs/contest-bundles.
game_typequerystringrequired
classic, or showdown (DraftKings) / single_game (FanDuel).
contest_typequerystringoptionaldefault all
all, gpp or cash.
periodquerystringrequired
A period id of GET /api/v1/dfs/contest-bundles: week-1 to week-18 or postseason (NFL), <season>-01 to <season>-12 (other sports).
formatquerystringoptionaldefault zip
zip, the only format.
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/contest-bundles/download?format=zip&game_type=single_game&operator=fanduel&period=2025-10&season=2025&sport=nhl'
Responses
200One ZIP of every full contest file of one period of a seasonapplication/jsonshow example ▸
400A missing or unknown sport, operator, season, game_type, contest_type, period or format
402The caller has no DFS access (dfs_access_required)
404No contest of the period has its full file yet
429The file costs more records than the caller has left this month (quota_too_small)
Response Schema(5 fields)show schema ▸
FieldTypeReferencesDescription
error
string—Only on a refusal: dfs_access_required (402) or quota_too_small (429). A 200 is the ZIP file.
message
string—What happened and what to do.
status
integer—The HTTP status.
cost
bigintnullable—429: the lineups of the file, the records it costs.
records_left
bigintnullable—429: the records left this month.
GET/api/v1/dfs/contest-bundles
Parameters
sportquerystringrequired
nfl, nba, mlb or nhl.
operatorquerystringrequired
draftkings or fanduel.
seasonqueryintegerrequired
The season: the NFL season year (2026 is the season that starts in September 2026), else the calendar year. From 2021.
game_typequerystringrequired
classic, or showdown (DraftKings) / single_game (FanDuel): the two words mean the same format.
contest_typequerystringoptionaldefault all
all, gpp or cash.
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/contest-bundles?game_type=classic&operator=fanduel&season=2025&sport=nfl'
Responses
200The periods of a season with the counts of their full contest filesapplication/jsonshow example ▸
400A missing or unknown sport, operator, season (before 2021), game_type or contest_type
Response Schema(10 fields)show schema ▸
18 total fields (1 nested object/array groups)
FieldTypeReferencesDescription
sport
string—The sport of the request.
operator
string—draftkings or fanduel.
season
integer—The season of the request.
game_type
string—classic, showdown (DraftKings) or single_game (FanDuel).
contest_type
string—all, gpp or cash.
contests
bigint—Contests of the season with their full file.
lineups
bigint—Lineups in those files: the records the whole season costs.
zip_bytes_estimate
bigint—The size of all the period ZIPs in bytes, an estimate (75 bytes per NFL lineup, 50 for the other sports).
records_left
bigintnullable—The records the caller has left this month (Pro and Elite). Null for a caller that is not metered.
periods
list—Every period of the season, in order.
↳period
periods[].period
string—The period id that the download takes: week-9, postseason or 2026-11.
↳label
periods[].label
string—Week 9, Postseason or 2026-11.
↳start_date
periods[].start_date
string—First day of the period (YYYY-MM-DD, the slate dates).
↳end_date
periods[].end_date
string—Last day of the period (YYYY-MM-DD).
↳contests
periods[].contests
bigint—Contests of the period with their full file.
↳lineups
periods[].lineups
bigint—Lineups in those files: the records the download costs.
↳zip_bytes_estimate
periods[].zip_bytes_estimate
bigint—The size of the ZIP in bytes, an estimate (75 bytes per NFL lineup, 50 for the other sports).
↳in_progress
periods[].in_progress
boolean—The period ends today (US Eastern) or later: more files can come.
GET/api/v1/dfs/contests/{contest_id}/download
Parameters
contest_idpathbigintrequired
Internal database contest ID or operator external_id.
formatquerystringoptionaldefault json
Output format: json, csv, or zip (the CSV in a ZIP file).
enrichquerystringoptional
Declarative cross-entity enrichment tags (e.g. dfs.player_stats, nfl.games, nfl.teams). When format=csv, dfs.player_stats embeds non-zero boxscore statistics into each slot cell.
sampled_onlyquerybooleanoptional
When true on sampled contests, excludes unpopulated standings rows (0 in JSON, None in CSV), returning only clean populated lineups.
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/contests/106960498/download?format=csv'
Responses
200Download full contest lineups (CSV or JSON)application/jsonshow example ▸
400Invalid contest ID format
404Contest or full contest lineup not found, or the loader does not collect lineups for this contest (lineups_not_collected: a caller with a paid plan on a DraftKings contest that has started, see the description)
410DraftKings no longer serves the lineup file of this contest (lineups_file_gone)
503The loader gave up on the lineup file and support is informed (lineups_not_loaded, Retry-After 3600), or the request to load it could not be queued (lineups_request_failed, Retry-After 60)
Response Schema(3 fields)show schema ▸
45 total fields (5 nested object/array groups)
Focus:
FieldTypeReferencesDescription
contest
object—Contest metadata.
↳id
contest.id
bigint—Contest ID.
↳name
contest.name
string—Contest name.
↳sport
contest.sport
string—League or sport code.
↳operator
contest.operator
string—DFS operator name (DraftKings, FanDuel).
↳season
contest.season
integer—Season year.
↳date
contest.date
string—Slate date (YYYY-MM-DD).
↳slate_id
contest.slate_id
bigint—DFS slate ID.
↳operator_slate_id
contest.operator_slate_id
bigint—Operator slate ID (DraftKings contestGroupId, FanDuel fixtureListId).
↳slate_name
contest.slate_name
string—Name of the slate (e.g. Main, Sunday Main).
↳game_type
contest.game_type
string—Contest format (classic, showdown).
↳total_entries
contest.total_entries
bigint—Total entrants.
↳paid_places
contest.paid_places
bigint—Total paying positions.
↳entry_fee_cents
contest.entry_fee_cents
bigint—Entry fee in cents.
↳prize_pool_cents
contest.prize_pool_cents
bigint—Prize pool in cents.
↳slots
contest.slots
list<S>—Ordered roster position slots.
↳live
contest.live
objectnullable—Present only while the lineups come from a live file: a DraftKings contest whose games still run, read at each game start, every minute for the next 30 minutes, then every 15 minutes until its final file is loaded at Completed. The seats of players whose games have not started are hidden, and no player points, payouts or ownership are served. Absent for a final file.
↳read_at
contest.live.read_at
string—When the live file was read from DraftKings (UTC, RFC 3339). Ranks and entry points are as of this time.
↳kickoff_at
contest.live.kickoff_at
string—The latest game start of the contest's slate that the live file covers (UTC, RFC 3339). Seats of games that start later are hidden.
player_pool
list—The contest's player pool, one row per player per roster slot (hub decision D1). On a single-game contest (DraftKings showdown, FanDuel single game) each player has two rows with the same id: the multiplied slot (CPT on DraftKings, MVP on FanDuel) and FLEX (UTIL on NBA formats). On a contest with several multiplied slots (FanDuel NBA MVP 2x, STAR 1.5x, PRO 1.2x; FanDuel MLB MVP 2x, STAR 1.5x, shown as All-Star in the operator's file) each player has one row per multiplied slot and one for the plain slot (UTIL): the points of a row are the player's points times the multiplier of its slot. On a classic contest each player has one row, and its slot is his roster position. A lineup seat reads the row with its player id and its slot: the first seat of a single-game lineup is the CPT/MVP seat. Unique on (id, slot). Box-score stats come as an object per row with enrich=dfs.player_stats.
↳id
player_pool[].id
bigint—The operator's player id (dfs.slate_players.external_id). lineups[].slots hold these ids. A single-game player's CPT/MVP row and FLEX row share it. A removed-player seat (is_removed) has a negative id local to the contest instead: the operator's file names him without an id. The same holds for a shared-name seat (is_shared_name).
↳slot
player_pool[].slot
stringnullable—The roster slot this row prices and scores. On a single-game contest: CPT (DraftKings) or MVP (FanDuel) for the multiplied slot, and FLEX for the other slot (UTIL on NBA formats, as the contest names it). On a contest with several multiplied slots: MVP, STAR and PRO (MLB has MVP and STAR) for the multiplied slots, and UTIL for the plain slot. On a classic contest: the player's roster position. Null only for an unresolved player on a classic contest, whose position is unknown.
↳canonical_player_id
player_pool[].canonical_player_id
bigintnullable—Our player ID in the league player tables. Null while the player is parked (DraftKings lists him, his identity is not resolved yet) or matched only by name; the player is still served with the operator's own name, team, position, salary and points. On a removed-player seat (is_removed) it is the player our player finder names for the operator's name. On a shared-name seat (is_shared_name) it is always null: two players of the operator's pool carry the name, and no rule picks one.
↳name
player_pool[].name
stringnullable—The player's name, from the operator's contest data or the slate's player pool. Null when neither holds it (is_unresolved is then true); never a placeholder such as "Player 123".
↳team
player_pool[].team
stringnullable—Team abbreviation. Null for a player without a team (a golfer) and for an unresolved player.
↳position
player_pool[].position
stringnullable—The player's real position (QB, RB, WR, TE, K, DST on DraftKings, D on FanDuel ...), the same on his CPT/MVP row and his FLEX row; never a slot such as CPT or MVP. Null only for an unresolved player.
↳salary
player_pool[].salary
integernullable—The salary of this slot in dollars, as the operator prices it: the CPT/MVP row carries the multiplied price (1.5x on DraftKings). Null only when the price is unknown (an unresolved player).
↳fantasy_points
player_pool[].fantasy_points
decimalnullable—The fantasy points this slot scores: the CPT/MVP row carries the multiplied points (1.5x). Null when nothing measured them: a contest with no lineup file before our stats hold the game (the points appear once they do), or a player the operator's contest data gave no points for and our stats do not hold. Never a 0 placeholder.
↳ownership
player_pool[].ownership
object—Contest field ownership of the player (not of the row's slot): his CPT/MVP row and his FLEX row carry the same values. Every share is null when the contest has no stored lineup (no lineup file yet, or a file with standings only): nothing measured it, and it is never shown as 0.
↳field_pct
player_pool[].ownership.field_pct
decimalnullable—Share of the field's lineups that hold the player in any slot, in percent. Null when the contest has no stored lineup.
↳cash_pct
player_pool[].ownership.cash_pct
decimalnullable—Share of the cashing lineups that hold the player, in percent. Null unless the contest's lineup file stored it (older version-1 files, when a stored lineup cashed); current files do not store it, so it is null on them.
↳top1_pct
player_pool[].ownership.top1_pct
decimalnullable—Share of the top-1% lineups that hold the player, in percent. Null unless the contest's lineup file stored it (older version-1 files, when a stored lineup ranked in the top 1%); current files do not store it, so it is null on them.
↳cpt_field_pct
player_pool[].ownership.cpt_field_pct
decimalnullable—Share of the field's lineups that hold the player at CPT/MVP, in percent. On a contest with several multiplied slots, the share that hold him in the slot of the row (null on the UTIL row). Null on a classic contest and when the contest has no stored lineup.
↳flex_field_pct
player_pool[].ownership.flex_field_pct
decimalnullable—Share of the field's lineups that hold the player at FLEX, in percent. On a contest with several multiplied slots, the share that hold him in a UTIL seat. Null on a classic contest and when the contest has no stored lineup.
↳is_unresolved
player_pool[].is_unresolved
boolean—True when the player matches no row of the slate's player pool and the operator's contest data holds no name for him. The values the data does not hold are then null.
↳export_id
player_pool[].export_id
stringnullable—The id the operator's lineup upload file uses for the player in this slot: the DraftKings draftable id, which differs between a player's CPT row and his FLEX row; the FanDuel "<fixture list id>-<player id>" id, the same on both rows. Null when unknown.
↳is_removed
player_pool[].is_removed
booleannullable—Present, and true, only on a removed-player seat: the operator took the player off the slate after users drafted him (a trade, a cut), and its contest file still lists his seat with the points its own player table holds for him (0 when the table says 0). The row carries the operator's name and position, our player id (canonical_player_id), those fantasy points, and no salary, team or upload id. The key is absent on every other row.
↳is_shared_name
player_pool[].is_shared_name
booleannullable—Present, and true, only on a shared-name seat: the operator's own player pool gives the name to two players of one position, and its contest file names a seat by name and position only, so the seat belongs to neither. The row carries the operator's name and position and the points of its player table (the same whichever player is meant), and no player id of any kind (canonical_player_id is null), salary, team or upload id. The key is absent on every other row.
lineups
list—Entrant lineups with rank, user, points, payout, and seat selections.
↳rank
lineups[].rank
integer—Final standing rank.
↳username
lineups[].username
string—Contest entrant username.
↳points
lineups[].points
decimal—Total lineup fantasy points.
↳payout_cents
lineups[].payout_cents
decimalnullable—Payout in cents. Null while the contest is live (contest.live).
↳slots
lineups[].slots
list<L>—Selected player IDs matching contest slots. 0 is a seat without a player; while the contest is live, a hidden seat (hidden_slots).
↳hidden_slots
lineups[].hidden_slots
list<S>nullable—Present only while the contest is live (contest.live), on a lineup with hidden seats. The slots whose player's game has not started (DraftKings shows them as LOCKED).
GET/api/v1/dfs/{operator}/contests/{contest_id}/download
Parameters
operatorpathstringrequired
The operator: dk (DraftKings) or fd (FanDuel).
contest_idpathstringrequired
The contest id that the operator shows. DraftKings: one number, such as 197910452. FanDuel: the full id, such as 136777-281600565, or the number after the dash. Our own contest id does not work on this route. A contest that this API does not hold answers 404.
formatquerystringoptionaldefault json
Output format: json, csv, or zip (the CSV in a ZIP file).
enrichquerystringoptional
Declarative cross-entity enrichment tags (e.g. dfs.player_stats, nfl.games, nfl.teams). When format=csv, dfs.player_stats embeds non-zero boxscore statistics into each slot cell.
sampled_onlyquerybooleanoptional
When true on sampled contests, excludes unpopulated standings rows (0 in JSON, None in CSV), returning only clean populated lineups.
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/dk/contests/193028231/download?format=csv'
Responses
200Download full contest lineups (CSV or JSON), by the operator's contest idapplication/jsonshow example ▸
400The contest id is not valid for the operator (DraftKings: one number; FanDuel: 136777-281600565 or the number after the dash). Invalid contest ID format
404No contest of this operator has that id in our data. Contest or full contest lineup not found, or the loader does not collect lineups for this contest (lineups_not_collected: a caller with a paid plan on a DraftKings contest that has started, see the description)
410DraftKings no longer serves the lineup file of this contest (lineups_file_gone)
503The loader gave up on the lineup file and support is informed (lineups_not_loaded, Retry-After 3600), or the request to load it could not be queued (lineups_request_failed, Retry-After 60)
Response Schema(3 fields)show schema ▸
45 total fields (5 nested object/array groups)
Focus:
FieldTypeReferencesDescription
contest
object—Contest metadata.
↳id
contest.id
bigint—Contest ID.
↳name
contest.name
string—Contest name.
↳sport
contest.sport
string—League or sport code.
↳operator
contest.operator
string—DFS operator name (DraftKings, FanDuel).
↳season
contest.season
integer—Season year.
↳date
contest.date
string—Slate date (YYYY-MM-DD).
↳slate_id
contest.slate_id
bigint—DFS slate ID.
↳operator_slate_id
contest.operator_slate_id
bigint—Operator slate ID (DraftKings contestGroupId, FanDuel fixtureListId).
↳slate_name
contest.slate_name
string—Name of the slate (e.g. Main, Sunday Main).
↳game_type
contest.game_type
string—Contest format (classic, showdown).
↳total_entries
contest.total_entries
bigint—Total entrants.
↳paid_places
contest.paid_places
bigint—Total paying positions.
↳entry_fee_cents
contest.entry_fee_cents
bigint—Entry fee in cents.
↳prize_pool_cents
contest.prize_pool_cents
bigint—Prize pool in cents.
↳slots
contest.slots
list<S>—Ordered roster position slots.
↳live
contest.live
objectnullable—Present only while the lineups come from a live file: a DraftKings contest whose games still run, read at each game start, every minute for the next 30 minutes, then every 15 minutes until its final file is loaded at Completed. The seats of players whose games have not started are hidden, and no player points, payouts or ownership are served. Absent for a final file.
↳read_at
contest.live.read_at
string—When the live file was read from DraftKings (UTC, RFC 3339). Ranks and entry points are as of this time.
↳kickoff_at
contest.live.kickoff_at
string—The latest game start of the contest's slate that the live file covers (UTC, RFC 3339). Seats of games that start later are hidden.
player_pool
list—The contest's player pool, one row per player per roster slot (hub decision D1). On a single-game contest (DraftKings showdown, FanDuel single game) each player has two rows with the same id: the multiplied slot (CPT on DraftKings, MVP on FanDuel) and FLEX (UTIL on NBA formats). On a contest with several multiplied slots (FanDuel NBA MVP 2x, STAR 1.5x, PRO 1.2x; FanDuel MLB MVP 2x, STAR 1.5x, shown as All-Star in the operator's file) each player has one row per multiplied slot and one for the plain slot (UTIL): the points of a row are the player's points times the multiplier of its slot. On a classic contest each player has one row, and its slot is his roster position. A lineup seat reads the row with its player id and its slot: the first seat of a single-game lineup is the CPT/MVP seat. Unique on (id, slot). Box-score stats come as an object per row with enrich=dfs.player_stats.
↳id
player_pool[].id
bigint—The operator's player id (dfs.slate_players.external_id). lineups[].slots hold these ids. A single-game player's CPT/MVP row and FLEX row share it. A removed-player seat (is_removed) has a negative id local to the contest instead: the operator's file names him without an id. The same holds for a shared-name seat (is_shared_name).
↳slot
player_pool[].slot
stringnullable—The roster slot this row prices and scores. On a single-game contest: CPT (DraftKings) or MVP (FanDuel) for the multiplied slot, and FLEX for the other slot (UTIL on NBA formats, as the contest names it). On a contest with several multiplied slots: MVP, STAR and PRO (MLB has MVP and STAR) for the multiplied slots, and UTIL for the plain slot. On a classic contest: the player's roster position. Null only for an unresolved player on a classic contest, whose position is unknown.
↳canonical_player_id
player_pool[].canonical_player_id
bigintnullable—Our player ID in the league player tables. Null while the player is parked (DraftKings lists him, his identity is not resolved yet) or matched only by name; the player is still served with the operator's own name, team, position, salary and points. On a removed-player seat (is_removed) it is the player our player finder names for the operator's name. On a shared-name seat (is_shared_name) it is always null: two players of the operator's pool carry the name, and no rule picks one.
↳name
player_pool[].name
stringnullable—The player's name, from the operator's contest data or the slate's player pool. Null when neither holds it (is_unresolved is then true); never a placeholder such as "Player 123".
↳team
player_pool[].team
stringnullable—Team abbreviation. Null for a player without a team (a golfer) and for an unresolved player.
↳position
player_pool[].position
stringnullable—The player's real position (QB, RB, WR, TE, K, DST on DraftKings, D on FanDuel ...), the same on his CPT/MVP row and his FLEX row; never a slot such as CPT or MVP. Null only for an unresolved player.
↳salary
player_pool[].salary
integernullable—The salary of this slot in dollars, as the operator prices it: the CPT/MVP row carries the multiplied price (1.5x on DraftKings). Null only when the price is unknown (an unresolved player).
↳fantasy_points
player_pool[].fantasy_points
decimalnullable—The fantasy points this slot scores: the CPT/MVP row carries the multiplied points (1.5x). Null when nothing measured them: a contest with no lineup file before our stats hold the game (the points appear once they do), or a player the operator's contest data gave no points for and our stats do not hold. Never a 0 placeholder.
↳ownership
player_pool[].ownership
object—Contest field ownership of the player (not of the row's slot): his CPT/MVP row and his FLEX row carry the same values. Every share is null when the contest has no stored lineup (no lineup file yet, or a file with standings only): nothing measured it, and it is never shown as 0.
↳field_pct
player_pool[].ownership.field_pct
decimalnullable—Share of the field's lineups that hold the player in any slot, in percent. Null when the contest has no stored lineup.
↳cash_pct
player_pool[].ownership.cash_pct
decimalnullable—Share of the cashing lineups that hold the player, in percent. Null unless the contest's lineup file stored it (older version-1 files, when a stored lineup cashed); current files do not store it, so it is null on them.
↳top1_pct
player_pool[].ownership.top1_pct
decimalnullable—Share of the top-1% lineups that hold the player, in percent. Null unless the contest's lineup file stored it (older version-1 files, when a stored lineup ranked in the top 1%); current files do not store it, so it is null on them.
↳cpt_field_pct
player_pool[].ownership.cpt_field_pct
decimalnullable—Share of the field's lineups that hold the player at CPT/MVP, in percent. On a contest with several multiplied slots, the share that hold him in the slot of the row (null on the UTIL row). Null on a classic contest and when the contest has no stored lineup.
↳flex_field_pct
player_pool[].ownership.flex_field_pct
decimalnullable—Share of the field's lineups that hold the player at FLEX, in percent. On a contest with several multiplied slots, the share that hold him in a UTIL seat. Null on a classic contest and when the contest has no stored lineup.
↳is_unresolved
player_pool[].is_unresolved
boolean—True when the player matches no row of the slate's player pool and the operator's contest data holds no name for him. The values the data does not hold are then null.
↳export_id
player_pool[].export_id
stringnullable—The id the operator's lineup upload file uses for the player in this slot: the DraftKings draftable id, which differs between a player's CPT row and his FLEX row; the FanDuel "<fixture list id>-<player id>" id, the same on both rows. Null when unknown.
↳is_removed
player_pool[].is_removed
booleannullable—Present, and true, only on a removed-player seat: the operator took the player off the slate after users drafted him (a trade, a cut), and its contest file still lists his seat with the points its own player table holds for him (0 when the table says 0). The row carries the operator's name and position, our player id (canonical_player_id), those fantasy points, and no salary, team or upload id. The key is absent on every other row.
↳is_shared_name
player_pool[].is_shared_name
booleannullable—Present, and true, only on a shared-name seat: the operator's own player pool gives the name to two players of one position, and its contest file names a seat by name and position only, so the seat belongs to neither. The row carries the operator's name and position and the points of its player table (the same whichever player is meant), and no player id of any kind (canonical_player_id is null), salary, team or upload id. The key is absent on every other row.
lineups
list—Entrant lineups with rank, user, points, payout, and seat selections.
↳rank
lineups[].rank
integer—Final standing rank.
↳username
lineups[].username
string—Contest entrant username.
↳points
lineups[].points
decimal—Total lineup fantasy points.
↳payout_cents
lineups[].payout_cents
decimalnullable—Payout in cents. Null while the contest is live (contest.live).
↳slots
lineups[].slots
list<L>—Selected player IDs matching contest slots. 0 is a seat without a player; while the contest is live, a hidden seat (hidden_slots).
↳hidden_slots
lineups[].hidden_slots
list<S>nullable—Present only while the contest is live (contest.live), on a lineup with hidden seats. The slots whose player's game has not started (DraftKings shows them as LOCKED).
GET/api/v1/dfs/{operator}/contests/{contest_id}
Parameters
operatorpathstringrequired
The operator: dk (DraftKings) or fd (FanDuel).
contest_idpathstringrequired
The contest id that the operator shows. DraftKings: one number, such as 197910452. FanDuel: the full id, such as 136777-281600565, or the number after the dash. Our own contest id does not work on this route. A contest that this API does not hold answers 404.
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/{operator}/contests/{contest_id}'
Responses
200One contest, by the operator's contest idapplication/jsonshow example ▸
400The contest id is not valid for the operator (DraftKings: one number; FanDuel: 136777-281600565 or the number after the dash)
404No contest of this operator has that id in our data
Response Schema(29 fields)show schema ▸
51 total fields (2 nested object/array groups)
FieldTypeReferencesDescription
idkey
bigint—Primary Key
external_id
bigint—Operator contest id, numeric. FanDuel: the tail of its composite id.
e.g. 188369206
game_type_id
integernullable—Operator game type: DraftKings gameTypeId (1 Classic, 96 Showdown Captain, …).
e.g. 70
operator_external_id
stringnullable—The operator id exactly as served. FanDuel: "{fixtureListId}-{contestId}", which the API needs back verbatim. DraftKings: same as external_id.
e.g. 188369206
operator_id
bigintFK to the operator. Denormalized from slates: 5,160 slate external_ids are shared between DraftKings and FanDuel, so every operator filter was a two-hop join.
e.g. 1
slate_id
bigintFK to the slate this contest runs on.
e.g. 32347
attributes
jsonbnullable—The operator's raw flag set, kept whole: IsStarred, IsWinnerTakeAll, Multiplier, IsBeginner, IsCasual, IsPrivate, League, …
e.g. {"lobby_captured_at":"2026-03-02T21:33:29.278Z","restricted…
complete_file
boolean—True when the contest has its full data (Frank 2026-11-03): its final lineup file is loaded, holds at least entry_count lineups, does not call itself a sample (file_sampled), and no stored lineup misses a seat (partial_lineups_count = 0). False otherwise, also while the file is not counted yet (counted within the hour).
e.g. — (all-null in sample)
contest_state
stringnullable—Latest observed state: Upcoming, Live, Completed, Cancelled. DraftKings cs / contestState.
Values:CompletedCancelled
contest_type
integer—Contest structure code (0 = Tournament / GPP, 1 = Cash game / 50-50 / Double-up / head-to-head, 2 = League: a small public operator contest, e.g. a FanDuel 3-player league).
e.g. 0
entry_count
integer—Latest observed entries. The history is in contest_snapshots.
e.g. 0
entry_fee
integer—Entry fee in cents (e.g. 500 = $5.00, 2000 = $20.00). 0 for free contests.
e.g. 100
first_prize
integernullable—The prize for 1st place in cents (e.g. 100000000 = $1,000,000.00), from the contest's payout table (dfs.contest_payout_shapes.top_prize): cash, plus the face value of a ticket a qualifier pays. Null when the contest has no payout table.
e.g. — (all-null in sample)
first_seen_at
timestamptznullable—First lobby observation.
e.g. — (all-null in sample)
game_count
integer—Number of games in the pool of the contest's slate (distinct games in dfs.slate_games). 0 when the slate has no linked games.
e.g. — (all-null in sample)
guaranteed
boolean—Whether the prize pool is guaranteed regardless of entries filled.
Values:truefalse
last_seen_at
timestamptznullable—Last lobby observation. A contest absent from the lobby after this is cancelled or locked.
e.g. 2026-10-02T03:09:20.810Z
max_entries
integer—Maximum total entries the contest accepts. Latest observed.
e.g. 100
max_entries_per_user
integer—Maximum lineups a single entrant may submit.
e.g. 1
name
string—Operator-facing contest name (e.g. "$5 NBA Mini-MAX").
e.g. 50/50 Contest ($1 - Top 50% Win)
paid_places
integernullable—Number of paying positions. FanDuel serves it in the lobby (prizes.count); DraftKings derives it from the ladder.
e.g. 1
payout_type
integernullable—DraftKings pt. 1 on all paid contests; 2 marked the two $0 promo contests.
e.g. 1
player_count
integer—Number of rows in the pool of the contest's slate (dfs.slate_players). On showdown and single-game slates a CPT or MVP row counts separately, so the number can be twice the players.
e.g. — (all-null in sample)
prize_pool
integer—Total prize pool in cents (e.g. 10000000 = $100,000.00). On qualifiers, includes ticket face value.
e.g. 2500
qualifier
boolean—Satellite or qualifier — pays tickets or seats, not (only) cash. Excluded from field-size statistics.
Values:falsetrue
slate_status
stringnullable—Authoritative lifecycle status of the parent slate (Upcoming, Live, Completed), joined from dfs.slates.
e.g. — (all-null in sample)
start_time
timestamptznullable—The contest's own lock time. A late-swap contest locks later than its slate.
e.g. 2026-03-03T00:00:00.000Z
state
string—Lifecycle state of the contest in the Prelock / Started / Completed vocabulary, derived by the API on every read (browse.rs derive_dfs_lifecycle_state) from the parent slate status: Upcoming → Prelock, Live → Started, Completed → Completed. `status` is the authoritative field; this one repeats it in the older vocabulary.
e.g. — (all-null in sample)
status
stringnullable—Authoritative lifecycle status of the parent slate (Upcoming, Live, Completed), joined from dfs.slates.
e.g. — (all-null in sample)
GET/api/v1/dfs/marquee
Parameters
leaguequerystringrequired
nfl or nba.
seasonqueryintegeroptional
NFL only. Season start year (e.g. 2026). Without week, the current week of that season, else week 1.
weekqueryintegeroptional
NFL only. Regular-season week, 1-18. Without season, the current season.
fromquerystringoptional
NBA only. First night (US Eastern, YYYY-MM-DD). Alone, 7 nights from it.
toquerystringoptional
NBA only. Last night (US Eastern, YYYY-MM-DD), at most 13 days after from. Alone, the 7 nights up to it.
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/marquee?league=nfl&season=2026&week=3'
Responses
200The marquee contests of an NFL week or of a range of NBA nights, by operatorapplication/jsonshow example ▸
400league is not nfl or nba, week is outside 1-18, a date is not YYYY-MM-DD, to is before from, more than 14 nights, or a parameter of the other league
404No such NFL regular-season week
Response Schema(8 fields)show schema ▸
23 total fields (1 nested object/array groups)
FieldTypeReferencesDescription
league
string—The league described.
Values:nflnba
today
string—Today in US Eastern time (YYYY-MM-DD).
season
integernullable—The NFL season described. Null for NBA.
week
integernullable—The NFL week described. Null for NBA.
from
string—The first day described (US Eastern, YYYY-MM-DD). For NFL the start of the week window.
to
string—The last day described (US Eastern, YYYY-MM-DD), included.
free_rows
integer—Standings entries of a marquee contest that are open to everyone (100).
marquee
list—The marquee contests, by date, DraftKings before FanDuel.
↳league
marquee[].league
string—The contest's league.
Values:nflnba
↳operator
marquee[].operator
string—The operator.
Values:draftkingsfanduel
↳occasion
marquee[].occasion
string—sunday_main (an NFL week's main slate), tnf or mnf (an NFL primetime night), night (an NBA night).
Values:sunday_maintnfmnfnight
↳date
marquee[].date
string—The slate's day (US Eastern, YYYY-MM-DD).
↳slate_id
marquee[].slate_id
bigint—Internal slate ID.
↳contest_id
marquee[].contest_id
bigint—Internal contest ID (references dfs.contests.id).
↳name
marquee[].name
string—Contest name.
↳entries
marquee[].entries
bigint—Entries that the operator lists for the contest.
↳entry_fee_cents
marquee[].entry_fee_cents
bigint—Entry fee in cents.
↳prize_pool_cents
marquee[].prize_pool_cents
bigint—Prize pool in cents.
↳lock
marquee[].lock
stringnullable—The contest's start, the lock (ISO 8601, UTC).
↳status
marquee[].status
stringnullable—The operator's contest state (Upcoming, Live, Completed).
↳free
marquee[].free
boolean—The contest is in a free season (NFL from 2026, NBA from 2026-10-20).
↳free_rows
marquee[].free_rows
integer—Standings entries open to everyone once results_open (100), 0 when not free.
↳results_open
marquee[].results_open
boolean—The lineup file exists and the contest is free, so its first free_rows entries are open now.
GET/api/v1/dfs/contests/{contest_id}/ownership
Parameters
contest_idpathbigintrequired
Internal DFS contest ID (references dfs.contests.id).
modequerystringoptionaldefault percentage
'percentage' (default; 'ownership' alias accepted, actual post-contest player ownership) or 'lineups' (expanded expected valid contest lineups up to 50,000 with realized ownership).
formatquerystringoptionaldefault json
'json' (default) or 'csv' (the same rows and columns).
slotquerystringoptional
Roster slot filter: CPT, MVP or FLEX.
positionquerystringoptional
Natural position filter (QB, RB, WR, TE, K, DST).
min_ownershipquerydecimaloptional
Smallest actual_ownership to return, as a ratio from 0 to 1.
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/contests/106960498/ownership'
Responses
200Actual player ownership of one contest, one row per player and roster slotapplication/jsonshow example ▸
400An unknown mode or format, slot/position/min_ownership filters passed with mode=lineups, an unknown slot, a min_ownership outside 0 to 1, or an operator external contest ID in the path
404Contest not found
Response Schema(4 fields)show schema ▸
27 total fields (3 nested object/array groups)
Focus:
FieldTypeReferencesDescription
contest
object—The contest.
↳contest_id
contest.contest_id
bigint—Internal contest ID.
↳external_id
contest.external_id
bigint—Operator contest ID.
↳slate_id
contest.slate_id
bigint—Internal slate ID.
↳operator
contest.operator
string—DraftKings or FanDuel.
↳name
contest.name
string—Contest name.
↳game_type
contest.game_type
string—CLASSIC, SHOWDOWN or SINGLE_GAME.
ownership
list—One row per player and roster slot, the highest actual_ownership first.
↳contest_id
ownership[].contest_id
bigint—The contest that the row comes from. Always the contest in the path.
↳slate_player_id
ownership[].slate_player_id
bigint—dfs.slate_players id of the seat row.
↳operator_player_id
ownership[].operator_player_id
stringnullable—The operator's player ID (DraftKings or FanDuel).
↳player_id
ownership[].player_id
bigintnullable—Our player ID. Null when the player is not resolved.
↳name
ownership[].name
stringnullable—Player name.
↳team
ownership[].team
stringnullable—Team abbreviation.
↳position
ownership[].position
stringnullable—Natural position of the player (for example WR), also on a CPT or MVP row.
↳slot
ownership[].slot
stringnullable—Roster slot of the row. Null on a classic contest.
Values:CPTMVPFLEX
↳salary
ownership[].salary
integernullable—Salary of the slot.
↳lineups
ownership[].lineups
integer—Lineups that hold the player in this slot.
↳lineups_used
ownership[].lineups_used
integer—Lineups that the ownership of this contest was computed from.
↳entry_count
ownership[].entry_count
integernullable—Entries that the operator lists for the contest.
↳actual_ownership
ownership[].actual_ownership
decimal—lineups / lineups_used, a ratio from 0 to 1 with 4 decimals.
↳total_ownership
ownership[].total_ownership
decimal—Ownership of the player in any slot. Equals actual_ownership on a classic contest.
reason
stringnullable—Why the answer holds no rows. Null when it holds rows.
Values:contest_not_finalleague_not_computedno_lineupslineups_expiredactuals_not_recomputed
_metadata
objectnullable—The preview notice, sent only when the answer is cut to 5 rows: a caller without a paid plan on a contest that is not a free flagship. Absent otherwise.
↳required_tier
_metadata.required_tier
string—The plan that opens the whole table (pro).
↳message
_metadata.message
string—What the plan opens, with the pricing link.
↳total_actual_records
_metadata.total_actual_records
bigint—The rows of the answer before the cut.
GET/api/v1/dfs/{operator}/contests/{contest_id}/ownership
Parameters
operatorpathstringrequired
The operator: dk (DraftKings) or fd (FanDuel).
contest_idpathstringrequired
The contest id that the operator shows. DraftKings: one number, such as 197910452. FanDuel: the full id, such as 136777-281600565, or the number after the dash. Our own contest id does not work on this route. A contest that this API does not hold answers 404.
modequerystringoptionaldefault percentage
'percentage' (default; 'ownership' alias accepted, actual post-contest player ownership) or 'lineups' (expanded expected valid contest lineups up to 50,000 with realized ownership).
formatquerystringoptionaldefault json
'json' (default) or 'csv' (the same rows and columns).
slotquerystringoptional
Roster slot filter: CPT, MVP or FLEX.
positionquerystringoptional
Natural position filter (QB, RB, WR, TE, K, DST).
min_ownershipquerydecimaloptional
Smallest actual_ownership to return, as a ratio from 0 to 1.
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/dk/contests/179164193/ownership'
Responses
200Actual player ownership of one contest, one row per player and roster slot, by the operator's contest idapplication/jsonshow example ▸
400The contest id is not valid for the operator (DraftKings: one number; FanDuel: 136777-281600565 or the number after the dash). An unknown mode or format, slot/position/min_ownership filters passed with mode=lineups, an unknown slot, a min_ownership outside 0 to 1, or an operator external contest ID in the path
404No contest of this operator has that id in our data. Contest not found
Response Schema(4 fields)show schema ▸
27 total fields (3 nested object/array groups)
Focus:
FieldTypeReferencesDescription
contest
object—The contest.
↳contest_id
contest.contest_id
bigint—Internal contest ID.
↳external_id
contest.external_id
bigint—Operator contest ID.
↳slate_id
contest.slate_id
bigint—Internal slate ID.
↳operator
contest.operator
string—DraftKings or FanDuel.
↳name
contest.name
string—Contest name.
↳game_type
contest.game_type
string—CLASSIC, SHOWDOWN or SINGLE_GAME.
ownership
list—One row per player and roster slot, the highest actual_ownership first.
↳contest_id
ownership[].contest_id
bigint—The contest that the row comes from. Always the contest in the path.
↳slate_player_id
ownership[].slate_player_id
bigint—dfs.slate_players id of the seat row.
↳operator_player_id
ownership[].operator_player_id
stringnullable—The operator's player ID (DraftKings or FanDuel).
↳player_id
ownership[].player_id
bigintnullable—Our player ID. Null when the player is not resolved.
↳name
ownership[].name
stringnullable—Player name.
↳team
ownership[].team
stringnullable—Team abbreviation.
↳position
ownership[].position
stringnullable—Natural position of the player (for example WR), also on a CPT or MVP row.
↳slot
ownership[].slot
stringnullable—Roster slot of the row. Null on a classic contest.
Values:CPTMVPFLEX
↳salary
ownership[].salary
integernullable—Salary of the slot.
↳lineups
ownership[].lineups
integer—Lineups that hold the player in this slot.
↳lineups_used
ownership[].lineups_used
integer—Lineups that the ownership of this contest was computed from.
↳entry_count
ownership[].entry_count
integernullable—Entries that the operator lists for the contest.
↳actual_ownership
ownership[].actual_ownership
decimal—lineups / lineups_used, a ratio from 0 to 1 with 4 decimals.
↳total_ownership
ownership[].total_ownership
decimal—Ownership of the player in any slot. Equals actual_ownership on a classic contest.
reason
stringnullable—Why the answer holds no rows. Null when it holds rows.
Values:contest_not_finalleague_not_computedno_lineupslineups_expiredactuals_not_recomputed
_metadata
objectnullable—The preview notice, sent only when the answer is cut to 5 rows: a caller without a paid plan on a contest that is not a free flagship. Absent otherwise.
↳required_tier
_metadata.required_tier
string—The plan that opens the whole table (pro).
↳message
_metadata.message
string—What the plan opens, with the pricing link.
↳total_actual_records
_metadata.total_actual_records
bigint—The rows of the answer before the cut.
GET/api/v1/dfs/contests/{contest_id}/payouts
Parameters
contest_idpathbigintrequired
Internal DFS contest ID (references dfs.contests.id).
formatquerystringoptionaldefault json
Output format: 'json' (default) or 'csv' (text/csv of the payout rows).
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/contests/106960498/payouts'
Responses
200The payout ladder of one contest, every tierapplication/jsonshow example ▸
400Invalid contest ID or unknown format value
404Contest not found, or it holds no payout ladder
Response Schema(4 fields)show schema ▸
10 total fields (1 nested object/array groups)
FieldTypeReferencesDescription
contest_id
bigint—The contest ID of the request.
entry_count
bigint—Entries in the contest: the lobby count, then the operator's final count once the contest completed.
paid_places
bigint—The last paying position.
payouts
list—The ladder, in position order.
↳min_position
payouts[].min_position
integer—First finishing position of the range (1 is the winner).
↳max_position
payouts[].max_position
integer—Last finishing position of the range, inclusive.
↳amount
payouts[].amount
integer—Cents: the cash amount, or the ticket's face value. 0 on the unpaid range.
↳payout_kind
payouts[].payout_kind
string—cash, ticket or other. `none` on the computed range that wins nothing.
↳quantity
payouts[].quantity
integer—Units of the prize per position.
↳description
payouts[].description
stringnullable—The ticket or prize name as the operator serves it. Null for plain cash.
GET/api/v1/dfs/{operator}/contests/{contest_id}/payouts
Parameters
operatorpathstringrequired
The operator: dk (DraftKings) or fd (FanDuel).
contest_idpathstringrequired
The contest id that the operator shows. DraftKings: one number, such as 197910452. FanDuel: the full id, such as 136777-281600565, or the number after the dash. Our own contest id does not work on this route. A contest that this API does not hold answers 404.
formatquerystringoptionaldefault json
Output format: 'json' (default) or 'csv' (text/csv of the payout rows).
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/dk/contests/179164193/payouts'
Responses
200The payout ladder of one contest, every tier, by the operator's contest idapplication/jsonshow example ▸
400The contest id is not valid for the operator (DraftKings: one number; FanDuel: 136777-281600565 or the number after the dash). Invalid contest ID or unknown format value
404No contest of this operator has that id in our data. Contest not found, or it holds no payout ladder
Response Schema(4 fields)show schema ▸
10 total fields (1 nested object/array groups)
FieldTypeReferencesDescription
contest_id
bigint—The contest ID of the request.
entry_count
bigint—Entries in the contest: the lobby count, then the operator's final count once the contest completed.
paid_places
bigint—The last paying position.
payouts
list—The ladder, in position order.
↳min_position
payouts[].min_position
integer—First finishing position of the range (1 is the winner).
↳max_position
payouts[].max_position
integer—Last finishing position of the range, inclusive.
↳amount
payouts[].amount
integer—Cents: the cash amount, or the ticket's face value. 0 on the unpaid range.
↳payout_kind
payouts[].payout_kind
string—cash, ticket or other. `none` on the computed range that wins nothing.
↳quantity
payouts[].quantity
integer—Units of the prize per position.
↳description
payouts[].description
stringnullable—The ticket or prize name as the operator serves it. Null for plain cash.
GET/api/v1/dfs/contests/{contest_id}/projections
Parameters
contest_idpathbigintrequired
Internal DFS contest ID (references dfs.contests.id).
positionquerystringoptional
Roster position filter (e.g. QB, RB, WR, TE, DST, K).
formatquerystringoptionaldefault json
Row format: 'json' (default) sends the nested rows in `projections`; 'flat' sends the flat rows in `player_stats`; 'csv' returns the flat rows as text/csv, one column per `player_stats` field, then one per `enrich` tag.
enrichquerystringoptional
Comma-separated tags that join related data onto each player row, the same tags as on /dfs/slate_players: dfs.player_stats, nfl.games, nfl.teams, nfl.projected_player_snaps (or dfs.*, nfl.*, *; a sub-path picks one field). Each tag adds one key (one CSV column) named by its table. NFL contests only: an NBA or NHL contest answers 400 with this parameter.
projection_idquerybigintoptional
NBA and NHL contests only: a version of the slate's league's engine (main.projections id). Default: its active version. An NFL contest answers 400 with this parameter.
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/contests/106960498/projections'
Responses
200Contest-calibrated player projections, payout profile, and ownershipapplication/jsonshow example ▸
400Invalid contest ID format or an unknown format
404Contest not found, or its slate's format has no projection source (in-game formats answer 200 with projection_status none_by_design, a slate with no player pool 200 with no_player_pool)
Response Schema(10 fields)show schema ▸
538 total fields (34 nested object/array groups)
Focus:
FieldTypeReferencesDescription
projection_status
string—Whether the slate's format has projections. `available`: the format has a projection source, and the arrays hold its rows (a player without a projection has null values). `none_by_design`: the format has no projections by decision (the in-game formats: DraftKings In-Game Showdown H2 and Q4, FanDuel single game 2nd half and 4th quarter); `source` is null and the arrays are empty. `no_player_pool`: the slate has no player pool yet, so there is nothing to project; `source` is null and the arrays are empty. `not_projected_yet` (NBA, NHL): no player of the slate has a projection of our NBA or NHL engine yet. A game's first projection appears on game day, once its betting line and roster (NHL: lineup reading) are in, and preseason games are never projected; the arrays are empty. `not_projected` (NBA, NHL): every game of the slate started with no projection of our NBA or NHL engine (the games before the engine ran), so none will come; the arrays are empty. `league_not_projected`: our engines do not project the slate's league (MLB, golf); the arrays are empty.
Values:availablenone_by_designno_player_poolnot_projected_yetnot_projectedleague_not_projected
contest
object—Contest metadata summary.
contest_profile
objectnullable—Contest calibration profile and crowd mixture. Null for a contest that is not on an NFL slate (the NFL crowd model is not computed for another league; NBA ownership comes per contest segment, in each row's `ownership`).
slate
object—Contest slate summary.
source
objectnullable—Projection source metadata. Null when projection_status is none_by_design or no_player_pool, and on every NBA and NHL answer (our NBA and NHL engines have no stored source row; `_metadata.served_source` names the engine, STAT_API_NBA or STAT_API_NHL).
player_stats
list—The contest-calibrated player projections as flat rows, one per slate player. Sent with format=flat. format=csv returns these rows as CSV: one column per field, in this order, then one column per `enrich` tag.
computed
object—Projection coverage and calculation summary.
teams
listnullable—Team projections and game pace for every team on the contest's slate. Sent with the default format and with format=flat.
projections
list—The contest-calibrated player projections as nested rows (the slate projections rows with contest ownership). Sent with the default format.
_metadata
objectnullable—Which projection source served this contest, and which stat-api engine made its rows: the `_metadata` of the contest's slate, and for a contest served by STAT_API_LATEST where its contest ownership comes from. Sent last, with the default format and with format=flat. This endpoint takes no `source`: it serves the default, STAT_API_LATEST, and STAT_API on a slate that STAT_API_LATEST has no projections for.
GET/api/v1/dfs/{operator}/contests/{contest_id}/projections
Parameters
operatorpathstringrequired
The operator: dk (DraftKings) or fd (FanDuel).
contest_idpathstringrequired
The contest id that the operator shows. DraftKings: one number, such as 197910452. FanDuel: the full id, such as 136777-281600565, or the number after the dash. Our own contest id does not work on this route. A contest that this API does not hold answers 404.
positionquerystringoptional
Roster position filter (e.g. QB, RB, WR, TE, DST, K).
formatquerystringoptionaldefault json
Row format: 'json' (default) sends the nested rows in `projections`; 'flat' sends the flat rows in `player_stats`; 'csv' returns the flat rows as text/csv, one column per `player_stats` field, then one per `enrich` tag.
enrichquerystringoptional
Comma-separated tags that join related data onto each player row, the same tags as on /dfs/slate_players: dfs.player_stats, nfl.games, nfl.teams, nfl.projected_player_snaps (or dfs.*, nfl.*, *; a sub-path picks one field). Each tag adds one key (one CSV column) named by its table. NFL contests only: an NBA or NHL contest answers 400 with this parameter.
projection_idquerybigintoptional
NBA and NHL contests only: a version of the slate's league's engine (main.projections id). Default: its active version. An NFL contest answers 400 with this parameter.
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/fd/contests/134477-280734569/projections'
Responses
200Contest-calibrated player projections, payout profile, and ownership, by the operator's contest idapplication/jsonshow example ▸
400The contest id is not valid for the operator (DraftKings: one number; FanDuel: 136777-281600565 or the number after the dash). Invalid contest ID format or an unknown format
404No contest of this operator has that id in our data. Contest not found, or its slate's format has no projection source (in-game formats answer 200 with projection_status none_by_design, a slate with no player pool 200 with no_player_pool)
Response Schema(10 fields)show schema ▸
538 total fields (34 nested object/array groups)
Focus:
FieldTypeReferencesDescription
projection_status
string—Whether the slate's format has projections. `available`: the format has a projection source, and the arrays hold its rows (a player without a projection has null values). `none_by_design`: the format has no projections by decision (the in-game formats: DraftKings In-Game Showdown H2 and Q4, FanDuel single game 2nd half and 4th quarter); `source` is null and the arrays are empty. `no_player_pool`: the slate has no player pool yet, so there is nothing to project; `source` is null and the arrays are empty. `not_projected_yet` (NBA, NHL): no player of the slate has a projection of our NBA or NHL engine yet. A game's first projection appears on game day, once its betting line and roster (NHL: lineup reading) are in, and preseason games are never projected; the arrays are empty. `not_projected` (NBA, NHL): every game of the slate started with no projection of our NBA or NHL engine (the games before the engine ran), so none will come; the arrays are empty. `league_not_projected`: our engines do not project the slate's league (MLB, golf); the arrays are empty.
Values:availablenone_by_designno_player_poolnot_projected_yetnot_projectedleague_not_projected
contest
object—Contest metadata summary.
contest_profile
objectnullable—Contest calibration profile and crowd mixture. Null for a contest that is not on an NFL slate (the NFL crowd model is not computed for another league; NBA ownership comes per contest segment, in each row's `ownership`).
slate
object—Contest slate summary.
source
objectnullable—Projection source metadata. Null when projection_status is none_by_design or no_player_pool, and on every NBA and NHL answer (our NBA and NHL engines have no stored source row; `_metadata.served_source` names the engine, STAT_API_NBA or STAT_API_NHL).
player_stats
list—The contest-calibrated player projections as flat rows, one per slate player. Sent with format=flat. format=csv returns these rows as CSV: one column per field, in this order, then one column per `enrich` tag.
computed
object—Projection coverage and calculation summary.
teams
listnullable—Team projections and game pace for every team on the contest's slate. Sent with the default format and with format=flat.
projections
list—The contest-calibrated player projections as nested rows (the slate projections rows with contest ownership). Sent with the default format.
_metadata
objectnullable—Which projection source served this contest, and which stat-api engine made its rows: the `_metadata` of the contest's slate, and for a contest served by STAT_API_LATEST where its contest ownership comes from. Sent last, with the default format and with format=flat. This endpoint takes no `source`: it serves the default, STAT_API_LATEST, and STAT_API on a slate that STAT_API_LATEST has no projections for.
GET/api/v1/dfs/contests/{contest_id}/standings
Parameters
contest_idpathbigintrequired
Internal database contest ID or operator external_id.
limitqueryintegeroptionaldefault 100
Rows to return. At most 10 without DFS access; 1000 with it.
formatquerystringoptionaldefault json
Output format (json or csv). CSV needs DFS access.
from_rowqueryintegeroptionaldefault 1
The first row to return (1-based `row`), to page through the whole contest. Without DFS access the rows stop at row 5 (row 100 on a marquee contest), so a page past it is empty.
userquerystringoptional
Start the page at this username's best row (overrides from_row). 404 when the contest has no such user.
rankqueryintegeroptional
Start the page at the first row with this rank or a worse one (overrides from_row). Tied entries share a rank.
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/contests/106960498/standings'
Responses
200Contest standings with each entrant's entry countapplication/jsonshow example ▸
400Invalid contest ID; limit or format
401No key, and not a free flagship (key_required): a free account opens every contest. The body names the contest (contest: contest_id, name, operator, date, total_entries, entry_fee_cents, prize_pool_cents; the public list's fields) and holds no standings, users or lineups
402CSV requested without DFS access
404Contest not found, or the loader does not collect lineups for this contest (lineups_not_collected). A contest without a lineup file answers 200 with has_lineups false, except for a caller with a paid plan on a DraftKings contest that has started (202, 404, 410 or 503, see the description)
409The lineup file found belongs to a different operator contest
410DraftKings no longer serves the lineup file of this contest (lineups_file_gone)
503The loader gave up on the lineup file and support is informed (lineups_not_loaded, Retry-After 3600), or the request to load it could not be queued (lineups_request_failed, Retry-After 60)
Response Schema(7 fields)show schema ▸
63 total fields (7 nested object/array groups)
Focus:
FieldTypeReferencesDescription
contest
object—The contest.
field
objectnullable—What the field did, the same for every caller (the chalk is common knowledge). Null when the contest has no lineup file, or no stored lineup measured the field's ownership, and while the contest is live (contest.live).
standings
list—Entries in finishing order.
from_row
integer—The row number (1-based) of the first standings row returned.
returned
integer—Rows in this response.
access
object—What this caller may read.
_metadata
objectnullable—Sent only on a capped answer (fewer rows than exist for this caller): the plan that opens the rest. A full answer (DFS access, or a marquee contest of at most 100 entries) has no such key. A marquee contest of more than 100 entries carries it.
GET/api/v1/dfs/{operator}/contests/{contest_id}/standings
Parameters
operatorpathstringrequired
The operator: dk (DraftKings) or fd (FanDuel).
contest_idpathstringrequired
The contest id that the operator shows. DraftKings: one number, such as 197910452. FanDuel: the full id, such as 136777-281600565, or the number after the dash. Our own contest id does not work on this route. A contest that this API does not hold answers 404.
limitqueryintegeroptionaldefault 100
Rows to return. At most 10 without DFS access; 1000 with it.
formatquerystringoptionaldefault json
Output format (json or csv). CSV needs DFS access.
from_rowqueryintegeroptionaldefault 1
The first row to return (1-based `row`), to page through the whole contest. Without DFS access the rows stop at row 5 (row 100 on a marquee contest), so a page past it is empty.
userquerystringoptional
Start the page at this username's best row (overrides from_row). 404 when the contest has no such user.
rankqueryintegeroptional
Start the page at the first row with this rank or a worse one (overrides from_row). Tied entries share a rank.
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/dk/contests/195648007/standings'
Responses
200Contest standings with each entrant's entry count, by the operator's contest idapplication/jsonshow example ▸
400The contest id is not valid for the operator (DraftKings: one number; FanDuel: 136777-281600565 or the number after the dash). Invalid contest ID; limit or format
401No key, and not a free flagship (key_required): a free account opens every contest. The body names the contest (contest: contest_id, name, operator, date, total_entries, entry_fee_cents, prize_pool_cents; the public list's fields) and holds no standings, users or lineups
402CSV requested without DFS access
404No contest of this operator has that id in our data. Contest not found, or the loader does not collect lineups for this contest (lineups_not_collected). A contest without a lineup file answers 200 with has_lineups false, except for a caller with a paid plan on a DraftKings contest that has started (202, 404, 410 or 503, see the description)
409The lineup file found belongs to a different operator contest
410DraftKings no longer serves the lineup file of this contest (lineups_file_gone)
503The loader gave up on the lineup file and support is informed (lineups_not_loaded, Retry-After 3600), or the request to load it could not be queued (lineups_request_failed, Retry-After 60)
Response Schema(7 fields)show schema ▸
63 total fields (7 nested object/array groups)
Focus:
FieldTypeReferencesDescription
contest
object—The contest.
field
objectnullable—What the field did, the same for every caller (the chalk is common knowledge). Null when the contest has no lineup file, or no stored lineup measured the field's ownership, and while the contest is live (contest.live).
standings
list—Entries in finishing order.
from_row
integer—The row number (1-based) of the first standings row returned.
returned
integer—Rows in this response.
access
object—What this caller may read.
_metadata
objectnullable—Sent only on a capped answer (fewer rows than exist for this caller): the plan that opens the rest. A full answer (DFS access, or a marquee contest of at most 100 entries) has no such key. A marquee contest of more than 100 entries carries it.
GET/api/v1/dfs/contests/{contest_id}/users/{username}/lineups
Parameters
contest_idpathbigintrequired
Internal database contest ID or operator external_id.
usernamepathstringrequired
Entrant username exactly as in the standings.
formatquerystringoptionaldefault json
Output format (json or csv). CSV needs DFS access.
tablequerystringoptionaldefault lineups
The table a CSV holds (lineups or exposure).
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/contests/{contest_id}/users/{username}/lineups?format=json&table=lineups'
Responses
200One entrant's lineups in a contest with exposure and edge against the fieldapplication/jsonshow example ▸
400Invalid contest ID; format or table
401No key, and not a free flagship (key_required): a free account opens every contest. The body names the contest (contest: contest_id, name, operator, date, total_entries, entry_fee_cents, prize_pool_cents; the public list's fields) and holds no standings, users or lineups
402CSV requested without DFS access
404Contest not found; no lineup data; the user has no entry; or the loader does not collect lineups for this contest (lineups_not_collected: a caller with a paid plan on a DraftKings contest that has started, see the description)
409The lineup file found belongs to a different operator contest
410DraftKings no longer serves the lineup file of this contest (lineups_file_gone)
503The loader gave up on the lineup file and support is informed (lineups_not_loaded, Retry-After 3600), or the request to load it could not be queued (lineups_request_failed, Retry-After 60)
Response Schema(9 fields)show schema ▸
144 total fields (18 nested object/array groups)
Focus:
FieldTypeReferencesDescription
contest
object—The contest.
field
objectnullable—What the field did, the same for every caller (the chalk is common knowledge). Null when the contest has no lineup file, or no stored lineup measured the field's ownership, and while the contest is live (contest.live).
user
object—The entrant.
exposure
list—One row per player the user played: chalk first (field order), then most-used. Empty when locked. Without DFS access every non-chalk row is hidden (a label, no ID or value).
lineups
list—Every lineup of the user in finishing order. Empty when locked.
seats
list—One row per seat of each lineup (lineup_row joins lineups[].row). Empty when locked. Without DFS access a non-chalk seat carries its exposure row's label, its slot and position, and no ID or value.
access
object—What this caller may read.
analysis
objectnullable—How this user built the lineups, worked out once on the server from the user's lineups and the pool (the page works out none of it). Null in hide mode (Free, off the flagships), when the user is locked, and when the user has no lineup.
_metadata
objectnullable—Sent only on a capped answer (fewer rows than exist for this caller): the plan that opens the rest. A full answer (DFS access, or a marquee contest of at most 100 entries) has no such key. A marquee contest of more than 100 entries carries it.
GET/api/v1/dfs/{operator}/contests/{contest_id}/users/{username}/lineups
Parameters
operatorpathstringrequired
The operator: dk (DraftKings) or fd (FanDuel).
contest_idpathstringrequired
The contest id that the operator shows. DraftKings: one number, such as 197910452. FanDuel: the full id, such as 136777-281600565, or the number after the dash. Our own contest id does not work on this route. A contest that this API does not hold answers 404.
usernamepathstringrequired
Entrant username exactly as in the standings.
formatquerystringoptionaldefault json
Output format (json or csv). CSV needs DFS access.
tablequerystringoptionaldefault lineups
The table a CSV holds (lineups or exposure).
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/dk/contests/195648007/users/elidkatz1/lineups'
Responses
200One entrant's lineups in a contest with exposure and edge against the field, by the operator's contest idapplication/jsonshow example ▸
400The contest id is not valid for the operator (DraftKings: one number; FanDuel: 136777-281600565 or the number after the dash). Invalid contest ID; format or table
401No key, and not a free flagship (key_required): a free account opens every contest. The body names the contest (contest: contest_id, name, operator, date, total_entries, entry_fee_cents, prize_pool_cents; the public list's fields) and holds no standings, users or lineups
402CSV requested without DFS access
404No contest of this operator has that id in our data. Contest not found; no lineup data; the user has no entry; or the loader does not collect lineups for this contest (lineups_not_collected: a caller with a paid plan on a DraftKings contest that has started, see the description)
409The lineup file found belongs to a different operator contest
410DraftKings no longer serves the lineup file of this contest (lineups_file_gone)
503The loader gave up on the lineup file and support is informed (lineups_not_loaded, Retry-After 3600), or the request to load it could not be queued (lineups_request_failed, Retry-After 60)
Response Schema(9 fields)show schema ▸
144 total fields (18 nested object/array groups)
Focus:
FieldTypeReferencesDescription
contest
object—The contest.
field
objectnullable—What the field did, the same for every caller (the chalk is common knowledge). Null when the contest has no lineup file, or no stored lineup measured the field's ownership, and while the contest is live (contest.live).
user
object—The entrant.
exposure
list—One row per player the user played: chalk first (field order), then most-used. Empty when locked. Without DFS access every non-chalk row is hidden (a label, no ID or value).
lineups
list—Every lineup of the user in finishing order. Empty when locked.
seats
list—One row per seat of each lineup (lineup_row joins lineups[].row). Empty when locked. Without DFS access a non-chalk seat carries its exposure row's label, its slot and position, and no ID or value.
access
object—What this caller may read.
analysis
objectnullable—How this user built the lineups, worked out once on the server from the user's lineups and the pool (the page works out none of it). Null in hide mode (Free, off the flagships), when the user is locked, and when the user has no lineup.
_metadata
objectnullable—Sent only on a capped answer (fewer rows than exist for this caller): the plan that opens the rest. A full answer (DFS access, or a marquee contest of at most 100 entries) has no such key. A marquee contest of more than 100 entries carries it.