DFS

Get a single slate_player by id

get/api/v1/dfs/slate_players/{id}

Request

  • Base URL: https://api.stat-api.com
  • URL: https://api.stat-api.com/api/v1/dfs/slate_players/{id}
  • Auth: HTTP bearer

Path parameters

idinteger required

Primary Key

Primary key (id) of the slate_players row.

Query parameters

mode'pre' | 'full'

Time wall. pre (default): each value as it stood at its game's kickoff; post-game fields are null. full: the latest value before week end (the first Tuesday 04:00 ET after the game), post-game fields included. See the Data timing guide.

Response

Single slate_players row.

avg_pointsnumber float nullable

Average fantasy points from operator

display_namestring nullable

Full display name from operator

export_idstring nullable

Operator player ID used for CSV export/import

external_idstring nullable

Operator player identifier in this slate.

first_namestring nullable

Player first name from operator

idinteger required

Primary Key

injury_detailsstring nullable

Injury body part/details

injury_statusstring nullable

Injury status, lower case: il, o, q, d, p, dtd, na, ir, gtd (game-time decision), c19 (COVID-19 protocols, 2021-22 only). Empty when the operator listed the player as healthy.

last_namestring nullable

Player last name from operator

league_idinteger required

League key disambiguating player_id.

player_idinteger required

Polymorphic FK to {nfl,nba,mlb,nhl}.players based on league_id.

positionstring required

Primary position label per operator (e.g., RB, WR, PG, SP).

salaryinteger required

Operator-assigned DFS salary (whole dollars; e.g., 8400 = $8,400).

slate_game_idinteger required

FK to dfs.slate_games — the specific slate-game this player is rostered to.

slate_idinteger required

FK to dfs.slates.

team_idinteger nullable

Polymorphic FK to {league}.teams. Null for golfers and other player-only sports.

Changes

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