STAT-API

NHL operator_player_fantasy_stats API

operator_player_fantasy_statsnhl.operator_player_fantasy_stats
Each NHL player's fantasy point total for each game, scored under each fantasy operator's specific scoring rules.
GET/api/v1/nhl/operator_player_fantasy_stats
Requires one of: game_id — requests satisfying none of these return 400.
Parameters
game_idquerybigintoptional
Filter to a single game.
player_idquerybigintoptional
Filter to a single player.
operator_idquerybigintoptional
Filter by operator.
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/nhl/operator_player_fantasy_stats?game_id=1'
Responses
200operator_player_fantasy_stats rows matching the declared filter set, wrapped in { operator_player_fantasy_stats, 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(25 fields)show schema ▸
FieldTypeReferencesDescription
idkey
bigint—Primary Key
game_id
bigint—
e.g. 3020
operator_id
bigint—
e.g. 1
operator_scoring_format_id
bigint——
e.g. 2
player_id
bigint—
e.g. 103
assist_fpts
decimal——
e.g. 0.0000
block_bonus_fpts
decimal—Bonus for 3+ blocked shots
e.g. 0.0000
blocked_shot_fpts
decimal——
e.g. 0.0000
fantasy_pts
decimal——
e.g. 0.0000
goal_fpts
decimal——
e.g. 0.0000
goalie_win_fpts
decimal——
e.g. 0.0000
goals_against_fpts
decimal—Negative points for goals allowed
e.g. 0.0000
hat_trick_fpts
decimal—Bonus for 3+ goals
e.g. 0.0000
overtime_loss_fpts
decimal—DK: +2 for OT loss
e.g. 0.0000
penalty_minutes_fpts
decimal—Typically negative or zero
e.g. 0.0000
plus_minus_fpts
decimal——
e.g. 0.0000
power_play_assist_fpts
decimal——
e.g. 0.0000
power_play_goal_fpts
decimal——
e.g. 0.0000
save_fpts
decimal——
e.g. 0.0000
shootout_goal_fpts
decimal——
e.g. 0.0000
short_handed_assist_fpts
decimal——
e.g. 0.0000
short_handed_goal_fpts
decimal——
e.g. 0.0000
shot_bonus_fpts
decimal—Bonus for 5+ shots on goal
e.g. 0.0000
shot_on_goal_fpts
decimal——
e.g. 0.0000
shutout_fpts
decimal——
e.g. 0.0000
GET/api/v1/nhl/operator_player_fantasy_stats/{id}
Parameters
idpathbigintrequired
Primary key (id) of the operator_player_fantasy_stat 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/nhl/operator_player_fantasy_stats/{pk_value}'
Responses
200Single operator_player_fantasy_stat row.application/jsonshow example ▸
404Row not found.
Response Schema(25 fields)show schema ▸
FieldTypeReferencesDescription
idkey
bigint—Primary Key
game_id
bigint—
e.g. 3020
operator_id
bigint—
e.g. 1
operator_scoring_format_id
bigint——
e.g. 2
player_id
bigint—
e.g. 103
assist_fpts
decimal——
e.g. 0.0000
block_bonus_fpts
decimal—Bonus for 3+ blocked shots
e.g. 0.0000
blocked_shot_fpts
decimal——
e.g. 0.0000
fantasy_pts
decimal——
e.g. 0.0000
goal_fpts
decimal——
e.g. 0.0000
goalie_win_fpts
decimal——
e.g. 0.0000
goals_against_fpts
decimal—Negative points for goals allowed
e.g. 0.0000
hat_trick_fpts
decimal—Bonus for 3+ goals
e.g. 0.0000
overtime_loss_fpts
decimal—DK: +2 for OT loss
e.g. 0.0000
penalty_minutes_fpts
decimal—Typically negative or zero
e.g. 0.0000
plus_minus_fpts
decimal——
e.g. 0.0000
power_play_assist_fpts
decimal——
e.g. 0.0000
power_play_goal_fpts
decimal——
e.g. 0.0000
save_fpts
decimal——
e.g. 0.0000
shootout_goal_fpts
decimal——
e.g. 0.0000
short_handed_assist_fpts
decimal——
e.g. 0.0000
short_handed_goal_fpts
decimal——
e.g. 0.0000
shot_bonus_fpts
decimal—Bonus for 5+ shots on goal
e.g. 0.0000
shot_on_goal_fpts
decimal——
e.g. 0.0000
shutout_fpts
decimal——
e.g. 0.0000