Get Odds
GET/markets/:marketId
Retrieves all market information and bets for given market ID. This endpoint also returns all the odds from the bookmakers that are available to you.
Request
Path Parameters
ID of market to fetch
Query Parameters
Bookmaker codes to filter market odds on
Header Parameters
Possible values: [US
, GB
, IT
, ES
]
2 character ISO country code
2 character subdivision code e.g. NJ = New Jersey
Responses
- 200
- 404
- 500
Returns a Market with child Bets and Prices.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Array [
Array [
]
Array [
]
]
Possible values: [TEAM
, RACE
, PLAYER
]
subevent inPlay status
providerReferences
object[]
Possible values: [SPORT_RADAR
, PA
, FAIRPLAY
, OPTA
]
subevent starting time in UTC
subevent end time in UTC
bets
object[]
providerReferences
object[]
Possible values: [SPORT_RADAR
, PA
, FAIRPLAY
]
Possible values: [PLAYER
, TEAM
]
odds
object[]
The US format of a price
the latest timestamp for when the odds were processed
Possible values: [ACTIVE
, FAILED
, SUSPENDED
]
Whether the Bookmaker is currently offering this price. It could be temporarily unavailable or it may have expired.
meta
object
bookmaker meta information
Whether the bookmakers price is the best line for the market, the best line is based on how close the line pair is together only applies to American Sports
bestLinePair
object
closest line pairing based off average decimal odds, supported markets are handicaps/point spread and total points
lower
object
Lower bound bet totals markets will contain under, handicaps will contain minus
upper
object
Upper bound bet totals markets will contain over, handicaps will contain plus
{
"categoryGroupId": 42,
"categoryGroupName": "Horse Racing",
"categoryGroupType": "TEAM",
"categoryId": 42,
"categoryName": "Ante-Post Racing",
"eventId": 424,
"eventName": "Grand National",
"subeventId": 191703244,
"inPlay": true,
"providerReferences": [
{
"provider": "SPORT_RADAR",
"id": "string"
}
],
"subeventName": "ARC Classic",
"subeventStartTime": "2021-11-18T23:59:00Z",
"subeventEndTime": "2021-11-19T23:59:00Z",
"marketId": 12345,
"marketName": "Win Market",
"marketTypeId": 12345,
"bets": [
{
"betId": 155345064,
"betName": "Mac Jones",
"providerReferences": [
{
"provider": "SPORT_RADAR",
"id": "string"
}
],
"line": "-12.0",
"marketId": 12345,
"marketName": "Win Market",
"participantType": "PLAYER",
"odds": [
{
"bookmakerCode": "FB",
"oddsFractional": "33/1",
"oddsDecimal": 34.5,
"oddsUs": "+300",
"timestamp": "2021-11-18T23:59:00Z",
"status": "ACTIVE",
"meta": {
"betId": "string",
"marketId": "string",
"subeventId": "string",
"eventId": "string",
"categoryId": "string"
},
"isBestLine": true
}
]
}
],
"bestLinePair": {
"lower": "Under 213.5",
"upper": "Over 213.5"
}
}
Not Found
Internal error