Sports
Round-robin bet builder API
Enumerates all parlay combinations of a chosen size from N selections, counting tickets (n choose k) and computing per-ticket combined odds, payout, and total stake. Answers 'How many tickets in a round-robin?', 'What does each parlay combo pay in my round-robin?'.
Price$0.06per request
MethodPOST
Route/v1/sports/round-robin
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
sportsbettinground-robinparlaycombinationsticketsaccumulatorstakepermutations
API URL
Integration docshttps://x402.hexl.dev/v1/sports/round-robinExample request
{
"selections": [
2,
1.5,
3
],
"parlaySize": 2,
"stakePerTicket": 10
}Example response
{
"selections": [
2,
1.5,
3
],
"parlaySize": 2,
"numTickets": 3,
"stakePerTicket": 10,
"totalStake": 30,
"tickets": [
{
"legs": [
2,
1.5
],
"combinedDecimal": 3,
"payout": 30
},
{
"legs": [
2,
3
],
"combinedDecimal": 6,
"payout": 60
},
{
"legs": [
1.5,
3
],
"combinedDecimal": 4.5,
"payout": 45
}
],
"formula": "tickets = C(n, k); each ticket combined = Πdecimal of its legs"
}Input schema
{
"type": "object",
"required": [
"selections"
],
"properties": {
"selections": {
"type": "array",
"items": {
"type": "number"
},
"description": "Decimal odds per selection (>=2)",
"examples": [
[
2,
1.5,
3
]
]
},
"parlaySize": {
"type": "number",
"description": "Legs per ticket (>=2)",
"examples": [
2
]
},
"stakePerTicket": {
"type": "number",
"examples": [
10
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}