Sports
Expected value of a bet API
Computes the expected value of a single bet from true win probability, decimal odds, and stake, separating win-branch profit from lose-branch loss and flagging +EV. Answers 'Is this a +EV bet?', 'What is the expected profit on this wager?'.
Price$0.04per request
MethodPOST
Route/v1/sports/bet-expected-value
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
sportsbettingexpected-valueevedgeprofitwagerstakevalue-bet
API URL
Integration docshttps://x402.hexl.dev/v1/sports/bet-expected-valueExample request
{
"winProbability": 0.55,
"decimalOdds": 2,
"stake": 100
}Example response
{
"winProbability": 0.55,
"decimalOdds": 2,
"stake": 100,
"profitIfWin": 100,
"lossIfLose": -100,
"expectedProfit": 10,
"expectedValuePct": 10,
"expectedReturnMultiple": 1.1,
"positiveEv": true,
"formula": "EV = p·(decimal-1)·stake - (1-p)·stake"
}Input schema
{
"type": "object",
"required": [
"winProbability",
"decimalOdds"
],
"properties": {
"winProbability": {
"type": "number",
"examples": [
0.55
]
},
"decimalOdds": {
"type": "number",
"examples": [
2
]
},
"stake": {
"type": "number",
"examples": [
100
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}