Betradar - the betting arm of Sportradar
Page History
Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Excerpt Include | ||||||
---|---|---|---|---|---|---|
|
Anchor | ||||
---|---|---|---|---|
|
Excerpt Include | ||||||
---|---|---|---|---|---|---|
|
Panel | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Table of contents:
API endpointsThe following table lists all available endpoints found in the self-service documentation here: https://iodocs.betradar.com/unifiedfeed
Details regarding endpoints in the API
Start: Is the starting record (this is an index, not time). Limit: Is how many records (sport_events) to return. Max for limit is 1000, so you can do; start = 0&limit=1000, then start=1000&limit=1000 and so on, until you get no data. The primary goal of this endpoint is to reduce the number of individual fixtures you have to read during a recovery.
Match bookingsNote that in the daily schedule, all sport-events are listed with a “live-odds” attribute. This attribute lists the match-booking state and can be in the following states: booked (already booked), bookable (can be booked), buyable (need to be bought before it can be booked, contact your sales-representative), and unavailable (currently not available at all for live booking). This is only for live odds where a customer can request booking of a particular match.
Special note on the tournament(s).xml endpointThis endpoint lists all available tournaments where Sportradar provides coverage. You can still receive information about a match that is associated with a tournament not on the returned list from the endpoints. This could for example happen with lower division soccer league matches where Sportradar does not provide full league coverage, but may do so only upon request from one or more bookmakers. Such tournaments are typically not listed, and Sportradar does not provide a tournament schedule either for these tournaments. Therefor it is important to not assume that these endpoints will return every single tournament of interest, but rather all available tournaments where Sportradar provide coverage, and/or customers buy coverage for a particular match. Response codesThe general http status codes are defined here https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html Here is how Status Codes are used in this API:
Endpoint update frequency
To avoid unnecessary re-computation of endpoints, the following endpoints are cached and will not be recomputed until the cache time expires:
Cashing remarks for implementationOn the client side, it is possible to cache fixtures. If you do this, you have to invalidate a particular fixture when you receive a fixture_change message, for that fixture. 24 hours is a reasonable caching time. Variant descriptions can be cached for 24 hours or more. The only reason a particular variant description would change is in case of a data entry error. |