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

When an odds change occurs, all the markets for that match will be updated and sent out. Only one match is included in a change message.

Code Block
languagexml
titleXML example
<BetradarLiveOdds xmlns="http://www.betradar.com/BetradarLiveOdds" status="change" timestamp="1287056116518">
<Match active="1" betstatus="started" clock_stopped="0" matchid="1467300" matchtime="32" msgnr="31" remaining_time="8:49" score="13:10"
setscores="0:0 - 5:5 -- 3:5" status="4q">
<Odds active="1" changed="false" combination="0" freetext="Asian Handicap" id="748814" specialoddsvalue="-3.5" subtype="34" type="
ft2w" typeid="7">
<OddsField active="1" type="1">1.75</OddsField>
<OddsField active="1" type="2">1.9</OddsField>
</Odds>
<Odds active="0" changed="true" combination="0" id="748905" specialoddsvalue="87.5" type="to" typeid="5"/>
<Odds active="0" changed="false" combination="0" freetext="Asian handicap for fourth period" id="748888" specialoddsvalue="0.5" subtype
="54" type="ft2w" typeid="7"/>
<Odds active="1" changed="true" combination="0" freetext="Asian handicap for whole match, including overtime" id="748867"
specialoddsvalue="-4.5" subtype="38" type="ft2w" typeid="7">
<OddsField active="1" type="1">1.85</OddsField>
<OddsField active="1" type="2">1.8</OddsField>
</Odds>
<!-- Additional markets possible -->
</Match>
</BetradarLiveOdds>

XML attributes definition

ElementAttributes

AttributeDescriptionPossible values
BetradarLiveOddsstatus

What kind of information is contained in the message.

String
"change" (for odds change messages)

Oddsactive

Whether the market is currently active for this match. If the market is not active no odds (OddsField subelements) will be present.

Integer

  • 1 = active
  • 0 = not active
changed

Whether the market is updated since last time.

String

  • true = The market is updated
  • false = the market is not updated
OddsFieldactive

Whether this odds for this market is still offered.

Integer

  • 1 = active
  • 0 = not active