๐Ÿท๏ธ 1. Find Available Markets

Availability

Each ๐Ÿท๏ธ MarketSelection object has a betPlaceAvailabilityobject, 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.