Betradar - the betting arm of Sportradar
Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Excerpt Include | ||||||
---|---|---|---|---|---|---|
|
Anchor | ||||
---|---|---|---|---|
|
Excerpt Include | ||||||
---|---|---|---|---|---|---|
|
Panel | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Betradar provides three different environments for production testing & development when integrating towards the Unified Odds Feed: Production environmentThis environment is only available to production customers. Available 24/7. Provides real-time messaging and an up to date information about various ongoing sport events. This is what you should use as the source in production.
Access to proxy servers from Asia For customers in Asia that experience latency issues, it may be beneficial to try Betradar’s proxy servers. These have been shown to reduce latencies for some Asian customers. Instead of connecting to mq.betradar.com and using api.betradar.com, Asian customers can try to use either of these servers instead for improved performance:
Integration environment
Provides live updates just like production, but only available 24/5 (i.e. weekdays). Clients will be disconnected during weekends and will not be allowed to establish new sessions during this period (The replay environment is still available). The integration environment is available to customers for test/development purposes, both for production customers and customers under early implementation. Live Odds are slightly delayed in this environment (about 1 minute). Also includes the latest features and additions before they become available in the production environment. You can find the integration server self-service API documentation HERE.
XML sent logs endpoint It is possible for clients to fetch XML logs for events, or for a certain interval on the integration environment. These are available through the endpoint /xmllog/events and the /xmllog/messages endpoints found in the self-service API HERE. To fetch the logs for an event, please provide the match ID for the sport event to get the log. E.g: event_id="sr:match:14392962". To fetch a specific interval, please provide a timestamp in milliseconds for the start and end of the desired interval. An interval can be maximum 1 hour long, and is only available for 7 days.
Also, a maximum of 1000 messages will be returned on a single request.
Replay server environmentAllows clients to replay the messages for various events exactly as if it was a normal match, and can also be sped up if needed. Includes all events older than 48 hours, and also provides special canned synthetic scenarios that allows you to easily test special boundary conditions. The replay server also allows you to replay a large number of events in parallel, which provides you with an optimum way to test how your application handles peak loads. You can configure whether to resend the messages as sent, or slightly updated (e.g. using current timestamps etc.).
For more information about manipulating the replay server, see our dedicated SDK and API sections for this environment.
|