๐ท๏ธ 1. Find Available Markets
Availability
Each ๐ท๏ธ MarketSelection object has a betPlaceAvailability
object, which contains a list of key-value pairs representing each book and whether this marketSelection
is available for creating a betPlace link.
"betPlaceAvailability": {
"dk": true,
"wb": false,
"bs": false,
"ca": true,
"fd": false,
"bo": false,
"mg": true,
"fb": false,
"pb": true,
"ud": false,
"pp": false
}
Using 3rd Party Market Ids
SportsData.io
The sdio market represents every parameter of a ๐ท๏ธ MarketSelection except for the position.
A position will generally be a ๐ฝ Team , โน๏ธโโ๏ธ Player, Over
or Under
.
Filter the ๐ marketSelection list to the one you are looking for using sdio marketId and the position.
SportRadar
The SportRadar market ID represents the Proposition, ๐งฎ Metric and ๐ Segment of the ๐ท๏ธ MarketSelection. Use it in conjunction with the SportRadar eventId, position, player and team query params where relevant.
OddsJam
The OddsJam market ID represents the Proposition, ๐งฎ Metric and ๐ Segment of the ๐ท๏ธ MarketSelection. Use it in conjunction with the OddsJam eventId, position, โน๏ธโโ๏ธ Player and ๐ฝ Team query params where relevant.
Using 3rd Party Event Ids
You can narrow the list of marketSelections to a specific list of available bets using the eventId provided by SportsData.io, SportRadar, or OddsJam.
Using SharpSports Standardized Values
Market
Use the ๐ Market ID to query for available marketSelections for a specific market description.
Type
Use type to specify prop
or straight
.
Position
Use this to choose the specific selection. The vast majority of positions will be a ๐ฝ Team , โน๏ธโโ๏ธ Player, Over
or Under
.
Query the ๐ marketSelection listendpoint to find edge cases you'd like to cover.
Proposition
If you are not using one of the 3rd party marketIds, then you can use the Proposition query parameter to filter. The most common values here are -
total
spread
moneyline
Segment
If you are looking for a bet that covers a specific timeframe of a game i.e. 1st Half, then use the ๐ Segment query param.
Team
If you are looking for a market where the position, or the team field represent a specific ๐ฝ Team use this query param.
Player
If you are looking for a market where the position, or the player field represent a specific โน๏ธโโ๏ธ Playeruse this query param.
Metric
In the case of a prop bet that is measured on a metrics aside from the main scoring metric of the event i.e. homeruns
or rushing yards
, you can filter using the ๐งฎ Metric query param.
Updated 9 months ago