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

Sport specific information for tennis.

Table of Contents

Sport specific XML elements and attributes

This section elements, sub-elements and attributes one can expect for tennis matches in addition to the standard elements and attributes.

Code Block
languagexml
titleXML example
<BetradarLiveOdds xmlns="http://www.betradar.com/BetradarLiveOdds" status="betstart" time="0" timestamp="1413357074374">
<Match active="1" betstatus="started" gamescore="0:0" matchid="6243888" msgnr="13" server="1" score="0:0" setscores="0:0" status="1set"
tiebreak="false"/>
</BetradarLiveOdds>

XML attributes definition

ElementAttributes

AttributeDescriptionPossible values
Matchserver

Which player has the serve at that moment. This is an optional attribute and will be set once the first server is known.

1 = player one
2 = player two.

gamescore

The point score in the current game. If one player has advantage the score will be 50:40 or 40:50. This attribute is also used for the tiebreak score when the game is in a tiebreak. This attribute needs to be enabled in the XML configuration.

String
Example: "15:40"

tiebreak

Whether a match is in a tiebreak. This attribute needs to be enabledin the XML configuration.

Set to "true" if the match is in a
tiebreak.

XML configurations

Sport specific XML configurations for tennis.

(ID: 6) Multiple bets of same type active at once for tennis matches

The Live Odds system selects the most balanced bet (line, spread, etc) out of all available ones for each market, and only this one will be sent out to the client system. Enabling this setting will allow multiple bets of the same type to be sent out at once, not only the most balanced ones. E.g. for the total market in soccer the most balanced line would be 2.5. When enabling the setting, total 1.5 and 3.5 would be sent as well.

(ID: 2) Include tennis tie-break status

Enabling this setting will add an attribute tiebreak to the Match element for tennis matches.

Code Block
languagexml
titleXML example
<BetradarLiveOdds xmlns="http://www.betradar.com/BetradarLiveOdds" status="betstart" time="0" timestamp="1413357074374">
<Match active="1" betstatus="started" matchid="6243888" msgnr="13" server="1" score="0:0" setscores="0:0" status="1set" tiebreak="false"/
>
</BetradarLiveOdds>

XML attributes definition

ElementAttributes

AttributeDescriptionPossible values
MatchtiebreakWhether a match is in a tiebreak

String
"true" = Match is in tiebreak
"false" = Match is not in tiebreak

(ID: 1) Include tennis point by point score

Enabling this setting will add an attribute gamescore to the Match element for tennis matches.

Code Block
languagexml
titleXML example
<BetradarLiveOdds xmlns="http://www.betradar.com/BetradarLiveOdds" status="betstart" time="0" timestamp="1413357074374">
<Match active="1" betstatus="started" matchid="6243888" msgnr="13" server="1" gamescore="0:0" score="0:0" setscores="0:0" status="1set
" />
</BetradarLiveOdds>

XML attributes definition

ElementAttributes

AttributeDescriptionPossible values
Matchgamescore

The point score in the current game. If one player has advantage the score will be 50:40 or 40:50. This attribute is also used for the tiebreak score when the game is in a tiebreak.

String
Example: "15:40"

(ID: 108) Include tennis markets for games which might not be played

Enabling this setting will include markets for games which will not be played (e.g. the 7th game if the setscore is already 5:0) in the feed.

(ID: 128) Include competitors pr team in meta messages

If enabled, meta messages for Tennis doubles matches will include additional information about individual players.

Code Block
languagexml
titleXML example
<BetradarLiveOdds xmlns="http://www.betradar.com/BetradarLiveOdds" status="meta" timestamp="1489592713569">
<Match active="1" booked="1" matchid="11257013" status="not_started">
<MatchInfo>
<DateOfMatch>1489592925481</DateOfMatch>
<Sport id="5">Tennis</Sport>
<Category id="6">WTA</Category>
<Tournament id="57144">Indian Wells, USA, Doubles</Tournament>
<HomeTeam id="7057978" uniqueid="138370">HRADECKA L / SINIAKOVA K</HomeTeam>
<AwayTeam id="9547077" uniqueid="320177">ARRUABARRENA L / LIANG C</AwayTeam>
<HomeCompetitors>
<Team id="541426" uniqueid="19331">HRADECKA, LUCIE</Team>
<Team id="6226593" uniqueid="72376">SINIAKOVA, KATERINA</Team>
</HomeCompetitors>
<AwayCompetitors>
<Team id="5395461" uniqueid="46448">ARRUABARRENA-VECINO, LARA</Team>
<Team id="1122536" uniqueid="49884">LIANG, CHEN</Team>
</AwayCompetitors>
<TvChannels/>
</MatchInfo>
</Match>
</BetradarLiveOdds>

Match statuses

IDStatusStatus descriptionAdditional information
0not_startedNot started yet-
81set1st set-
92set2nd set-
103set3rd set-
114set4th set-
125set5th set-
100endedThe match has ended.-
93

walkover

walkover1

The home team won the match by walkover

Status controlled by XML configuration.
94

walkover

walkover2

The away team won the match by walkover

Status controlled by XML configuration.
95

retired

retired1

The away team won because the home team retired

Status controlled by XML configuration.
96

retired

retired2

The home team won because the away team retired

Status controlled by XML configuration.
61delayedThe match start is delayed-
80interruptedThe match has been interrupted-
90abandonedThe match has been abandonedStatus controlled by XML configuration.