The main purpose of the Betradar system is to supply information about odds. The odds are listed per match. Each Match element contains all markets the Betradar system delivers for this match. Per market the odds are added in subelements called OddsField, if that market is currently active.
<BetradarLiveOdds xmlns="http://www.betradar.com/BetradarLiveOdds" status="change" timestamp="1199777659034">
<Match active="1" betstatus="started" earlybetstatus="stopped" matchid="5984472" matchtime="38" msgnr="155" score="1:0" setscores="1:0"
status="1p" >
<Odds active="1" changed="true" combination="0" freetext="Total Corners" id="57178832" mostbalanced="0" specialoddsvalue="7.5"
subtype="126" type="ftnw" typeid="8">
<OddsField active="1" type="under" typeid="373">2.6</OddsField>
<OddsField active="1" type="over" typeid="374">1.45</OddsField>
</Odds>
<Odds active="1" changed="false" combination="0" freetext="Asian handicap first half" ftr="-0.25" id="57178580" mostbalanced="1"
specialoddsvalue="-1.25" subtype="36" type="ft2w" typeid="7">
<OddsField active="1" type="1" typeid="17">2.8</OddsField>
<OddsField active="1" type="2" typeid="18">1.4</OddsField>
</Odds>
<Odds active="0" changed="false" combination="0" freetext="1st Half - Corner Handicap" id="57173070" mostbalanced="0"
specialoddsvalue="-1.5" subtype="123" type="ft2w" typeid="7"/>
<!-- Additional odds possible -->
</Match>
</BetradarLiveOdds>
XML attributes definition
Element | Attributes |
---|
| Attribute | Description | Possible values |
Odds | active | Whether the market is currently active for this match. If the market is not active no odds (OddsField subelements) will be present. | Integer |
changed | Whether the market is updated since last time. | String - true = The market is updated
- false = the market is not updated
|
combination | This attribute is no longer in use, and will therefore always have the value 0. | 0 |
freetext | Optional, only included if the market is a freetext market. Textual representation which tells what kind of freetext market this is. | String |
id | This is a unique identifier for this particular market in this match, and will be used whenever this market are sent out. This id will be used when this market is cleared. | Number |
specialoddsvalue | This indicates the total value, handicap value or freetext details. Used for the following odds types: total, handicap and freetext3way/ 2way/nway. | String |
ftr | Optional, only included in soccer matches if the corresponding XML configuration is activated. Contains the handicap value for the rest of the match. | Number |
subtype | Optional, only included if the market is a freetext market. Identifier which tells what kind of freetext market this is. | Number |
type | Textual representation of the market type. | String See the list with possible market types and ids below. |
typeid | This is a numeric id for the market type, and will be the same for that market type in all matches. | Number See the list with possible market types and ids below. |
OddsField | active | Whether this odds for this market is still offered. | Integer |
type | The name of the odds field. | String |
typeid | Optional, only included if the corresponding XML configuration is activated. Contains a numeric identifier of the odds field. | Integer |
Market types
Market | Value type attribute | Value typeid attribute |
---|
3-Way | 3w | 2 |
Handicap | hc | 4 |
Total | to | 5 |
freetext3way | ft3w | 6 |
freetext2way | ft2w | 7 |
freetextnway | ftnf | 8 |
We constantly extend our betting offer and markets offered. If you have special requests, please forward this to our support team, and we will collect all requests and consider them for upcoming development.