NFL

Get a single game_line by id

get/api/v1/nfl/game_lines/{id}

Request

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

Path parameters

idinteger required

Primary Key

Primary key (id) of the game_lines row.

Response

Single game_lines row.

captured_atstring date-time required

When this snapshot was captured

game_idinteger required
idinteger required

Primary Key

implied_away_scorenumber double nullable

Calculated from spread + total

implied_away_win_pctnumber double nullable

From moneyline, 0-1

implied_home_scorenumber double nullable

Calculated from spread + total

implied_home_win_pctnumber double nullable

From moneyline, 0-1

is_openingboolean required

True if this is the opening line

moneyline_awayinteger nullable

American odds for away team win

moneyline_homeinteger nullable

American odds for home team win

operator_idinteger required

Operator id of the line, 6 Consensus (the market consensus). Every id is listed at /api/v1/reference/operators.

over_oddsinteger nullable

American odds for over

season_idinteger required

Denormalized for efficient season-level queries

sourcestring required

Where the row came from: a live capture before kickoff, or the closing line of a Final game (captured_at is the kickoff).

spreadnumber double nullable

Home team spread (e.g., -3.5 means home favored by 3.5)

spread_away_oddsinteger nullable

American odds for away spread

spread_home_oddsinteger nullable

American odds for home spread (e.g., -110)

totalnumber double nullable

Combined score total line (e.g., 47.5)

under_oddsinteger nullable

American odds for under

Changes

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