Retrieves a weighted list of Selections.
GET
/topbets/
sportsdata
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://sandbox.whapi.com/v2/sportsdata/topbets/' \
--header 'apiKey;'
Response Response Example
200 - response
{
bets:
{
weight: "",
sports:
{
isPublished:true,
id: "",
name: ""
},
competitions:
{
isPublished: true,
parentIds: ["",""],
betInRunningDelay:9
description:"The description of the competition"
cashinAvailable:true,
channels:["",""],
displayed:true,
flags:["",""],
id:"",
name:"",
order: 1,
status:"A"
},
events:
{
isPublished: true,
parentIds:["",""],
bettingStatus:"",
betInRunningDelay:5,
description:"The description of the event",
cashinAvailable: true,
channels:["",""],
country: "",
displayed: true,
flags: ["",""],
hasInPlayMarkets:true,
hasLivePrices:true,
id: "",
isInPlay:true,
marketCountActiveInPlay:2,
marketCountActivePreMatch: 3,
marketCountActiveTotal:9,
marketCountInPlay:6,
marketCountPreMatch:2,
name:"6:10 Windsor",
order:4,
raceNum:"",
settled: true,
eventSort:"",
startDateTime:"",
status:"A",
markets:
[
{
isPublished:true,
parentIds:["",""],
antepostMarket:true,
betInRunningDelay:4,
description:"Additional market information",
channels:"",
displayed:true,
eachWay: true,
eachWayFactorDen:5,
eachWayFactorNum:1,
eachWayPlaces:3,
earlyPriceAvailable:true,
firstFourAvailable:true,
firstPriceAvailable:true,
flags:"",
bestOddsGuaranteed:true,
isInPlayMarket: true,
hcapMakeup:5,
hcapValue: 5,
id:"OB_MA1",
livePriceAvailable:true,
marketGroupCollectionId:"",
marketGroupId:"",
marketGroupName:"",
name:"",
order:"5",
quinellaAvailable:true,
settled:true,
marketSort:"",
startingPriceAvailable:true,
status:"A",
selections:
[
{
parentIds:["",""],
isPublished:true,
description:"",
cashinPriceNum:5,
cashinPriceDen:4,
channels:["",""],
csAway:5,
csHome:5,
currentPriceNum:5,
currentPriceDen:5,
displayed:true,
resultType:"",
id:"",
name:"",
order:5,
result:"",
runnerNum:5,
settled:true,
status:"A",
oddsDecimal:1.1,
resultType:"",
priceFormatted:
{
fractional:"EVS",
decimal:2,
american:"+100"
}
}
]
}
],
markets:
{
isPublished:true,
parentIds:["",""],
antepostMarket:true,
betInRunningDelay:4,
description:"Additional market information",
channels:"",
displayed:true,
eachWay: true,
eachWayFactorDen:5,
eachWayFactorNum:1,
eachWayPlaces:3,
earlyPriceAvailable:true,
firstFourAvailable:true,
firstPriceAvailable:true,
flags:"",
bestOddsGuaranteed:true,
isInPlayMarket: true,
hcapMakeup:5,
hcapValue: 5,
id:"OB_MA1",
livePriceAvailable:true,
marketGroupCollectionId:"",
marketGroupId:"",
marketGroupName:"",
name:"",
order:"5",
quinellaAvailable:true,
settled:true,
marketSort:"",
startingPriceAvailable:true,
status:"A",
selections:
[
{
parentIds:["",""],
isPublished:true,
description:"",
cashinPriceNum:5,
cashinPriceDen:4,
channels:["",""],
csAway:5,
csHome:5,
currentPriceNum:5,
currentPriceDen:5,
displayed:true,
resultType:"",
id:"",
name:"",
order:5,
result:"",
runnerNum:5,
settled:true,
status:"A",
oddsDecimal:1.1,
priceFormatted:
{
fractional:"EVS",
decimal:2,
american:"+100"
}
}
]
},
selections:
{
parentIds:["",""],
isPublished:true,
description:"",
cashinPriceNum:5,
cashinPriceDen:4,
channels:["",""],
csAway:5,
csHome:5,
currentPriceNum:5,
currentPriceDen:5,
displayed:true,
resultType:"",
id:"",
name:"",
order:5,
result:"",
runnerNum:5,
settled:true,
status:"A",
oddsDecimal:1.1,
resultType:"",
priceFormatted:
{
fractional:"EVS",
decimal:2,
american:"+100"
}
}
}
}
Request
Query Params
sportIds
array[string]
optional
competitionIds
array[string]
optional
limit
integer
optional
fields
array[string]
optional
include
array[string]
optional
exclude
array[string]
optional
param_topBetEventId
string
optional
sortName
string
optional
culture
string
optional
Locale
string
optional
Header Params
apiKey
string
required
Responses
Modified at 2023-08-15 06:10:46