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 handball.

Table of Contents

Sport specific XML elements and attributes

This section explains what elements/attributes one can expect for handball matches in addition to the standard elements and attributes.

Code Block
languagexml
titleXML example
<BetradarLiveOdds xmlns="http://www.betradar.com/BetradarLiveOdds" status="change" timestamp="1287056116518">
<Match active="1" betstatus="stopped" clock_stopped="0" matchid="6412133" matchtime="2" msgnr="12" remaining_time="58:08"
remaining_time_in_period="28:08" score="1:0" setscores="1:0" status="1p" suspendAway="0" suspendHome="0" />
</BetradarLiveOdds>

XML attributes definition

ElementAttributes

AttributeDescriptionPossible values
Matchclock_stopped

Whether the clock is running or the clock is stopped. This attribute needs to be enabled in the XML configuration.

Integer
1 = Clock is stopped
0 = Clock is running

remaining_time

This contains remaining minutes and seconds in the match. This attribute needs to be enabled in the XML configuration.

String
Format: <minutes>:<seconds>

remaining_time_in_period

This contains remaining minutes and seconds in the current period. This attribute needs to be enabled in the XML configuration.

String
Format: <minutes>:<seconds>

suspendHome

The amount of suspensions for the home team. This attribute needs to be enabled in the XML configuration.

Number >= 0
suspendaway

The amount of suspensions for the away team. This attribute needs to be enabled in the XML configuration.

Number >= 0
setscores

Period_1 - Period_2 (aggregated score of all overtime sequences - score of 7 meter shooutout) So maximum up to 5 scores while 3 and 4 are optional in case of overtime and/or penalty shootout.

String
For example: "1:0 - 1:0 - 0:0 - 0:0 - 0:1"

XML configurations

Sport specific XML configurations for handball.

(ID:31) Multiple bets of same type active at once for handball 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: 27) Remaining time in handball

Enabling this setting will add the attribute remaining_time to the Match element for handball matches.

Code Block
languagexml
titleXML example
<BetradarLiveOdds xmlns="http://www.betradar.com/BetradarLiveOdds" status="change" timestamp="1287056116518">
<Match active="1" betstatus="stopped" matchid="6412133" matchtime="2" msgnr="12" remaining_time="58:08" score="1:0" setscores="1:0"
status="1p" />
</BetradarLiveOdds>

XML attributes definition

ElementAttributes

AttributeDescriptionPossible values
Matchremaining_time

This contains remaining minutes and seconds in the match.

String
Format: <minutes>:<seconds>

(ID: 28) Remaining time for period in handball

Enabling this setting will add the attribute remaining_time_in_period to the Match element for handball matches.

Code Block
languagexml
titleXML example
<BetradarLiveOdds xmlns="http://www.betradar.com/BetradarLiveOdds" status="change" timestamp="1287056116518">
<Match active="1" betstatus="stopped" matchid="6412133" matchtime="2" msgnr="12" remaining_time_in_period="28:08" score="1:0"
setscores="1:0" status="1p" />
</BetradarLiveOdds>

XML attributes definition

ElementAttributes


AttributeDescriptionPossible values
Matchremaining_time_in_period

This contains remaining minutes and seconds in the current period.

String
Format: <minutes>:<seconds>

Match statuses

IDStatusStatus descriptionAdditional information
0not_startedNot started yet-
61p1st period of the match-
31pausedMatch pause-
72p2nd period of the match-
100endedThe match has ended-
32awaiting_otWaiting for overtime to startStatus controlled by XML configuration.
40otOvertime (in case the match goes to extra time)-
411p_ot1st overtime period-
33ot_ht

Pause between 1st and 2nd overtime period

Status controlled by XML configuration.
422p_ot2nd overtime period-
110after_otMatch finished after overtime-
34awaiting_penWaiting for penalty shoot-out to startStatus controlled by XML configuration.
50penPenalty shoot-out-
120endedThe match has ended after penalties-
80interruptedThe match has been interrupted-
90abandonedThe match has been abandonedStatus controlled by XML configuration.