Betradar - the betting arm of Sportradar

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Anchor
topOfPage
topOfPage
Excerpt Include
HideElements
HideElements
nopaneltrue

Excerpt Include
BetradarLogo
BetradarLogo
nopaneltrue

Panel

For some markets and in some sports, the Betradar system sends out information about players as individual OddsFields. However, in some cases i.e. Where FIFA and UEFA allow 23 players per team for the world and euro cup (where domestic leagues usually only allow 18 players total), some unknown home/away players may show up having a player ID equal to -1. This is because (in the case of the following example) some markets have more defined outcomes than allowed players.

Code Block
languagexml
titleXML example
<BetradarLiveOdds timestamp="1525711813939" status="change" xmlns="http://www.betradar.com/BetradarLiveOdds">
<Match matchid="12055804" status="1p" active="1" betstatus="started" earlybetstatus="stopped" matchtime="20" score="1:0" setscores="1:0"
msgnr="199" cornershome="2" cornersaway="0" yellowcardshome="0" yellowcardsaway="1" redcardshome="0" redcardsaway="0"
yellowredcardshome="0" yellowredcardsaway="0">
<Odds id="360181594" type="ftnw" subtype="146" specialoddsvalue="-1" freetext="Anytime Goal scorer" combination="0" active="1" changed="
true" typeid="8">
<OddsField type="Blanco, Ruben" active="0" typeid="450" playerid="180515" />
<OddsField type="Drazic, Dejan" active="0" typeid="2438" playerid="363778" />
<OddsField type="Boye, Lucas" active="0" typeid="2440" playerid="584066" />
<!-- Home players showing up with playerid="-1" -->
<OddsField type="player home 19" active="0" typeid="2442" playerid="-1" />
<OddsField type="player home 20" active="0" typeid="2444" playerid="-1" />
<OddsField type="player home 21" active="0" typeid="2446" playerid="-1" />
<OddsField type="player home 22" active="0" typeid="2448" playerid="-1" />
<OddsField type="player home 23" active="0" typeid="2450" playerid="-1" />}
<!-- Away players showing up with playerid="-1" -->
<OddsField type="Bakkali, Zakaria" active="0" typeid="2452" playerid="285941" />
<OddsField type="Valverde, Federico" active="0" typeid="2454" playerid="962433" />
<OddsField type="player away 19" active="0" typeid="2456" playerid="-1" />
<OddsField type="player away 20" active="0" typeid="2458" playerid="-1" />
<OddsField type="player away 21" active="0" typeid="2460" playerid="-1" />
<OddsField type="player away 22" active="0" typeid="2462" playerid="-1" />
<OddsField type="player away 23" active="0" typeid="2464" playerid="-1" />
<!-- -->
<OddsField type="Krohn Dehli, Michael" active="1" typeid="451" playerid="2565">14.87</OddsField>
</Odds>
</Match>
</BetradarLiveOdds>

In the above example (snippet taken from a "Next and Anytime goal scorer" market), the highlighted players (number 19 - 23) can be skipped as they are undefined. This is a result of the market having 46 defined outcomes, but the match only has 18 players per team.