Endpoint
This endpoint returns probabilities associated with a particular market within a sporting event. The probabilities could indicate the likelihood of various outcomes or results within that specific market.
Endpoint Parameters
Parameter
Description
Possible Values
urn_type
Required
The type of event to look up.
sr:match only
id
Required
The sport event ID to get probabilities for.
Example: 41507091
market_id
Required
The market ID to get probabilities for.
See Market descriptions endpoint for list of markets we offer
Get probabilities for a sport event's specific market. Response is returned in XML format.
The event type you want to look up.
Get probabilities for the event ID.
The ID for the market.
successful operation
Unauthorized. Token is missing or invalid.
Forbidden. Access to Custom Bet not allowed.
No data for the event (match id). Invalid event.
Custom Bet API currently unavailable or betting not allowed.
Too many requests. Rate limit reached.
Internal Server Error - VAIX. Retry or contact support.
GET /v1/probabilities/{urn_type}:{id}/{market_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:38923493" timestamp="1687877675174">
<sport_event_status status="0" match_status="0"/>
<odds>
<market status="1" cashout_status="1" id="18" specifiers="total=3.25">
<outcome id="12" probabilities="0.33111832504990735" active="1"/>
<outcome id="13" probabilities="0.6688816749500927" active="1"/>
</market>
<market status="1" cashout_status="1" id="18" specifiers="total=2.25">
<outcome id="12" probabilities="0.5839727816035091" active="1"/>
<outcome id="13" probabilities="0.4160272183964909" active="1"/>
</market>
...
<market status="1" cashout_status="1" id="18" specifiers="total=1">
<outcome id="12" probabilities="0.9153552475373873" active="1"/>
<outcome id="13" probabilities="0.08464475246261272" active="1"/>
</market>
</odds>
</cashout>
Last updated
Was this helpful?