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 about dota2.

Table of Contents

Match statuses in dota2

Table Filter
inverse
sparkNameSparkline
limitHeight
separatorPoint (.)
labels
default
cell-width
datepatterndd M yy
globalFiltertrue
id1584430130794_-1274492040
worklog365|5|8|y w d h m|y w d h m
isORAND
order0
IdMatch statusDescriptionAdditional information
0NOT_STARTEDNot started yet-
141FIRST_MAP1st map-
301FIRST_PAUSE1st pause-
142SECOND_MAP2nd map-
302SECOND_PAUSE2nd pause-
143THIRD_MAP3rd map-
303THIRD_PAUSE3rd pause-
144FOURTH_MAP4th map-
304FOURTH_PAUSE4th pause-
145FIFTH_MAP5th map-
100ENDEDThe match has ended-
93WALKOVER1The home team won the match by walkover-
94WALKOVER2The away team won the match by walkover-
95RETIRED1The away team won because the home team retired-
96RETIRED2The home team won because the away team retired-
61DELAYEDThe match start is delayed-
80INTERRUPTEDThe match has been interrupted-
90ABANDONEDThe match has been abandonedThis match status is only sent if the corresponding XML configuration is enabled.


Events in dota2

Table Filter
inversefalse
sparkNameSparkline
limitHeight
sortID ⇧
separatorPoint (.)
labels
default
isFirstTimeEntertrue
cell-width
datepatterndd M yy
globalFiltertrue
id
1584430142002
1592283051371_
-1274492040
1091332388
worklog365|5|8|y w d h m|y w d h m
isORAND
order0
 IDEvent

Description

Coverageextrainfoextrainfomobaplayer1player2
1010BetstartBetstart indicates that betting markets can be activated. Betstart is not only a pre-match event, but is also used during the match.External Feed (BC)----
1011Betstop

Betstop indicates that all betting


markets are closed due


to strong possibility of a goal,


penalty, red card, or there is


any unclear situation on the


field. Betstop is also used


whenever there is the need


to establish direct communication


between the scout and the


match Supervisor, or in case of


call disconnection.

External feed (BC)----
1013Match status

Sent when the status of the


match changes.

External feed (BC)See the above table for match statuses for dota2---
1015Free comment

Used for any kind of additional information during the match. Example: "Match interrupted due to flood light break down", etc..

External feed (BC)----
1102Coverage status

Coverage status


. Sent when the coverage status


for the match changes.

External feed (BC)

Possible values:

  • 0 = Covered
  • 1 = Coverage abandoned
  • 2 = Match will not be covered
---

1840

MOBA map started

Tells when a map has started.

External feed (BC)----

1842

MOBA map ended

Tells when a map has ended.

External feed (BC)----

1844


MOBA hero picked/banned

Tells what hero is banned or picked by what team

External feed (BC)-

Possible values:

  • 0 = Ban
  • 1 = Pick
--

1845

MOBA player hero

Tells which player plays which hero

External feed (BC)--Playerid-

1846

MOBA start picking

Which team who starts the picking phase

External feed (BC)----

1848

MOBA team balance changed

Tells how many heroes are alive.

External feed (BC)----

1850

Dota dire start

Tells which team plays as Dire in the given map

External feed (BC)----

1852


MOBA kills

Tells of any new kills made by either team.

External feed (BC)----
1856

1854

Dota
player infoInforms of the in game stats for the player
first barrackTells that the first barrack in a map has been taken down. Used for market clearing.


External feed (BC)--
Playerid
--
1858

1856

Dota
structure takedown
player info

Informs of the in game stats for the player.

External feed (BC)--Playerid-

1858

Dota structure takedown

Describes which tower is taken down by what team.

Does not take into consideration denies.


External feed (BC)----

1860

Dota item change

Tells if an item is added or removed from the inventory of a player.


External feed (BC)--Playerid of the player who either picked up or dropped the item-

1862

MOBA first bloodTells that the first kill in a map has happened. Used for market clearing.


External feed (BC)----

1864

MOBA first tower

Tells that the first tower in a map has been taken down. Used for market clearing.


External feed (BC)----
1854

1866

Dota first
barrack
aegis
Tells that the first
barrack in a map has been taken down
Roshan has been killed and a player has obtained the Aegis of the Immortal. Used for market clearing
.External feed (BC)----

1866

Dota first aegisTells that the first Roshan has been killed and a player has obtained the Aegis of the Immortal. Used for market clearing.

External feed (BC)

----

2056

Dota final kills

Has all the kills counted in a Dota Map. It Comes at the end of the map and is not sent to clients.

I produces a MOBA kills that finds the deviaton from the serverside count of kills and this events kills
.


External feed (BC)

----

2058

MOBA player alive

