This tutorial is for engineers, who are integrating Sportradar widgets into their online interfaces, and are looking for reliable and durable data sources of identifying information required for widgets integration.
In this tutorial you will learn:
To go through this tutorial you will need:
For the requirements of this tutorial we are going to presuppose that we are integrating a widget, which requires the following pieces of data for integration:
matchIdplayerIdtournamentIduniqueTournamentIdteamUidseasonIdsportIdclientIdSportradar offers a number of data APIs to facilitate integration with customers. These APIs provide all the required data for integration of all widgets.
Changed nomenclature
Property names from APIs might now match property names in widgets. Particularly the tournament related properties can be confusing.
In widgets there are tournamentId and uniqueTournamentId. These two map, respectively, to simpleTournamentId and tournamentId in APIs. This can be confusing, because the identifier tournamentId is used in both nomenclatures, but it denotes different values.
This is explained in detail in New Nomenclature
If you don't have an account already, go to Sports API, create an account there and start using the API in order to gain required data.
Sports API allows you to access:
In the coverage feed you will be able to find:
Some additional information can be found in BET Utility API documentation.
In Unified Odds Feed you can obtain:
https://api.sportradar.com/bet-mapping/
ClientId is a one-time indentifier each Sportradar customer gets upon obtaining a license for Sportradar products. If you don't have a clientId yet, contact the Sales Team to obtain your clientId.
List of sports with codes
| Sport | ID |
|---|---|
| Soccer | 1 |
| Basketball | 2 |
| Baseball | 3 |
| Ice Hockey | 4 |
| Tennis | 5 |
| Handball | 6 |
| Floorball | 7 |
| Golf | 9 |
| Boxing | 10 |
| Motor Sport | 11 |
| Rugby | 12 |
| Aussie Rules | 13 |
| Bandy | 15 |
| Football | 16 |
| Cycling | 17 |
| Snooker | 19 |
| Table Tennis | 20 |
| Cricket | 21 |
| Darts | 22 |
| Volleyball | 23 |
| Field Hockey | 24 |
| Pool | 25 |
| Waterpolo | 26 |
| Curling | 28 |
| Futsal | 29 |
| Badminton | 31 |
| Bowls | 32 |
| Chess | 33 |
| Beach Volley | 34 |
| Squash | 37 |
| Rink Hockey | 38 |
| Lacrosse | 39 |
| Softball | 54 |
| Beach Soccer | 60 |
| Pesapallo | 61 |
| Esport | 107 |
| Counter Strike | 109 |
| League Of Legends | 110 |
| Dota 2 | 111 |
| Starcraft | 112 |
| Hearthstone | 113 |
| MMA | 117 |
| Call Of Duty | 118 |
| Smite | 119 |
| Overwatch | 121 |
| Rainbow Six | 125 |
| Rocket League | 128 |
| King Of Glory | 134 |
| Gaelic Football | 135 |
| Gaelic Hurling | 136 |
| Esport Soccer | 137 |
| Kabaddi | 138 |
| Esport Basketball | 153 |
| Basketball 3x3 | 155 |
| Beach Handball | 157 |
| Arena Of Valor | 158 |
| Valorant | 194 |
| Esport Ice Hockey | 195 |