{ "opencollection": "1.0.0", "info": { "name": "MLB MLB v3 Headshots NBA v3 Odds API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "Ocp-Apim-Subscription-Key", "value": "{{Ocp-Apim-Subscription-Key}}", "placement": "header" } }, "items": [ { "info": { "name": "NBA v3 Odds", "type": "folder" }, "items": [ { "info": { "name": "Pre-Game Odds - by Date", "type": "http" }, "http": { "method": "GET", "url": "https://api.sportsdata.io/v3/nba/odds/:format/GameOddsByDate/:date", "params": [ { "name": "format", "value": "", "type": "path", "description": "Desired response format. Valid entries are JSON or XML." }, { "name": "date", "value": "", "type": "path", "description": "The date of the game(s).
Examples: 2018-06-20, 2018-06-23." } ] }, "docs": "Returns full game odds (spread, moneyline, total) for games on a given date. Only returns the most recently seen odds, not inclusive of line movement." }, { "info": { "name": "Pre-Game Odds Line Movement", "type": "http" }, "http": { "method": "GET", "url": "https://api.sportsdata.io/v3/nba/odds/:format/GameOddsLineMovement/:gameid", "params": [ { "name": "format", "value": "", "type": "path", "description": "Desired response format. Valid entries are JSON or XML." }, { "name": "gameid", "value": "", "type": "path", "description": "The GameID of an NBA game. GameIDs can be found in the Games API. Valid entries are 12780 or 12781" } ] }, "docs": "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." }, { "info": { "name": "In-Game Odds - by Date", "type": "http" }, "http": { "method": "GET", "url": "https://api.sportsdata.io/v3/nba/odds/:format/LiveGameOddsByDate/:date", "params": [ { "name": "format", "value": "", "type": "path", "description": "Desired response format. Valid entries are JSON or XML." }, { "name": "date", "value": "", "type": "path", "description": "The date of the game(s).
Examples: 2018-06-20, 2018-06-23." } ] }, "docs": "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." }, { "info": { "name": "In-Game Odds Line Movement", "type": "http" }, "http": { "method": "GET", "url": "https://api.sportsdata.io/v3/nba/odds/:format/LiveGameOddsLineMovement/:gameid", "params": [ { "name": "format", "value": "", "type": "path", "description": "Desired response format. Valid entries are JSON or XML." }, { "name": "gameid", "value": "", "type": "path", "description": "The GameID of an NBA game. GameIDs can be found in the Games API. Valid entries are 12780 or 12781" } ] }, "docs": "Returns in-play game odds (spread, moneyline, total) for games on a given date. 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." }, { "info": { "name": "Period Game Odds - by Date", "type": "http" }, "http": { "method": "GET", "url": "https://api.sportsdata.io/v3/nba/odds/:format/AlternateMarketGameOddsByDate/:date", "params": [ { "name": "format", "value": "", "type": "path", "description": "Desired response format. Valid entries are JSON or XML." }, { "name": "date", "value": "", "type": "path", "description": "The date of the game(s).
Examples: 2018-06-20, 2018-06-23." } ] }, "docs": "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. Only returns the most recently seen odds, not inclusive of line movement." }, { "info": { "name": "Period Game Odds Line Movement", "type": "http" }, "http": { "method": "GET", "url": "https://api.sportsdata.io/v3/nba/odds/:format/AlternateMarketGameOddsLineMovement/:gameid", "params": [ { "name": "format", "value": "", "type": "path", "description": "Desired response format. Valid entries are JSON or XML." }, { "name": "gameid", "value": "", "type": "path", "description": "The GameID of an NBA game. GameIDs can be found in the Games API. Valid entries are 12780 or 12781" } ] }, "docs": "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." }, { "info": { "name": "Betting Events - by Date", "type": "http" }, "http": { "method": "GET", "url": "https://api.sportsdata.io/v3/nba/odds/:format/BettingEventsByDate/:date", "params": [ { "name": "format", "value": "", "type": "path", "description": "Desired response format. Valid entries are JSON or XML." }, { "name": "date", "value": "", "type": "path", "description": "The date of the game(s).
Examples: 2020-02-15, 2020-02-23." } ] }, "docs": "The list of current BettingEvents for the given date. Events in this include market information but no outcomes will be included here. Intended to allow both visibility to Events in order to match up Events -> Games via the included GameID (where applicable) as well as provide a list of MarketIDs which are included in the given event." }, { "info": { "name": "Betting Events - by Season", "type": "http" }, "http": { "method": "GET", "url": "https://api.sportsdata.io/v3/nba/odds/:format/BettingEvents/:season", "params": [ { "name": "format", "value": "", "type": "path", "description": "Desired response format. Valid entries are JSON or XML." }, { "name": "season", "value": "", "type": "path", "description": "Year of the season (with optional season type).
Examples: 2020, 2020PRE, 2020POST, 2020STAR, 2021, etc." } ] }, "docs": "Returns the full list of BetttingEvents for the given season. Intended for those who need to tie BettingEventIDs to GameIDs." }, { "info": { "name": "Betting Markets - by Event", "type": "http" }, "http": { "method": "GET", "url": "https://api.sportsdata.io/v3/nba/odds/:format/BettingMarkets/:eventId", "params": [ { "name": "format", "value": "", "type": "path", "description": "Desired response format. Valid entries are JSON or XML." }, { "name": "eventId", "value": "", "type": "path", "description": "The EventId of the desired event/game for which to pull all betting markets (includes outcomes/bets). Valid entries include: 134, 155, etc." }, { "name": "include", "value": "", "type": "query", "description": "This parameter indicates which BettingOutcome records to return in the payload. By default, this endpoint only returns available outcomes, excluding the unlisted bets.

Important Note: the default parameter of available 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.

Possible values include:

available - 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.

unlisted - 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.

" } ] }, "docs": "Returns the markets of all available types (e.g. Player Props, Team Props) and available outcomes for a given BettingEventID." }, { "info": { "name": "Betting Market", "type": "http" }, "http": { "method": "GET", "url": "https://api.sportsdata.io/v3/nba/odds/:format/BettingMarket/:marketId", "params": [ { "name": "format", "value": "", "type": "path", "description": "Desired response format. Valid entries are JSON or XML." }, { "name": "marketId", "value": "", "type": "path", "description": "The MarketId of the desired market for which to pull all outcomes/bets. Valid entries include: 421, 1041, etc." } ] }, "docs": "Returns full line movement for a given BettingMarket. Due to the sheer size of the output and the level of detail, it is intended for historical data purposes and not for the most up-to-the-second lines." }, { "info": { "name": "Betting Futures - by Season", "type": "http" }, "http": { "method": "GET", "url": "https://api.sportsdata.io/v3/nba/odds/:format/BettingFuturesBySeason/:season", "params": [ { "name": "format", "value": "", "type": "path", "description": "Desired response format. Valid entries are JSON or XML." }, { "name": "season", "value": "", "type": "path", "description": "Year of the season
Examples: 2020, 2021, etc" } ] }, "docs": "Returns available Futures outcomes for the given season. Does not include line movement." }, { "info": { "name": "Betting Markets - by Market Type", "type": "http" }, "http": { "method": "GET", "url": "https://api.sportsdata.io/v3/nba/odds/:format/BettingMarketsByMarketType/:eventId/:marketTypeID", "params": [ { "name": "format", "value": "", "type": "path", "description": "Desired response format. Valid entries are JSON or XML." }, { "name": "eventId", "value": "", "type": "path", "description": "The EventId of the desired event/game for which to pull all betting markets (includes outcomes/bets). Valid entries include: 134, 155, etc." }, { "name": "marketTypeID", "value": "", "type": "path", "description": "The Market Type ID of the desired MarketTypes to pull. Some common types include:\n1 for `Game Lines`\n2 for `Player Props`\n3 for `Team Props`\n6 for `Game Props`" }, { "name": "include", "value": "", "type": "query", "description": "This parameter indicates which BettingOutcome records to return in the payload. By default, this endpoint only returns available outcomes, excluding the unlisted bets.

Important Note: the default parameter of available 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.

Possible values include:

available - 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.

unlisted - 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.

" } ] }, "docs": "Returns Markets and available outcomes for a given event and market type requested. A lighter call than by BettingEventID as it only includes markets tagged with the specific MarketType, a full list of which is available for each sport in its Betting Metadata endpoint." }, { "info": { "name": "Betting Markets - by Game", "type": "http" }, "http": { "method": "GET", "url": "https://api.sportsdata.io/v3/nba/odds/:format/BettingMarketsByGameID/:gameID", "params": [ { "name": "format", "value": "", "type": "path", "description": "Desired response format. Valid entries are JSON or XML." }, { "name": "gameID", "value": "", "type": "path", "description": "The GameID of the desired game for which to pull all betting markets (includes outcomes/bets). Valid entries include: 14814" }, { "name": "include", "value": "", "type": "query", "description": "This parameter indicates which BettingOutcome records to return in the payload. By default, this endpoint only returns available outcomes, excluding the unlisted bets.

Important Note: the default parameter of available 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.

Possible values include:

available - 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.

unlisted - 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.

" } ] }, "docs": "Returns the markets of all available types (e.g. Player Props, Team Props) and available outcomes for a given GameID." }, { "info": { "name": "Betting Trends - by Team", "type": "http" }, "http": { "method": "GET", "url": "https://api.sportsdata.io/v3/nba/odds/:format/TeamTrends/:team", "params": [ { "name": "format", "value": "", "type": "path", "description": "Desired response format. Valid entries are JSON or XML." }, { "name": "team", "value": "", "type": "path", "description": "The abbreviation of the requested team.
Examples: PHI, MIN, DET, etc." } ] }, "docs": "Describes recent team trends and performance against betting data in recent sets of games." }, { "info": { "name": "Betting Trends - by Matchup", "type": "http" }, "http": { "method": "GET", "url": "https://api.sportsdata.io/v3/nba/odds/:format/MatchupTrends/:team/:opponent", "params": [ { "name": "format", "value": "", "type": "path", "description": "Desired response format. Valid entries are JSON or XML." }, { "name": "team", "value": "", "type": "path", "description": "The abbreviation of the requested team.
Examples: PHI, MIN, DET, etc." }, { "name": "opponent", "value": "", "type": "path", "description": "The abbreviation of the requested opponent.
Examples: PHI, MIN, DET, etc." } ] }, "docs": "Returns trends data for a given pairing of teams. Will return data even if the teams are not set to play this season. Intended for use on a specific game, though it will work for other comparisons if applicable." }, { "info": { "name": "Betting Metadata", "type": "http" }, "http": { "method": "GET", "url": "https://api.sportsdata.io/v3/nba/odds/:format/BettingMetadata", "params": [ { "name": "format", "value": "", "type": "path", "description": "Desired response format. Valid entries are JSON or XML." } ] }, "docs": "Returns the list of MarketTypes, BetTypes, PeriodTypes, OutcomeTypes, and ResultTypes to map the IDs to descriptive names. Also includes a list of the MarketType, BetType & PeriodType combinations which we will have resulting for." }, { "info": { "name": "Sportsbooks - by Active", "type": "http" }, "http": { "method": "GET", "url": "https://api.sportsdata.io/v3/nba/odds/:format/ActiveSportsbooks", "params": [ { "name": "format", "value": "", "type": "path", "description": "Desired response format. Valid entries are JSON or XML." } ] }, "docs": "A list of all available sportsbooks with their associated unique IDs." }, { "info": { "name": "Betting Results - by Market", "type": "http" }, "http": { "method": "GET", "url": "https://api.sportsdata.io/v3/nba/odds/:format/BettingMarketResults/:marketId", "params": [ { "name": "format", "value": "", "type": "path", "description": "Desired response format. Valid entries are JSON or XML." }, { "name": "marketId", "value": "", "type": "path", "description": "The MarketId of the desired market for which to pull all outcomes/bets. Valid entries include: 406451, 404168, etc." } ] }, "docs": "Provide a market ID that supports resulting (i.e. has a ResultType) and this endpoint will return a result: for markets with a ResultType, each line will be graded and it will be determined whether the bet would have won or lost." }, { "info": { "name": "Betting Splits - by Betting Market", "type": "http" }, "http": { "method": "GET", "url": "https://api.sportsdata.io/v3/nba/odds/:format/BettingSplitsByMarketId/:marketId", "params": [ { "name": "format", "value": "", "type": "path", "description": "Desired response format. Valid entries are JSON or XML." }, { "name": "marketId", "value": "", "type": "path", "description": "The MarketId of the desired market for which to pull splits. MarketIds are pulled from the Betting Markets endpoints." } ] }, "docs": "List of Money and Bet Percentage splits for each outcome type available in this market. This specific endpoint will return the movement from this market as well as the most recent." }, { "info": { "name": "Betting Splits - by Game", "type": "http" }, "http": { "method": "GET", "url": "https://api.sportsdata.io/v3/nba/odds/:format/BettingSplitsByGameId/:gameId", "params": [ { "name": "format", "value": "", "type": "path", "description": "Desired response format. Valid entries are JSON or XML." }, { "name": "gameId", "value": "", "type": "path", "description": "The ID of the game for which you want to receive splits for. GameIds are pulled from the Schedules and Games by Date endpoints." } ] }, "docs": "List of Money and Bet Percentage splits for each market and their respective outcome types available in this game. This specific endpoint will return current splits for each available market and no line movement." }, { "info": { "name": "Betting Player Props - by Game", "type": "http" }, "http": { "method": "GET", "url": "https://api.sportsdata.io/v3/nba/odds/:format/BettingPlayerPropsByGameID/:gameId", "params": [ { "name": "format", "value": "", "type": "path", "description": "Desired response format. Valid entries are JSON or XML." }, { "name": "gameId", "value": "", "type": "path", "description": "The unique GameID of the game in question." }, { "name": "include", "value": "", "type": "query", "description": "This parameter indicates which BettingOutcome records to return in the payload. By default, this endpoint only returns available outcomes, excluding the unlisted bets.

Important Note: the default parameter of available 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.

Possible values include:

available - 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.

unlisted - 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.

" } ] }, "docs": "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." }, { "info": { "name": "Pre-Game and Period Game Odds - by Date [Sportsbook Group]", "type": "http" }, "http": { "method": "GET", "url": "https://api.sportsdata.io/v3/nba/odds/:format/PreGameOddsByDate/:date/:sportsbookgroup", "params": [ { "name": "format", "value": "", "type": "path", "description": "Desired response format. Valid entries are JSON or XML." }, { "name": "date", "value": "", "type": "path", "description": "The date of the game(s).
Examples: 2018-06-20, 2018-06-23." }, { "name": "sportsbookgroup", "value": "", "type": "path", "description": "The name of the Sportsbook grouping.\n
Examples: G1100" } ] }, "docs": "Returns the full-game and non-full-game odds (spread, moneyline, total) for games in a given week and season. Only returns the most recently seen odds, not inclusive of line movement. A Sportsbook Group must be specified as a URL parameter." }, { "info": { "name": "Pre-Game and Period Game Odds Line Movement [Sportsbook Group]", "type": "http" }, "http": { "method": "GET", "url": "https://api.sportsdata.io/v3/nba/odds/:format/PreGameOddsLineMovement/:gameid/:sportsbookgroup", "params": [ { "name": "format", "value": "", "type": "path", "description": "Desired response format. Valid entries are JSON or XML." }, { "name": "gameid", "value": "", "type": "path", "description": "The GameID of an NBA game. GameIDs can be found in the Games API. Valid entries are 12780 or 12781" }, { "name": "sportsbookgroup", "value": "", "type": "path", "description": "The name of the Sportsbook grouping.\n
Examples: G1100" } ] }, "docs": "Returns the game odds ( for games on a given date. In this endpoint both full-game and partial-game odds are included. 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. A Sportsbook Group must be specified as a URL parameter." }, { "info": { "name": "In-Game Odds - by Date [Sportsbook Group]", "type": "http" }, "http": { "method": "GET", "url": "https://api.sportsdata.io/v3/nba/odds/:format/InGameOddsByDate/:date/:sportsbookgroup", "params": [ { "name": "format", "value": "", "type": "path", "description": "Desired response format. Valid entries are JSON or XML." }, { "name": "date", "value": "", "type": "path", "description": "The date of the game(s).
Examples: 2018-06-20, 2018-06-23." }, { "name": "sportsbookgroup", "value": "", "type": "path", "description": "The name of the Sportsbook grouping.\n
Examples: G1100" } ] }, "docs": "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. A Sportsbook Group must be specified as a URL parameter." }, { "info": { "name": "In-Game Odds Line Movement [Sportsbook Group]", "type": "http" }, "http": { "method": "GET", "url": "https://api.sportsdata.io/v3/nba/odds/:format/InGameLineMovement/:gameid/:sportsbookgroup", "params": [ { "name": "format", "value": "", "type": "path", "description": "Desired response format. Valid entries are JSON or XML." }, { "name": "gameid", "value": "", "type": "path", "description": "The GameID of an NBA game. GameIDs can be found in the Games API. Valid entries are 12780 or 12781" }, { "name": "sportsbookgroup", "value": "", "type": "path", "description": "The name of the Sportsbook grouping.\n
Examples: G1100" } ] }, "docs": "Returns in-play game odds (spread, moneyline, total) for games on a given date. 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. A Sportsbook Group must be specified as a URL parameter." }, { "info": { "name": "Betting Player Props - by Game [Sportsbook Group]", "type": "http" }, "http": { "method": "GET", "url": "https://api.sportsdata.io/v3/nba/odds/:format/BettingPlayerPropsByGameID/:gameId/:sportsbookgroup", "params": [ { "name": "format", "value": "", "type": "path", "description": "Desired response format. Valid entries are JSON or XML." }, { "name": "gameId", "value": "", "type": "path", "description": "The unique GameID of the game in question." }, { "name": "sportsbookgroup", "value": "", "type": "path", "description": "The name of the Sportsbook grouping.\n
Examples: G1100" }, { "name": "include", "value": "", "type": "query", "description": "This parameter indicates which BettingOutcome records to return in the payload. By default, this endpoint only returns available outcomes, excluding the unlisted bets.

Important Note: the default parameter of available 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.

Possible values include:

available - 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.

unlisted - 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.

" } ] }, "docs": "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. A Sportsbook Group must be specified as a URL parameter." }, { "info": { "name": "Betting Markets - by Market Type [Sportsbook Group]", "type": "http" }, "http": { "method": "GET", "url": "https://api.sportsdata.io/v3/nba/odds/:format/BettingMarketsByMarketType/:eventId/:marketTypeID/:sportsbookgroup", "params": [ { "name": "format", "value": "", "type": "path", "description": "Desired response format. Valid entries are JSON or XML." }, { "name": "eventId", "value": "", "type": "path", "description": "The EventId of the desired event/game for which to pull all betting markets (includes outcomes/bets). Valid entries include: 134, 155, etc." }, { "name": "marketTypeID", "value": "", "type": "path", "description": "The Market Type ID of the desired MarketTypes to pull. Some common types include:\n1 for `Game Lines`\n2 for `Player Props`\n3 for `Team Props`\n6 for `Game Props`" }, { "name": "sportsbookgroup", "value": "", "type": "path", "description": "The name of the Sportsbook grouping.\n
Examples: G1100" }, { "name": "include", "value": "", "type": "query", "description": "This parameter indicates which BettingOutcome records to return in the payload. By default, this endpoint only returns available outcomes, excluding the unlisted bets.

Important Note: the default parameter of available 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.

Possible values include:

available - 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.

unlisted - 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.

" } ] }, "docs": "Returns Markets and available outcomes for a given event and market type requested. A lighter call than by BettingEventID as it only includes markets tagged with the specific MarketType, a full list of which is available for each sport in its Betting Metadata endpoint. A Sportsbook Group must be specified as a URL parameter." }, { "info": { "name": "Betting Markets - by Game [Sportsbook Group]", "type": "http" }, "http": { "method": "GET", "url": "https://api.sportsdata.io/v3/nba/odds/:format/BettingMarketsByGameID/:gameID/:sportsbookgroup", "params": [ { "name": "format", "value": "", "type": "path", "description": "Desired response format. Valid entries are JSON or XML." }, { "name": "gameID", "value": "", "type": "path", "description": "The GameID of the desired game for which to pull all betting markets (includes outcomes/bets). Valid entries include: 14814" }, { "name": "sportsbookgroup", "value": "", "type": "path", "description": "The name of the Sportsbook grouping.\n
Examples: G1100" }, { "name": "include", "value": "", "type": "query", "description": "This parameter indicates which BettingOutcome records to return in the payload. By default, this endpoint only returns available outcomes, excluding the unlisted bets.

Important Note: the default parameter of available 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.

Possible values include:

available - 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.

unlisted - 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.

" } ] }, "docs": "Returns the markets of all available types (e.g. Player Props, Team Props) and available outcomes for a given GameID. A Sportsbook Group must be specified as a URL parameter." }, { "info": { "name": "Betting Markets - by Event [Sportsbook Group]", "type": "http" }, "http": { "method": "GET", "url": "https://api.sportsdata.io/v3/nba/odds/:format/BettingMarketsByEvent/:eventId/:sportsbookgroup", "params": [ { "name": "format", "value": "", "type": "path", "description": "Desired response format. Valid entries are JSON or XML." }, { "name": "eventId", "value": "", "type": "path", "description": "The EventId of the desired event/game for which to pull all betting markets (includes outcomes/bets). Valid entries include: 134, 155, etc." }, { "name": "sportsbookgroup", "value": "", "type": "path", "description": "The name of the Sportsbook grouping.\n
Examples: G1100" }, { "name": "include", "value": "", "type": "query", "description": "This parameter indicates which BettingOutcome records to return in the payload. By default, this endpoint only returns available outcomes, excluding the unlisted bets.

Important Note: the default parameter of available 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.

Possible values include:

available - 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.

unlisted - 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.

" } ] }, "docs": "Returns the markets and available outcomes for a given BettingEventID." }, { "info": { "name": "Betting Market [Sportsbook Group]", "type": "http" }, "http": { "method": "GET", "url": "https://api.sportsdata.io/v3/nba/odds/:format/BettingMarket/:marketId/:sportsbookgroup", "params": [ { "name": "format", "value": "", "type": "path", "description": "Desired response format. Valid entries are JSON or XML." }, { "name": "marketId", "value": "", "type": "path", "description": "The MarketId of the desired market for which to pull all outcomes/bets. Valid entries include: 421, 1041, etc." }, { "name": "sportsbookgroup", "value": "", "type": "path", "description": "The name of the Sportsbook grouping.\n
Examples: G1100" } ] }, "docs": "Returns full line movement for a given BettingMarket. Due to the sheer size of the output and the level of detail, it is intended for historical data purposes and not for the most up-to-the-second lines. A Sportsbook Group must be specified as a URL parameter." }, { "info": { "name": "Betting Results - by Market [Sportsbook Group]", "type": "http" }, "http": { "method": "GET", "url": "https://api.sportsdata.io/v3/nba/odds/:format/BettingResultsByMarket/:marketId/:sportsbookgroup", "params": [ { "name": "format", "value": "", "type": "path", "description": "Desired response format. Valid entries are JSON or XML." }, { "name": "marketId", "value": "", "type": "path", "description": "The MarketId of the desired market for which to pull all outcomes/bets. Valid entries include: 406451, 404168, etc." }, { "name": "sportsbookgroup", "value": "", "type": "path", "description": "The name of the Sportsbook grouping.\n
Examples: G1100" } ] }, "docs": "Provide a market ID that supports resulting (i.e. has a ResultType) and this endpoint will return a result: for markets with a ResultType, each line will be graded and it will be determined whether the bet would have won or lost. A Sportsbook Group must be specified as a URL parameter." }, { "info": { "name": "Betting Futures - by Season [Sportsbook Group]", "type": "http" }, "http": { "method": "GET", "url": "https://api.sportsdata.io/v3/nba/odds/:format/BettingFuturesBySeason/:season/:sportsbookgroup", "params": [ { "name": "format", "value": "", "type": "path", "description": "Desired response format. Valid entries are JSON or XML." }, { "name": "season", "value": "", "type": "path", "description": "Year of the season
Examples: 2020, 2021, etc" }, { "name": "sportsbookgroup", "value": "", "type": "path", "description": "The name of the Sportsbook grouping.\n
Examples: G1100" } ] }, "docs": "Returns available Futures markets for the given season. Does not include line movement. A Sportsbook Group must be specified as a URL parameter." }, { "info": { "name": "In-Game Odds Line Movement with Resulting [Sportsbook Group]", "type": "http" }, "http": { "method": "GET", "url": "https://api.sportsdata.io/v3/nba/odds/:format/InGameLineMovementWithResulting/:gameid/:sportsbookgroup", "params": [ { "name": "format", "value": "", "type": "path", "description": "Desired response format. Valid entries are JSON or XML." }, { "name": "gameid", "value": "", "type": "path", "description": "The GameID of an NBA game. GameIDs can be found in the Games API. Valid entries are 12780 or 12781" }, { "name": "sportsbookgroup", "value": "", "type": "path", "description": "The name of the Sportsbook grouping.\n
Examples: G1100" } ] }, "docs": "Returns in-play game odds (spread, moneyline, total) for games on a given date. This also includes Resulting: for markets with a ResultType, each line will be graded and it will be determined whether the bet would have won or lost. 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. A Sportsbook Group must be specified as a URL parameter." }, { "info": { "name": "Pre-Game and Period Game Odds Line Movement with Resulting [Sportsbook Group]", "type": "http" }, "http": { "method": "GET", "url": "https://api.sportsdata.io/v3/nba/odds/:format/PreGameOddsLineMovementWithResulting/:gameid/:sportsbookgroup", "params": [ { "name": "format", "value": "", "type": "path", "description": "Desired response format. Valid entries are JSON or XML." }, { "name": "gameid", "value": "", "type": "path", "description": "The GameID of an NBA game. GameIDs can be found in the Games API. Valid entries are 12780 or 12781" }, { "name": "sportsbookgroup", "value": "", "type": "path", "description": "The name of the Sportsbook grouping.\n
Examples: G1100" } ] }, "docs": "Returns the game odds ( for games on a given date. In this endpoint both full-game and partial-game odds are included. This also includes Resulting: for markets with a ResultType, each line will be graded and it will be determined whether the bet would have won or lost. 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. A Sportsbook Group must be specified as a URL parame" } ] } ], "bundled": true }