Tells which player just died or re-spawned, and how long the re-spawn timer is (where this is applicable).

External feed (BC)

Possible values:

  • 0 = Died
  • 1 = Respawned
How long the player will be dead (in seconds). 0 if the player respawnedPlayerid-


Sport specific XML elements and attributes

This section explains what elements / attributes one can expect for Dota2 matches in addition to the standard elements and attributes, and what the meaning of those elements and attributes is.

Elements in <match> element

Code Block
languagexml
titleXML example
<match betstatus="BETSTOP" connectionstatus="0" device="5" extrainfo="-1" feedtype="full" matchid="10115284" matchtime="0:3:54" st1id="
190363" st2id="190364" start="1464795000000" t1id="8777622" t1name="KAIPI" t2id="8777623" t2name="PRODOTA GMNG">
<status id="302" name="SECOND_PAUSE" start="1464802817643"/>
<score t1="5" t2="0" type="match"/>
<score t1="1" t2="0" type="map1"/>
<score t1="1" t2="0" type="map2"/>
<matchformat>
<format type="maps" value="3"/>
</matchformat>
<tournament id="53111" name="Dota2 Testmatches"/>
<category id="1375" name="Dota2 test matches"/>
<sport id="111" name="ESport Dota"/>
<events/>
<networth mapnr="1" t1="2400" t2="2000">
</match>

XML elements and attributes definition

ElementAttributes

AttributeDescriptionPossible values
score

Multiple occurrences possible, each occurrence describes the amount of points for the specified period in the match. This element always gets included in full feed, and in the delta feed for the following events:

MOBA map ended (1842)

t1Amount of points home team.Integer
t2Amount of points away team.Integer
type

For what period in the match the points were scored.

String. Possible values:

  • match
  • map1
  • map2
  • map3
  • map4
  • map5
matchformat

This element always gets included in full feed, and in the delta feed for the following events:

Best of maps (1810)

This element consists of subelements which will be explained more into detail below.

networth

Multiple occurrences possible, each occurrence describes the net worth for the specified period in the match. This element is included in full feed, and in the delta feed, if the corresponding XML configuration is enabled, for the following events:

Dota player information (1856), Dota item change (1860) and Dota structure takedown (1858).

t1Home team net worth.Integer
t2Away team net worth.Integer
mapnrMap numberInteger

Elements and attributes in <matchformat> element

If extra attributes are needed to specify the match format, those will be added in the <matchformat>-element, which holds <format>-elements for each match format option. The actual formats are described in the type and value attributes.

Code Block
languagexml
titleXML example
<match betstatus="BETSTOP" connectionstatus="0" device="5" extrainfo="-1" feedtype="full" matchid="10115284" matchtime="0:3:54" st1id="
190363" st2id="190364" start="1464795000000" t1id="8777622" t1name="KAIPI" t2id="8777623" t2name="PRODOTA GMNG">
<status id="302" name="SECOND_PAUSE" start="1464802817643"/>
<matchformat>
<format type="maps" value="3"/>
</matchformat>
...
</match>

Possible values type and attributes for dota2

TypeValue
mapsNumber of maps to be played. Integer, value from 1 - 5.

Attributes in <event> element

Code Block
<!-- Example 1 -->
<match matchid="9571671" ... >
<events>
<event assists="13" deaths="2" denies="10" id="649368355" info="Player info update for FATA" kills="11" lasthits="409" level="25" mtime=
"0:51:34" networth="28869" player1="974931" side="away" stime="1465553386462" type="1856" experience="628"/>
</events>
</match>

<!-- Example 2 -->
<match matchid="9571671" ... >
<events>
<event id="649368411" info="Away team has completed 1 more kill." killsaway="1" killshome="0" mapnumber="1" mtime="0:51:48" side="
none" stime="1465553390458" type="1852"/>
</events>
</match>

<!-- Example 3 -->
<match matchid="9571671" ... >
<events>
<event heroesaliveaway="5" heroesalivehome="2" id="649368413" info="Number of heroes alive has changed: 2:5" mtime="0:51:48" side=
"none" stime="1465553390460" type="1848"/>
</events>
</match>

<!-- Example 4 -->
<match matchid="9571671" ... >
<events>
<event extrainfo="141" id="649324419" info="FIRST_MAP" mtime="0:0:0" side="none" stime="1465549651632" type="1013"/>
</events>
</match>

<!-- Example 5 -->
<match matchid="9571671" ... >
<events>
<event heroid="90" heroname="Wisp" id="649324421" info="[T1] banned Wisp" mapnumber="1" mtime="0:0:0" side="home" stime="
1465549651634" type="1844"/>
</events>
</match>

