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

Table of Contents

Sport specific XML elements and attributes

This section explains what elements/attributes one can expect for baseball 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="1411636139557">
<Match active="1" awaybatter="4" balls="1" bases="0,0,0" betstatus="started" homebatter="1" matchid="5213426" msgnr="57" outs="2"
score="0:1" setscores="0:1" status="1IT" strikes="1"/>
</BetradarLiveOdds>

XML attributes definition

ElementAttributes

AttributeDescriptionPossible values
Matchstrikes

Number of strikes for the current
batter.

Number in range [0,2]
ballsNumber of balls for the current batter.Number in range [0,3]
outsNumber of outs for the current inning.Number in range [0,2]
homebatterCurrent batter for home team.Number in range [1,9]
awaybatterCurrent batter for away team.Number in range [1,9]
basesWhich bases are loaded.

"[1st base],[2nd base],[3rd base]".

0 = not loaded,

1 = loaded. For example:
"0,1,1" - The first base is not loaded,
the second and third bases are loaded.

setscores

Baseball: Period_1 - ... - Period_9 (aggregated score of all extra innings). 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.

(ID: 52) Multiple bets of same type active at once for baseball 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-
4011IT1st inning top-
421BT1B1Break 1st top 1st bottom-
4021IB1st inning bottom-
422BT2B1Break 2nd top 1st bottom-
4032IT2nd inning top-
423BT2B2Break 2nd top 2nd bottom-
4042IB2nd inning bottom-
424BT3B2Break 3rd top 2nd bottom-
4053IT3rd inning top-
425BT3B3Break 3rd top 3rd bottom-
4063IB3rd inning bottom-
426BT4B3Break 4th top 3rd bottom-
4074IT4th inning top-
427BT4B4Break 4th top 4th bottom-
4084IB4th inning bottom-
428BT5B4Break 5th top 4th bottom-
4095IT5th inning top-
429BT5B5Break 5th top 5th bottom-
4105IB5th inning bottom-
430BT6B5Break 6th top 5th bottom-
4116IT6th inning top-
431BT6B6Break 6th top 6th bottom-
4126IB6th inning bottom-
432BT7B6Break 7th top 6th bottom-
4137IT7th inning top-
433BT7B7Break 7th top 7th bottom-
4147IB7th inning bottom-
434BT8B7Break 8th top 7th bottom-
4158IT8th inning top-
435BT8B8Break 8th top 8th bottom-
4168IB8th inning bottom-
436BT9B8Break 9th top 8th bottom-
4179IT9th inning top-
437BT9B9Break 9th top 9th bottom-
4189IB9th inning bottom-
438BTEIB9Break EI top 9th bottom-
419EITExtra inning top-
439BTEIBEIBreak EI top EI bottom-
420EIBExtra inning bottom-
100endedThe match has ended-
80interruptedThe match has been interrupted-
90abandonedThe match has been abandoned

Status controlled by XML configuration.