Sport specific information about baseball.
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.
<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
Element | Attributes |
---|
| Attribute | Description | Possible values |
Match | strikes | Number of strikes for the current batter. | Number in range [0,2] |
balls | Number of balls for the current batter. | Number in range [0,3] |
outs | Number of outs for the current inning. | Number in range [0,2] |
homebatter | Current batter for home team. | Number in range [1,9] |
awaybatter | Current batter for away team. | Number in range [1,9] |
bases | Which 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
ID | Status | Status description | Additional information |
---|
0 | not_started | Not started yet | - |
401 | 1IT | 1st inning top | - |
421 | BT1B1 | Break 1st top 1st bottom | - |
402 | 1IB | 1st inning bottom | - |
422 | BT2B1 | Break 2nd top 1st bottom | - |
403 | 2IT | 2nd inning top | - |
423 | BT2B2 | Break 2nd top 2nd bottom | - |
404 | 2IB | 2nd inning bottom | - |
424 | BT3B2 | Break 3rd top 2nd bottom | - |
405 | 3IT | 3rd inning top | - |
425 | BT3B3 | Break 3rd top 3rd bottom | - |
406 | 3IB | 3rd inning bottom | - |
426 | BT4B3 | Break 4th top 3rd bottom | - |
407 | 4IT | 4th inning top | - |
427 | BT4B4 | Break 4th top 4th bottom | - |
408 | 4IB | 4th inning bottom | - |
428 | BT5B4 | Break 5th top 4th bottom | - |
409 | 5IT | 5th inning top | - |
429 | BT5B5 | Break 5th top 5th bottom | - |
410 | 5IB | 5th inning bottom | - |
430 | BT6B5 | Break 6th top 5th bottom | - |
411 | 6IT | 6th inning top | - |
431 | BT6B6 | Break 6th top 6th bottom | - |
412 | 6IB | 6th inning bottom | - |
432 | BT7B6 | Break 7th top 6th bottom | - |
413 | 7IT | 7th inning top | - |
433 | BT7B7 | Break 7th top 7th bottom | - |
414 | 7IB | 7th inning bottom | - |
434 | BT8B7 | Break 8th top 7th bottom | - |
415 | 8IT | 8th inning top | - |
435 | BT8B8 | Break 8th top 8th bottom | - |
416 | 8IB | 8th inning bottom | - |
436 | BT9B8 | Break 9th top 8th bottom | - |
417 | 9IT | 9th inning top | - |
437 | BT9B9 | Break 9th top 9th bottom | - |
418 | 9IB | 9th inning bottom | - |
438 | BTEIB9 | Break EI top 9th bottom | - |
419 | EIT | Extra inning top | - |
439 | BTEIBEI | Break EI top EI bottom | - |
420 | EIB | Extra inning bottom | - |
100 | ended | The match has ended | - |
80 | interrupted | The match has been interrupted | - |
90 | abandoned | The match has been abandoned | Status controlled by XML configuration. |