NHL v3 Odds

Pre-Game Odds Line Movement

Returns the non-full-game odds (spread, moneyline, total) for games on a given date. Non-full-game means 1st-half or 1st-quarter, for example, rather than full game. Returns the full line movement for the given game. This endpoint has a longer cache as it is meant for historical data/line movement rather than the most up to the second line.

get/v3/nhl/odds/{format}/GameOddsLineMovement/{gameid}

Request

Path parameters

format'JSON' | 'XML' required

Desired response format. Valid entries are <code>JSON</code> or <code>XML</code>.

gameidstring required

The GameID of an NHL game. GameIDs can be found in the Games API. Valid entries are <code>13096</code> or <code>13110</code>

Response

Success

GameIdinteger

The unique ID of this game

Seasoninteger

The NHL season of the game

SeasonTypeinteger

The type of season that this record corresponds to (1=Regular Season; 2=Preseason; 3=Postseason; 5=AllStar; 6=Exhibition).

Daystring nullable

The day that the game is scheduled to be played

DateTimestring nullable

The date and time of the game in US Eastern Time

Statusstring nullable

The status of the game. For a description of possible values, see <a href="https://sportsdata.io/help/faq#what-are-all-of-the-game-statuses-used-across-sports" target="_blank">here.</a> For how suspended and postponed games are handled specifically, see <a href="https://sportsdata.io/help/faq#how-do-you-handle-postponed-suspended-and-canceled-games" target="_blank">here</a>.

AwayTeamIdinteger nullable

The unique ID of the away team

HomeTeamIdinteger nullable

The unique ID of the home team

AwayTeamNamestring nullable

The name of the away team

HomeTeamNamestring nullable

The name of the home team

GlobalGameIdinteger

A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.

GlobalAwayTeamIdinteger nullable

A globally unique ID for the away team. This value is guaranteed to be unique across all sports/leagues.

GlobalHomeTeamIdinteger nullable

A globally unique ID for the home team. This value is guaranteed to be unique across all sports/leagues.

HomeTeamScoreinteger nullable

Total number of goals the home team scored in the game (updated after game ends to allow for resolving bets)

AwayTeamScoreinteger nullable

Total number of goals the away team scored in the game (updated after game ends to allow for resolving bets)

TotalScoreinteger nullable

Total goals scored in the game (updated after game ends to allow for resolving bets)

HomeRotationNumberinteger nullable

The rotation number of the home team for this game

AwayRotationNumberinteger nullable

The rotation number of the away team for a game

Changes

No recorded changes to this operation across all 1 revision of this API.