| ID | Match status | Description | Additional information |
|---|---|---|---|
| 0 | NOT_STARTED | Not started yet | |
| 401 | FIRST_INNING_TOP | 1st inning top | |
| 421 | BREAK_TOP1_BOTTOM1 | Break top1-bottom1 | |
| 402 | FIRST_INNING_BOTTOM | 1st inning bottom | |
| 422 | BREAK_TOP2_BOTTOM1 | Break top2-bottom1 | |
| 403 | SECOND_INNING_TOP | 2nd inning top | |
| 423 | BREAK_TOP2_BOTTOM2 | Break top2-bottom2 | |
| 404 | SECOND_INNING_BOTTOM | 2nd inning bottom | |
| 424 | BREAK_TOP3_BOTTOM2 | Break top3-bottom2 | |
| 405 | THIRD_INNING_TOP | 3rd inning top | |
| 425 | BREAK_TOP3_BOTTOM3 | Break top3-bottom3 | |
| 406 | THIRD_INNING_BOTTOM | 3rd inning bottom | |
| 426 | BREAK_TOP4_BOTTOM3 | Break top4-bottom3 | |
| 407 | FOURTH_INNING_TOP | 4th inning top | |
| 427 | BREAK_TOP4_BOTTOM4 | Break top4-bottom4 | |
| 408 | FOURTH_INNING_BOTTOM | 4th inning bottom | |
| 428 | BREAK_TOP5_BOTTOM4 | Break top5-bottom4 | |
| 409 | FIFTH_INNING_TOP | 5th inning top | |
| 429 | BREAK_TOP5_BOTTOM5 | Break top5-bottom5 | |
| 410 | FIFTH_INNING_BOTTOM | 5th inning bottom | |
| 430 | BREAK_TOP6_BOTTOM5 | Break top6-bottom5 | |
| 411 | SIXTH_INNING_TOP | 6th inning top | |
| 431 | BREAK_TOP6_BOTTOM6 | Break top6-bottom6 | |
| 412 | SIXTH_INNING_BOTTOM | 6th inning bottom | |
| 432 | BREAK_TOP7_BOTTOM6 | Break top7-bottom6 | |
| 413 | SEVENTH_INNING_TOP | 7th inning top | |
| 433 | BREAK_TOP7_BOTTOM7 | Break top7-bottom7 | |
| 414 | SEVENTH_INNING_BOTTOM | 7th inning bottom | |
| 548 | BREAK_TOPEI_BOTTOM7 | Break topEI-bottom7 | |
| 434 | BREAK_TOP8_BOTTOM7 | Break top8-bottom7 | |
| 415 | EIGHTH_INNING_TOP | 8th inning top | |
| 435 | BREAK_TOP8_BOTTOM8 | Break top8-bottom8 | |
| 416 | EIGHTH_INNING_BOTTOM | 8th inning bottom | |
| 436 | BREAK_TOP9_BOTTOM8 | Break top9-bottom8 | |
| 417 | NINTH_INNING_TOP | 9th inning top | |
| 437 | BREAK_TOP9_BOTTOM9 | Break top9-bottom9 | |
| 418 | NINTH_INNING_BOTTOM | 9th inning bottom | |
| 438 | BREAK_TOPEI_BOTTOM9 | Break topEI-bottom9 | |
| 419 | EXTRA_INNING_TOP | Extra inning top | |
| 439 | BREAK_TOPEI_BOTTOMEI | Break topEI-bottomEI | |
| 420 | EXTRA_INNING_BOTTOM | Extra inning bottom | |
| 100 | ENDED | The match has ended | |
| 80 | INTERRUPTED | The match has been interrupted | |
| 90 | ABANDONED | The match has been abandoned | This match status is only sent if the corresponding XML configuration is enabled. |
Blue text = MLB Premium Data Points covered by device ID 5 (External Feed MLB) based on official MLB data feeds
(Δ) = Deltaupdate will deliver the richer information.
This section explains what elements / attributes one can expect for baseball matches in addition to the standard elements and attributes, and what the meaning of those elements and attributes is.
Elements in element
<match betstatus="BETSTOP" connectionstatus="0" dc="1" device="5" distance="3755" extrainfo="0" feedtype="full" matchid="10111515"
matchtime="0:00:00" st1id="3652" st2id="3641" start="1463675700000" t1id
XML elements and attributes definition
Attributes in element
<!-- Example 1 -->
<match matchid="8820270" ... >
<events>
<event balls="0" baseinfo="0:1" errors="1" extrainfo="9" id="650825885" info="[T1] batter advances to 1st base (Walk)" inninghalf="B"
XML attributes definition
With the tri-feed integration, there has been a change in behavior of our feeds in pursuit of the lowest latency data possible. The change is two-fold and does have implications on our recommended handling of messages.
First, we providing data as the play unfolds on the field rather than waiting until the play and base positions are finalized to send data. As outs are recorded or runs are scored during a play, this information will come through immediately when entered. For examples as a fly-ball is caught, a “player out” message will be sent even if there are still runners trying to tag up and advance on the base paths. Similarly, on a straightforward ground into double play, a “player out” message will be sent when the first runner is out while the fielding team is still trying to complete the double-play.
Second, as runner positions on the bases are finalized, we are now sending a “player on base X” message before we receive information on who the runner is or where he advanced from. Before a “play over” message is sent, we will have provided a “player on base X” event for every base that is occupied by a batter or runner upon the conclusion of the play.
Due to this change, we have added full game state information (balls, strikes, outs, pcount, errors, hitshome, hitsaway, errorshome, errorsaway, firstbaseloaded, secondbaseloaded and thirdbaseloaded attributes) to the play over event ID 1716 to eliminate or minimize any need to track intermediate states as a play unfolds.
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.
If this setting is enabled, the baseball stats correction event (1832) will include new attributes and child elements.
<event balls="1" errorsaway="2" errorshome="1" extrainfo="0" firstbaseloaded="0" hitsaway="1" hitshome="6" id="13119818" info="
Statistics have been corrected" inninghalf="T" matchscore="6:1" mtime="0:00:00" outs="1" periodnumber="2" periodscore
XML attributes definition
If this setting is enabled, it will add player IDs to supported baseball events.
If this setting is enabled, lineups are sent for baseball matches.
XML attributes definition
| Atribute | Description | Possible values |
|---|---|---|
| position | Where the player is playing in the field | String |
| order | Batting order at match start | Integer |
Position definitions:
Enabling this setting will add the attribute position to the element.
<lineups matchid="17132705">
<player id="1097538" name="O'Neill, Tyler" shirtnumber="0" substitute="false" team="1" position="Left Field" order="7"/>
<
The attribute type in the element (subelement from element) has a set list of possible values. If this setting is enabled, the attribute type can have one of the following values, in addition to the regular values matches:
<match matchid="7440630" ... >
<score t1="14" t2="20" type="inning2"/>
<!-- Remaining message truncated -->
</match>The attribute type in the element (subelement from element) has a set list of possible values. If this setting is enabled, the attribute type can have one of the following values, in addition to the regular values matches:
<match matchid="7440630" ... >
<score t1="14" t2="20" type="overtime1"/>
<!-- Remaining message truncated -->
</match>The attribute type in the element (subelement from element) has a set list of possible values. If this setting is enabled it will allow the element in the feed to have the "penalties" type.
<match matchid="7440630" ... >
<score t1="14" t2="20" type="penalties"/>
<!-- Remaining message truncated -->
</match>An event with ID 2400, named "MLB Coverage change" will be added to the feed.This event will include an extrainfo parameter:
<event type="2400" stime="1765361682731" side="none" mtime="0:00:00" info="Coverage type changed" id="2242149775" uuid="5399c013-af87-4566-bbb9-1946189ab28c" extrainfo="0" matchscore="0:0" periodscore="0:0" periodnumber="1" inninghalf="T" matchstatus="FIRST_INNING_TOP"/>1. Config Disabled (Current Behavior): The 2149 event for a "stretching" out will not include the baseinfo attribute.
<event type="2149" stime="1661634572227" side="away" mtime="0:00:00" info="Batter is out (Stretching)" id="2253110878" uuid="6df2397b-40f3-4da1-b087-47ad0caec41e" extrainfo="46" player1="2023987" matchscore="0:0" periodscore="0:0" periodnumber="5" inninghalf="T" balls="2" strikes="2" outs="1" pcount="57" errors="1" atbatnumber="31" totalpitchcount="129" atbatpitchnumber="6" extrainfobaseball="1" matchstatus="FIFTH_INNING_TOP" fieldingplayers="1,1100805;2,1993847;3,1417365;4,1416227;5,958812;6,1100835;7,939128;8,843127;9,853394"/>2. Config Enabled (New Behavior): The 2149 event for a "stretching" out (where extrainfo="46") will now include the baseinfo attribute. In the example below, baseinfo="0:2" indicates the runner was out while attempting to reach second base, having safely cleared first.
<event type="2149" stime="1661634572227" side="away" mtime="0:00:00" info="Batter is out (Stretching)" id="2253110878" uuid="6df2397b-40f3-4da1-b087-47ad0caec41e" extrainfo="46" player1="2023987" matchscore="0:0" periodscore="0:0" baseinfo="0:2" periodnumber="5" inninghalf="T" balls="2" strikes="2" outs="1" pcount="57" errors="1" atbatnumber="31" totalpitchcount="129" atbatpitchnumber="6" extrainfobaseball="1" matchstatus="FIFTH_INNING_TOP" fieldingplayers="1,1100805;2,1993847;3,1417365;4,1416227;5,958812| ID | Event | Description | Coverage | Extrainfo | Special MLB Attributes | Player1 | Player2 |
|---|---|---|---|---|---|---|---|
| 60 | Substitutions | Happens whenever there is a substitution for either team. Entries are assigned to teams | External feed (DC MLB & Failover) |
| String: Outgoing player ID | String: Incoming player ID | |
| 1010 | Betstart | Betstart indicates that betting markets can be activated. Betstart is not only a pre match event but is also used during the match. | External feed (DC MLB & Failover), iScout (BC, DC) | ||||
| 1011 | Betstop | Betstop indicates that all betting markets are closed due to strong possibility of a scoring situation or there being any unclear situation on the field. | External feed (DC MLB & Failover), iScout (BC, DC) | Id of Betstop Reason as specified in LD - Betstart and Betstop | |||
| 1013 | Match status | Sent when the status of the match changes. | External feed (DC MLB & Failover), iScout (BC, DC) | See above table for match statuses | |||
| 1015 | Free text / comment | Used for any kind of additional information during the match. Example: "Match interrupted due to flood light break down", etc.. | External feed (DC MLB & Failover), iScout (BC, DC) | ||||
| 1024 | Match about to start | This event is sent when both captains, together with the referee, are selecting which team will start the match. | External feed (DC MLB & Failover) | ||||
| 1031 | Ball in play | Used when the ball is in play | External feed (DC MLB & Failover), iScout (BC, DC) |
| String: Batter ID | ||
| 1035 | Timeout | A team calls a timeout. Entries can be assigned to teams, but neutral timeouts are possible too. | External feed (DC MLB) | ||||
| 1044 | Deleted event alert | Manual removal of an event. | External feed (DC MLB & Failover), iScout (BC, DC) | Id of event that was deleted. | |||
| 1047 | Timeout over | The timeout is over | External feed (DC MLB) | ||||
| 1102 | Match coverage | Sent when the coverage status for the match changes | External feed (DC MLB & Failover), iScout (BC, DC) | Possible values:
| |||
| 1310 | Ball hit | Batter successfully advances to (at least) 1st base | External feed (DC MLB) |
| String: Batter ID | ||
| 1458 | Video review | - | External feed (DC Failover), iScout (BC, DC) | ||||
| 1459 | Video review over | - | External feed (DC Failover), iScout (BC, DC) | ||||
| 1550 | Score adjustment | Manual period score adjustment in RTS | External Feed (BC) | Number of period being adjusted | |||
| 1714 | Player match stats | Accumulated Player match statistics sent in real-time based on MLB data. Event will not be available in case of failover. | External feed (DC MLB) | Statistics format: Total stats will always be present.
List of available attributes:
| |||
| 1715 | Play start | Pitcher is about to throw a pitch | External feed (DC MLB & Failover), iScout (BC, DC) |
| String: Batter ID | ||
| 1716 | Play over | Sent when the play is finished. | External feed (DC MLB & Failover), iScout (BC, DC) |
| String: Batter ID | ||
| 1717 | Runners in motion | Runners are attempting to steal a base. | External feed (DC MLB & Failover), iScout (BC, DC) | ||||
| 1718 | Checked Runner | Pitcher tried to pick runner off, runner was safe | External feed (DC MLB & Failover), iScout (BC, DC) | String: Runner ID (Δ) Example text: Runner MOOKIE BETTS on 1st base is checked | |||
| 1719 | Runner advances to base x | Runner advances to base x | External feed (DC Failover), iScout (BC, DC) | Advancement types. Possible values:
| String: Runner ID Example text: Runner MOOKIE BETTS advances to 1st base (Single) | ||
| 1720 | Run scored | Main score event. | External feed (DC MLB & Failover), iScout (BC, DC) | Scored run type (Δ). Possible values:
|
| String: Runner ID (Δ) Example text: MOOKIE BETTS scored run (Earned Run) | String: Batter ID |
| 1721 | Runner out | Sent when the runner is out. This event includes both base and non-base cases. | External feed (DC Failover), iScout (BC, DC) | Runner out types. Possible values:
| String: Runner ID Example text: Runner MATT KEMP at 1st base is out (Force Out) | ||
| 1722 | Strike | Strike | External feed (DC MLB & Failover), iScout (BC, DC) | Strike type (Δ). Possible values:
|
| String: Batter ID Example text: Strike looking for MOOKIE BETTS | |
| 1723 | Ball | Ball | External feed (DC MLB & Failover), iScout (BC, DC) | Ball type (Δ). Possible values:
|
| String: Pitcher ID Example text: CLAYTON KERSHAW pitches the ball outside the zone | String: Batter ID |
| 1724 | Foul ball | Foul ball | External feed (DC MLB & Failover), iScout (BC, DC) |
| String: Batter ID Example text: Strike foul ball for MOOKIE BETTS | ||
| 1725 | Who throws the first pitch | Information about what team throws the first pitch. | External feed (DC MLB & Failover), iScout (BC, DC) | String: Pitcher ID Example text: CLAYTON KERSHAW to throw the first pitch | |||
| 1726 | Batter out | Sent when the batter is out. This event includes both base and non-base cases. | External feed (DC Failover), iScout (BC, DC) | Batter out types. Possible values:
| String: Batter ID Example text: Batter MOOKIE BETTS is out (Fly Out) | ||
| 1727 | Batter advances to base x | Batter advances to base x. | External feed (DC Failover), iScout (BC, DC) | Batter advancement types. Possible values:
| String: Batter ID Example text: Batter MOOKIE BETTS advances to 1st base (Single) | ||
| 1728 | Balk | After engaging the rubber pitcher commits a number of illegal motions or actions. | External feed (DC Failover), iScout (BC, DC) | ||||
| 1743 | Team match stats | Accumulated Team match statistics sent in real-time based on MLB data. Event will not be available in case of failover. | External Feed (DC MLB) | Statistics format: Total stats will always be present. Accumulated period stats will only be present for the affected period stats.
List of available attributes:
| |||
| 1832 | Baseball stats correction | Baseball Stats Correction | External feed (DC MLB & Failover), iScout (BC, DC) | Whether the score was changed. Possible values:
|
| ||
| 2112 | Baseball error | Describes a baseball error made by a player while interacting with either the ball or players on the field. | External feed (DC MLB) | Type of error made (Δ). Possible values**:**
|
| Player ID who made the error (Δ) | |
| 2143 | Current pitcher baseball | Sent when match starts and whenever pitcher changes | External feed (DC MLB & Failover), iScout( DC) |
| String: Pitcher ID | ||
| 2144 | Current batter baseball | Sent when match starts and whenever batter changes | External feed (DC MLB & Failover), iScout (DC) |
| String: Batter ID | ||
| 2149 | Player out | Signifies that a player is out. Will be updated with GUMBO data to tell if the player was a batter or runner. | External feed (DC MLB) | Player out type (Δ). Possible values:
|
| String: Batter ID or Runner ID (Δ) | |
| 2150 | Player on base x | Signifies that a player has reached a base. Will be updated with GUMBO data to tell who the player is. | External feed (DC MLB) | Type of advancement (Δ). Possible values:
|
| String: Batter ID or Runner ID (Δ) | |
| 2327 | Pitch release | Signifies the moment in time the pitch is thrown (= ball leaves the hand of the pitcher). | External feed (DC MLB) |
| String: Pitcher ID Example text: Pitcher ROWAN WICK releases the ball (93.7mph) | ||
| 2400 | MLB Coverage Switch | Used when the source changes to DC Failover for MLB matches - under a config (ID:240) | External Feed (DC MLB & DC Failover) |
|
| Element | Attributes | Description | Possible values |
|---|---|---|---|
| matchformat | format type="regularinnings" | This element always gets included in full feed, and in the delta feed. |
|
| 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: Run scored (1720), Baseball stats correction (1832) | ||
| t1 | Amount of points home team | Integer | |
| t2 | Amount of points away team | Integer | |
| type | For what period in the match the points were scored | String. Possible values:
|
| Element | Attributes | Description | Possible values |
|---|---|---|---|
| event | extrainfo | Attribute containing additional information about the event. | Long |
| matchscore | Score for current match. | String. Format: "[home]:[away]" Example: "1:0" | |
| periodscore | Score for current period. | String. Format: "[home]:[away]" Example: "1:0" | |
| extrainfobaseball | Attribute containing additional information about the event. | String | |
| baseinfo | From what base the player moved, and what base the player reached. This attribute gets added for the following events: Checked runner (1718) (Δ), Run scored (1720) (Δ), Runner out (1721), Runner advancement (1719), Batter advancement(1727), Player out (2149 with extrainfobaseball=0/runner) (Δ), Player on base X (2150) (Δ). | String. Format: "[starting base]:[reached base]" Example: "1:2" Please note that value "999" is a valid value for a starting base and means the starting base is unknown. | |
| periodnumber | Number of current period in match. | Integer | |
| inninghalf | |||
| balls | This attribute gets added for the following events: Checked runner (1718), Run scored (1720), Runner out (1721), Runner advancement (1719), Batter advancement(1727), Ball (1723), Baseball stats correction (1832), Player out (2149), Player on base x (2150), Baseball error (2112), Play over (1716), Play start (1715), Current pitcher (2143). | ||
| runs | This attribute gets added for the following events: Run scored (1720) | ||
| strikes | This attribute gets added for the following events: Ball (1723), Foul Ball (1724), Strike (1722), Batter out (1726), Run scored (1720), Runner out (1721), Runner advancement (1719), Batter advancement(1727), Checked runner (1718), Player out (2149), Player on base x (2150), Baseball error (2112), Play over (1716), Play start (1715), Current pitcher (2143). | ||
| outs | This attribute gets added for the following events: Baseball stats correction (1832), Ball (1723), Foul Ball (1724), Strike (1722), Batter out (1726), Run scored (1720), Runner out (1721), Runner advancement (1719), Batter advancement(1727), Checked runner (1718), Player out (2149), Player on base x (2150), Baseball error (2112), Play over (1716), Play start (1715), Current pitcher (2143). | ||
| pcount | This attribute gets added for the following events: Ball (1723), Foul Ball (1724), Strike (1722), Batter out (1726), Run scored (1720), Runner out (1721), Runner advancement (1719), Batter advancement(1727), Player out (2149), Player on base x (2150), Baseball error (2112), Play over (1716), Play start (1715), Current pitcher (2143), Baseball stats correction (1832). | ||
| totalpitchcount | Match’s total pitch count. This attribute gets added for the following events: Ball (1723), Foul Ball (1724), Strike (1722), Batter out (1726), Run scored (1720), Player out (2149), Player on base x (2150), Baseball error (2112), Play over (1716), Play start (1715), Current pitcher (2143), Baseball stats correction (1832), Ball in play (1031). | ||
| errors | This attribute gets added for the following events: Ball (1723), Foul Ball (1724), Strike (1722), Batter out (1726), Run scored (1720), Runner out (1721), Runner advancement (1719), Batter advancement(1727), Checked runner (1718), Player out (2149), Player on base x (2150), Baseball error (2112), Play over (1716), Play start (1715), Current pitcher (2143). | ||
| runshome | Amount of runs home team. Note that this attribute only gets added to the baseball stats correction info event (1832), after the corresponding XML configuration has been enabled. | Integer | |
| runsaway | Amount of runs awa y team. Note that this attribute only gets added to the baseball stats correction info event (1832), after the corresponding XML configuration has been enabled. | Integer | |
| hitshome | Amount of hits home team. Note that this attribute only gets added to the Ball hit (1310), Play over (1716) and baseball stats correction info event (1832 after the corresponding XML configuration has been enabled). | Integer | |
| hitsaway | Amount of hits away team. Note that this attribute only gets added to the Ball hit (1310), Play over (1716) and baseball stats correction info event (1832 after the corresponding XML configuration has been enabled). | Integer | |
| errorshome | Amount of errors home team. Note that this attribute only gets added to the Play over (1716) and baseball stats correction info event (1832), after the corresponding XML configuration has been enabled. | Integer | |
| errorsaway | Amount of errors away team. Note that this attribute only gets added to the Play over (1716) and baseball stats correction info event (1832), after the corresponding XML configuration has been enabled. | Integer | |
| firstbaseloaded | Whether the first base is loaded or not. Note that this attribute only gets added to the Play over (1716) and baseball stats correction info event (1832 after the corresponding XML configuration has been enabled). | Byte. Possible values: 1 = Base loaded 0 = Base not loaded | |
| secondbaseloaded | Whether the second base is loaded or not. Note that this attribute only gets added to the Play over (1716) and baseball stats correction info event (1832 after the corresponding XML configuration has been enabled). | Byte. Possible values: 1 = Base loaded 0 = Base not loaded | |
| thirdbaseloaded | Whether the third base is loaded or not. Note that this attribute only gets added to the Play over (1716) and baseball stats correction info event (1832 after the corresponding XML configuration has been enabled). | Byte. Possible values: 1 = Base loaded 0 = Base not loaded | |
| inningscore | This element gets included in the delta feed for the following events: Baseball stats correction event (1832) | ||
| home | Points for home team | ||
| away | Points for away team | ||
| inning | What inning the points were awarded in |
| Element | Attributes | Description | Possible values |
|---|---|---|---|
| event | runshome | Total runs for home team. | Integer |
| runsaway | Total runs for away team. | Integer | |
| hitshome | Total hits for home team. | Integer | |
| hitsaway | Total hits for away team. | Integer | |
| errorshome | Total errors for home team. | Integer | |
| errorsaway | Total errors for away team. | Integer | |
| firstbaseloaded | Whether the first base is loaded. | Byte. 1 = First base is loaded 0 = First base is not loaded | |
| secondbaseloaded | Whether the second base is loaded. | Byte. 1 = Second base is loaded 0 = Second base is not loaded | |
| thirdbaseloaded | Whether the third base is loaded. | Byte. 1 = Third base is loaded 0 = Third base is not loaded | |
| inningscore | Child element of the <event>- element containing the inning score. Multiple occurrences possible. | ||
| inning | Inning number | Integer | |
| home | Total runs for home team in this inning. | Integer | |
| away | Total runs for away team in this inning. | Integer |