Retrieves information about a specific market given a provider. Includes child bets and prices for all bookmakers associated with the API-KEY.
GET/markets
Retrieves all found markets and bets for given Provider and market type
Request
Query Parameters
Possible values: [SPORT_RADAR
, PA
, FAIRPLAY
, OPTA
]
Provider Name to search on
Provider Id to search on
Market type Id to search on
Whether to return inplay odds or pregame for matches
Bookmaker codes to filter market odds on
Header Parameters
API Key
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 [
]
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