Betradar - the betting arm of Sportradar

Page tree

Versions Compared

Key

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

Excerpt Include
HideElements
HideElements
nopaneltrue
Anchor
topOfPage
topOfPage

Excerpt Include
BetradarLogo
BetradarLogo
nopaneltrue

Panel

If the XML configuration option Send lineups for matches where this is available is activated, the lineups XML will be sent over
the feed automatically. The XML contains the player lineups for both teams, and is currently available for:

  • American Football
  • Baseball
  • Basketball
  • CS:GO
  • Dota2
  • Handball
  • Ice hockey
  • League of legends
  • Rugby
  • Soccer

The lineups XML is sent immediately after subscribing to a match, and it’s also sent automatically every time the lineup changes.

Note: The player id element in the lineup message will match the player id element in the case of an event such as a goal. The following XML example illustrates how this looks in the feed after a goal in a soccer game:

Code Block
languagexml
titleXML example
Update with player info:
<match betstatus="BETSTOP" connectionstatus="1" dc="1" feedtype="deltaupdate" matchid="12813841">
<score t1="2" t2="0" type="period1"/>
<score t1="2" t2="0" type="current"/>
<shotsontarget t1="2" t2="0"/>
<events>
<event extrainfo="-100" id="879292323" info="Goal [T1] (shot) - M.Upson" matchscore="2:0" mtime="03:56" player1="569" posx="50" posy="
50" side="home" stime="1510558801855" type="30"/>
</events>
</match>
Lineup element:
<lineups matchid="12188488">
<player id="569" name="Upson, M" position="D" shirtnumber="99" substitute="false" team="1"/>
<player id="49038" name="Andelkovic, Sinisa" position="D" shirtnumber="4" substitute="false" team="1"/>