MLB v3 Odds

In-Game Odds - by Date

Returns in-play game odds (spread, moneyline, total) for games on a given date. Only returns the most recently seen odds, not inclusive of line movement. As this is in-game, it will only return results while the game is in progress.

get/v3/mlb/odds/{format}/LiveGameOddsByDate/{date}

Request

Path parameters

format'JSON' | 'XML' required

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

datestring required

The date of the game(s). <br>Examples: <code>2018-06-20</code>, <code>2018-06-23</code>.

Response

Success

GameIdinteger

The unique ID of this game

Seasoninteger

The MLB season of the game

SeasonTypeinteger

The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).

Daystring nullable

The day of the game

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 TeamID of the away team

HomeTeamIdinteger nullable

The unique ID of the home team

AwayTeamNamestring nullable

The abbreviation [Key] of the away team

HomeTeamNamestring nullable

The abbreviation [Key] 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

Score of the home team (updated after game ends to allow for resolving bets)

AwayTeamScoreinteger nullable

Score of the away team (updated after game ends to allow for resolving bets)

TotalScoreinteger nullable

The combined scores of the home and away team of the game tied to this event (post-game)

HomeRotationNumberinteger nullable

Rotation number of home team for this game

AwayRotationNumberinteger nullable

Rotation number of away team for this game

Changes

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