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

Table of Contents

Sport specific XML elements and attributes

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

Code Block
languagexml
titleXML example
<BetradarLiveOdds xmlns="http://www.betradar.com/BetradarLiveOdds" type="scoutmatch" timestamp="1413534449872" time="0" status="
betstart">
<Match dismissals_away="0" dismissals_home="1" over="2" innings="1" penalty_runs_away="0" penalty_runs_home="0" delivery="1"
status="1i_ht" score="6:0" msgnr="17" matchid="1616800" betstatus="started" active="1"/>
</BetradarLiveOdds>

XML attributes definition

ElementAttributes

AttributeDescriptionPossible values
Matchdismissals_home

Amount of dismissals of the home team in the current innings.

Number in range [0,10]
dismissals_away

Amount of dismissals of the away team in the current innings.

Number in range [0,10]
penalty_runs_home

How many penalty runs the home team has. This attribute needs to be enabled in the XML configuration,

Number >= 0
Penalty_runs_away

How many penalty runs the away team has. This attribute needs to be enabled in the XML configuration,

Number >= 0
inningsWhat innings it is.

Number in range [1,2]
Note that the second innings can also
be superover.

overWhat over in the innings it is.

A number > 0
The first over will have value 1, please
note this is different from the Cricket
convention which would start counting
at zero.

deliveryWhich ball delivery in the over it is.Number in range [1,6]

XML configurations

Sport specific XML configurations for cricket.

(ID: 96) Include penalty runs in cricket

Enabling this setting will add the attributes penalty_runs_home and penalty_runs_away to the Match element for cricket matches.

Code Block
languagexml
titleXML example
<BetradarLiveOdds xmlns="http://www.betradar.com/BetradarLiveOdds" timestamp="1413534449872" time="0" status="betstart">
<Match dismissals_away="0" dismissals_home="1" over="2" innings="1" penalty_runs_away="0" penalty_runs_home="0" delivery="1"
status="1i_ht" score="6:0" msgnr="17" matchid="1616800" betstatus="started" active="1"/>
</BetradarLiveOdds>

XML attributes definition

ElementAttributes

AttributeDescriptionPossible values
Matchpenalty_runs_home

How many penalty runs the home team has.

Number >= 0
penalty_runs_away

How many penalty runs the away team has.

Number >= 0

(ID: 98) Multiple bets of same type active at once for Cricket 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.

Match statuses

IDStatusStatus descriptionAdditional information
0not_startedNot started yet-
5011i_htFirst innings, home team-
5021i_atFirst innings, away team-
5032i_htSecond innings, home team-
5042i_atSecond innings, away team-
505awaiting_soAwaiting super over-
506so_htSuper over, home team-
507so_atSuper over, away team-
508after_soAfter super over-
509innings_breakInnings break-
510so_breakSuper over break-
511lunch_breakLunch break-
512tea_breakTea break-
513stumpsStumps-
100endedThe match has ended-
80interruptedThe match has been interrupted-
90abandonedThe match has been abandonedStatus controlled by XML configuration.