NBA v3 Odds

Betting Player Props - by Game

This works in the same way as Betting Markets by Market Type but is prefiltered to the Player Props type only. Ideal if your application will only ever require Player Props, but if you also want Team Props etc. it is recommended to use the by Market Type endpoint.

get/v3/nba/odds/{format}/BettingPlayerPropsByGameID/{gameId}

Request

Path parameters

format'JSON' | 'XML' required

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

gameIdstring required

The unique GameID of the game in question.

Query parameters

include'available' | 'unlisted'

This parameter indicates which <code>BettingOutcome</code> records to return in the payload. By default, this endpoint only returns available outcomes, excluding the unlisted bets. <br><br><b>Important Note:</b> the default parameter of <code>available</code> is much faster and provides the best performance. Passing unlisted will return unlisted odds, but these are cached for much longer and may be several minutes old. For best performance, the default parameter is highly recommended. <br><br>Possible values include: <br><br><code>available</code> - excludes any betting outcomes that have been removed/unlisted by the respective sportsbook. This is more lightweight and delivers odds much faster than using unlisted. <br><br><code>unlisted</code> - includes the most recently available betting outcome per sportsbook, for each listed market, even those outcomes are expired/unlisted or otherwise unavailable from the respective sportsbook. This is a far heavier payload, and it's cached for much longer than available. <br><br>

Response

Success

BettingMarketIDinteger

The unique ID associated with the betting market

BettingEventIDinteger

The unique ID associated with the betting event

BettingMarketTypeIDinteger nullable

Unique ID that distinguishes the different types of Market Types

BettingMarketTypestring nullable

The name of the market type within a market (e.g. Player Prop, Team Prop, Game Prop, etc.)

BettingBetTypeIDinteger nullable

The ID associated with the name of the bet type within a market

BettingBetTypestring nullable

The name of the bet type within a market (e.g. Total Points, Moneyline, Spread, etc.)

BettingPeriodTypeIDinteger nullable

The BettingPeriodTypeID of this type of market which we can result

BettingPeriodTypestring nullable

The name of the period type of this market (e.g. Full Game; 1st Half; 2nd Quarter; Regular Season)

Namestring nullable

The generic name of this market

TeamIDinteger nullable

The unique ID of the team tied to this market (if applicable)

TeamKeystring nullable

The abbreviation [Key] of the team associated with this market (if applicable)

PlayerIDinteger nullable

The player's unique PlayerID as assigned by SportsDataIO. Note: this ID will stay with the player throughout their entire career

PlayerNamestring nullable

The name of the player tied to this market (if applicable)

Createdstring nullable

The date and time when this betting market was created (in US Eastern Time)

Updatedstring nullable

The timestamp of the last time this betting market was updated (in US Eastern Time)

AnyBetsAvailableboolean nullable

A field that returns "True" if there are any available bets to make within the market in question. If there are no bets available to make, the field returns "False"

IsArchivedboolean

Indicates whether a BettingOutcome has been archived or not

ArchiveLocationstring nullable

If IsArchived is true, this returns the URL that can be used to retrieve the archived BettingOutcomes. An API Key and Sportsbook Grouping will be required to retrieve this information. If IsArchived is false, this returns an empty string

Changes

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