<!-- Example 6 -->
<match matchid="9571671" ... >
<events>
<event extrainfo="1" id="16018306" info="MentalProtector has obtained Ring of Protection" itemname="Ring of Protection" mapnumber="2
" mtime="0:3:45" player1="795591" side="away" stime="1474371994151" type="1860"/>
</events>
</match>

XML attributes definition

ElementAttributes

AttributeDescriptionAllowed values
eventextrainfo

Attribute containing additional information about the event.

Long
player1

Sportradar id of player 1 associated with the event.

Integer
player2

Sportradar id of player 2 associated with the event.

INteger
mapnumberThe number of the current map.Integer
heroid

Id of the hero. This attribute gets added on the following events:
MOBA hero picked/banned (1844),
MOBA player hero (1845).

Integer
heroname

Name of the hero, derived from the name from Dota 2. This attribute gets added on the following events:
MOBA hero picked/banned (1844),
MOBA player hero (1845).

String
heroesalivehome

Amount of heroes still alive for home team. This attribute gets added on the following events:
MOBA team balance changed (1848)

Integer
heroesaliveaway

Amount of heroes still alive for away team. This attribute gets added on the following events:
MOBA team balance changed (1848)

Integer
killshome

The amount of new kills for the home team. This attribute gets added on the following events: MOBA kills (1852)

Integer
killsaway

The amount of new kills for the away team. This attribute gets added on the following events: MOBA kills (1852)

Integer
lasthits

Amount of last hits the player has in the map. This attribute gets added on the following events: Dota player info (1856)

Integer
denies

Amount of denies the player has in the map. This attribute gets added on the following events: Dota player info (1856)

Integer
kills

Amount of kills the player has in the map. This attribute gets added on the following events: Dota player info (1856)

Integer
deaths

Amount of deaths the player has in the map. This attribute gets added on the following events: Dota player info (1856)

Integer
assists

Amount of assists the player has in the map. This attribute gets added on the following events: Dota player info (1856)

Integer
networth

The combined value of the item the hero has and the amount of gold he has available. This attribute gets added on the following events: Dota player info (1856)

Integer
experience

The amount of xp per min the hero has gathered. (total gathered xp/- duration of the match in minutes). This attribute gets added on the following events: Dota player info (1856)

Integer
level

Which hero level the player is on. This attribute gets added on the following events: Dota player info (1856)

Integer
itemname

Name of the item. This attribute gets added on the following events: Dota item change (1860)

String
extrainfomoba

How long the player will be dead (in seconds) when added to event MOBA Player Alive (ID: 2058), or If a hero was picked/banned in the event MOBA Hero picked/banned (ID: 1844)

2058: Positive Integer value
1844: 1 if it was a pick, 0 if it was a ban

XML configuration

This section explains what XML configurations one can expect for this sport in addition to the standard XML configurations, and what the meaning of these configurations is.

(ID: 89) Send lineups for Dota2 matches

If this setting is enabled, the element <lineups> gets enabled for matches which have this configured. Lineups are sent when subscribing to a match, and when the lineup changes.

Code Block
languagexml
titleXML example
<lineups matchid="12345678">
 <player id="1" name="Aaronson, Aaron" nickname="A.Aaronson" shirtnumber="0" substitute="false" team="1"/>
 <player id="2" name="Benito, Barry" nickname="B.Benito" shirtnumber="0" substitute="false" team="1"/>
 <player id="3" name="Cumberscratch, Cabertoss" nickname="C.Cumberscratch" shirtnumber="0" substitute="false" team="2"/>
 <player id="4" name="Dumpling, Danny" nickname="D.Dumpling" shirtnumber="0" substitute="false" team="2"/>
</lineups>

(ID: 91) Add attribute itemname for Dota2 event Item Change

Enabling this setting will include the attribute itemname to the <event>-element when the Item Change event (1860) happens in Dota2.

Code Block
languagexml
titleXML example
<match matchid="9571671" ... >
<events>
<event extrainfo="1" id="16018306" info="MentalProtector has obtained Ring of Protection" itemname="Ring of Protection" mapnumber="2"
mtime="0:3:45" player1="795591" side="away" stime="1474371994151" type="1860"/>
</events>
</match>

(ID: 98) Enable net worth element for Dota2

Enabling this setting will include the element networth.

Code Block
languagexml
titleXML example
<match matchid="9571671" ... >
<networth mapnr="1" t1="2400" t2="2000">
</match>

(ID: 137) Include extra info moba for dota2

Enabling this setting will add an attribute extrainfomoba to <event> element. This attribute may contain additional information about the event it is added to.

Code Block
languagexml
titleXML example
<match ... >
...
<events>
<event extrainfo="0" extrainfomoba="0" id="879480891" info="Delitto died" mapnumber="1" mtime="0:21:56" player1="1356912" side="
home" stime="1511866053205" type=" 2058"/>
</events>
</match>