Endpoint
This endpoint returns probabilities for a sports event.
Endpoint Parameters
Parameter
Description
Possible Values
urn_type
Required
The type of event to look up.
sr:match
id
Required
The sport event ID
Example: 41507091
Get probabilities for a sport event. Response is returned in XML format.
Authorizations
Path parameters
urn_typestring · enumRequiredPossible values:
The event type you want to look up.
idintegerRequired
Get probabilities for the event ID.
Responses
200
successful operation
application/xml
401
Unauthorized. Token is missing or invalid.
403
Forbidden. Access to Custom Bet not allowed.
404
No data for the event (match id). Invalid event.
409
Custom Bet API currently unavailable or betting not allowed.
429
Too many requests. Rate limit reached.
500
Internal Server Error - VAIX. Retry or contact support.
get
GET /v1/probabilities/{urn_type}:{id} HTTP/1.1
Host: global.api.betradar.com
x-access-token: YOUR_API_KEY
Accept: */*
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<cashout product="1" event_id="sr:match:41507091" timestamp="1687519092989">
<sport_event_status status="4" match_status="100"/>
<odds betstop_reason="24">
<market status="-3" cashout_status="-2" id="66" specifiers="hcp=0.5"/>
<market status="-3" cashout_status="-2" id="547" specifiers="total=4.5"/>
<market status="-3" cashout_status="-2" id="18" specifiers="total=4.25"/>
<market status="-3" cashout_status="-2" id="16" specifiers="hcp=0.25"/>
<market status="-3" cashout_status="-2" id="71" specifiers="variant=sr:exact_goals:3+"/>
...
<market status="-3" cashout_status="-2" id="18" specifiers="total=5.5"/>
<market status="-3" cashout_status="-2" id="91" specifiers="total=0.5"/>
<market status="-3" cashout_status="-2" id="1"/>
</odds>
</cashout>
Last updated
Was this helpful?