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 [
]
]
providerReferences
object[]
Possible values: [SPORT_RADAR
, PA
, FAIRPLAY
, OPTA
]
subevent starting 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
Possible values: [ACTIVE
, FAILED
, SUSPENDED
]
Whether the Bookmaker is currently offering this price. It could be temporarily unavailable or it may have expired.
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
{
"subeventId": 191703244,
"providerReferences": [
{
"provider": "SPORT_RADAR",
"id": "string"
}
],
"subeventName": "ARC Classic",
"subeventStartTime": "2021-11-18T23: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",
"status": "ACTIVE"
}
]
}
],
"bestLinePair": {
"lower": "Under 213.5",
"upper": "Over 213.5"
}
}
Not Found
Internal error