# Baseball

## Match statuses for baseball <a href="#ldbaseball-matchstatusesforbaseball" id="ldbaseball-matchstatusesforbaseball"></a>

<table data-full-width="true"><thead><tr><th width="100.47830200195312">ID</th><th width="285.78125">Match status</th><th width="263.697021484375">Description</th><th width="299.7170104980469">Additional information</th></tr></thead><tbody><tr><td>0</td><td>NOT_STARTED</td><td>Not started yet</td><td>-</td></tr><tr><td>401</td><td>FIRST_INNING_TOP</td><td>1st inning top</td><td>-</td></tr><tr><td>421</td><td>BREAK_TOP1_BOTTOM1</td><td>Break top1-bottom1</td><td>-</td></tr><tr><td>402</td><td>FIRST_INNING_BOTTOM</td><td>1st inning bottom</td><td>-</td></tr><tr><td>422</td><td>BREAK_TOP2_BOTTOM1</td><td>Break top2-bottom1</td><td>-</td></tr><tr><td>403</td><td>SECOND_INNING_TOP</td><td>2nd inning top</td><td>-</td></tr><tr><td>423</td><td>BREAK_TOP2_BOTTOM2</td><td>Break top2-bottom2</td><td>-</td></tr><tr><td>404</td><td>SECOND_INNING_BOTTOM</td><td>2nd inning bottom</td><td>-</td></tr><tr><td>424</td><td>BREAK_TOP3_BOTTOM2</td><td>Break top3-bottom2</td><td>-</td></tr><tr><td>405</td><td>THIRD_INNING_TOP</td><td>3rd inning top</td><td>-</td></tr><tr><td>425</td><td>BREAK_TOP3_BOTTOM3</td><td>Break top3-bottom3</td><td>-</td></tr><tr><td>406</td><td>THIRD_INNING_BOTTOM</td><td>3rd inning bottom</td><td>-</td></tr><tr><td>426</td><td>BREAK_TOP4_BOTTOM3</td><td>Break top4-bottom3</td><td>-</td></tr><tr><td>407</td><td>FOURTH_INNING_TOP</td><td>4th inning top</td><td>-</td></tr><tr><td>427</td><td>BREAK_TOP4_BOTTOM4</td><td>Break top4-bottom4</td><td>-</td></tr><tr><td>408</td><td>FOURTH_INNING_BOTTOM</td><td>4th inning bottom</td><td>-</td></tr><tr><td>428</td><td>BREAK_TOP5_BOTTOM4</td><td>Break top5-bottom4</td><td>-</td></tr><tr><td>409</td><td>FIFTH_INNING_TOP</td><td>5th inning top</td><td>-</td></tr><tr><td>429</td><td>BREAK_TOP5_BOTTOM5</td><td>Break top5-bottom5</td><td>-</td></tr><tr><td>410</td><td>FIFTH_INNING_BOTTOM</td><td>5th inning bottom</td><td>-</td></tr><tr><td>430</td><td>BREAK_TOP6_BOTTOM5</td><td>Break top6-bottom5</td><td>-</td></tr><tr><td>411</td><td>SIXTH_INNING_TOP</td><td>6th inning top</td><td>-</td></tr><tr><td>431</td><td>BREAK_TOP6_BOTTOM6</td><td>Break top6-bottom6</td><td>-</td></tr><tr><td>412</td><td>SIXTH_INNING_BOTTOM</td><td>6th inning bottom</td><td>-</td></tr><tr><td>432</td><td>BREAK_TOP7_BOTTOM6</td><td>Break top7-bottom6</td><td>-</td></tr><tr><td>413</td><td>SEVENTH_INNING_TOP</td><td>7th inning top</td><td>-</td></tr><tr><td>433</td><td>BREAK_TOP7_BOTTOM7</td><td>Break top7-bottom7</td><td>-</td></tr><tr><td>414</td><td>SEVENTH_INNING_BOTTOM</td><td>7th inning bottom</td><td>-</td></tr><tr><td>548</td><td>BREAK_TOPEI_BOTTOM7</td><td>Break topEI-bottom7</td><td><br></td></tr><tr><td>434</td><td>BREAK_TOP8_BOTTOM7</td><td>Break top8-bottom7</td><td>-</td></tr><tr><td>415</td><td>EIGHTH_INNING_TOP</td><td>8th inning top</td><td>-</td></tr><tr><td>435</td><td>BREAK_TOP8_BOTTOM8</td><td>Break top8-bottom8</td><td>-</td></tr><tr><td>416</td><td>EIGHTH_INNING_BOTTOM</td><td>8th inning bottom</td><td>-</td></tr><tr><td>436</td><td>BREAK_TOP9_BOTTOM8</td><td>Break top9-bottom8</td><td>-</td></tr><tr><td>417</td><td>NINTH_INNING_TOP</td><td>9th inning top</td><td>-</td></tr><tr><td>437</td><td>BREAK_TOP9_BOTTOM9</td><td>Break top9-bottom9</td><td>-</td></tr><tr><td>418</td><td>NINTH_INNING_BOTTOM</td><td>9th inning bottom</td><td>-</td></tr><tr><td>438</td><td>BREAK_TOPEI_BOTTOM9</td><td>Break topEI-bottom9</td><td>-</td></tr><tr><td>419</td><td>EXTRA_INNING_TOP</td><td>Extra inning top</td><td>-</td></tr><tr><td>439</td><td>BREAK_TOPEI_BOTTOMEI</td><td>Break topEI-bottomEI</td><td>-</td></tr><tr><td>420</td><td>EXTRA_INNING_BOTTOM</td><td>Extra inning bottom</td><td>-</td></tr><tr><td>100</td><td>ENDED</td><td>The match has ended</td><td>-</td></tr><tr><td>80</td><td>INTERRUPTED</td><td>The match has been interrupted</td><td>-</td></tr><tr><td>90</td><td>ABANDONED</td><td>The match has been abandoned</td><td>This match status is only sent if the corresponding XML configuration is enabled.</td></tr></tbody></table>

## Events in baseball <a href="#ldbaseball-eventsinbaseball" id="ldbaseball-eventsinbaseball"></a>

{% hint style="info" %} <mark style="color:blue;">**Blue text**</mark> <mark style="color:blue;"></mark><mark style="color:blue;">= MLB Premium Data Points covered by device ID 5 (External Feed MLB) based on official MLB data feeds</mark>

<mark style="color:blue;">(</mark><mark style="color:blue;">**Δ**</mark><mark style="color:blue;">) = Deltaupdate will deliver the richer information.</mark>
{% endhint %}

<table data-full-width="true"><thead><tr><th width="58.79864501953125" valign="top">ID</th><th width="80.07025146484375" valign="top">Event</th><th width="157.03643798828125" valign="top">Description</th><th width="124.14501953125" valign="top">Coverage</th><th width="217.736083984375" valign="top">Extrainfo</th><th width="263.611083984375" valign="top">Special MLB Attributes</th><th width="85.369873046875" valign="top">Player1</th><th width="80.1173095703125" valign="top">Player2</th></tr></thead><tbody><tr><td valign="top">60</td><td valign="top">Substitutions</td><td valign="top">Happens whenever there is a substitution for either team. Entries are assigned to teams</td><td valign="top">External feed (DC MLB &#x26; Failover)</td><td valign="top">-</td><td valign="top"><ul><li><p><mark style="color:blue;">pitchingsubstitution: is the substitution for a pitcher</mark></p><ul><li><mark style="color:blue;">pitchingsubstitution=”1” if pitcher is substituted</mark></li></ul></li></ul></td><td valign="top">String: Outgoing player ID</td><td valign="top">String: Incoming player ID</td></tr><tr><td valign="top">1010</td><td valign="top">Betstart</td><td valign="top">Betstart indicates that betting markets can be activated. Betstart is not only a pre match event but is also used during the match.</td><td valign="top">External feed (DC MLB &#x26; Failover), iScout (BC, DC)</td><td valign="top">-</td><td valign="top">-</td><td valign="top">-</td><td valign="top">-</td></tr><tr><td valign="top"> 1011</td><td valign="top">Betstop</td><td valign="top">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.</td><td valign="top">External feed (DC MLB &#x26; Failover), iScout (BC, DC)</td><td valign="top">Id of Betstop Reason as specified in <a href="/pages/0kTWcyJNcKQjBeEz8hjF">LD - Betstart and Betstop</a></td><td valign="top">-</td><td valign="top">-</td><td valign="top">-</td></tr><tr><td valign="top">1013</td><td valign="top">Match status</td><td valign="top"><p>Sent when the status of the match changes.</p><p><br></p><p><br></p></td><td valign="top">External feed (DC MLB &#x26; Failover), iScout (BC, DC)</td><td valign="top">See above table for match statuses</td><td valign="top">-</td><td valign="top">-</td><td valign="top">-</td></tr><tr><td valign="top">1015</td><td valign="top">Free text / comment</td><td valign="top">Used for any kind of additional information during the match. Example: "Match interrupted due to flood light break down", etc..</td><td valign="top">External feed (DC MLB &#x26; Failover), iScout (BC, DC)</td><td valign="top">-</td><td valign="top">-</td><td valign="top">-</td><td valign="top">-</td></tr><tr><td valign="top">1024</td><td valign="top">Match about to start</td><td valign="top">This event is sent when both captains, together with the referee, are selecting which team will start the match.</td><td valign="top">External feed (DC MLB &#x26; Failover)</td><td valign="top">-</td><td valign="top">-</td><td valign="top">-</td><td valign="top">-</td></tr><tr><td valign="top">1031</td><td valign="top">Ball in play</td><td valign="top">Used when the ball is in play</td><td valign="top">External feed (DC MLB &#x26; Failover), iScout (BC, DC)</td><td valign="top">-</td><td valign="top"><ul><li><mark style="color:blue;">batballspeed: the speed at which the ball leaves the bat, mph</mark></li><li><mark style="color:blue;">batballangle: the angle of the ball, relative from the ground, as the ball leaves the bat</mark></li><li><p><mark style="color:blue;">batballdirection: the direction of the ball as it leaves the bat.</mark></p><ul><li><mark style="color:blue;">-45 = left field bounds,</mark></li><li><mark style="color:blue;">45 = right field bounds,</mark></li><li><mark style="color:blue;">0 = straight forward</mark></li></ul></li><li><p><mark style="color:blue;">posx &#x26; posy (<strong>Δ</strong>): position from where the ball is pitched in the strike zone.</mark></p><ul><li><mark style="color:blue;">Coordinate values are a % of total width/height of the rectangle. So if posx=50 and posy=50 then ball goes precisely through the zone centre</mark></li><li><mark style="color:blue;">0,0 = top-left corner of strike zone</mark></li><li><mark style="color:blue;">100,100 = bottom-right corner</mark></li><li><mark style="color:blue;">values &#x3C; 0 and > 100 = ball goes outside</mark></li></ul></li><li><p><mark style="color:blue;">pitchtype: how was the ball pitched. Possible values:</mark></p><ul><li><mark style="color:blue;">-1 = “Unknown”</mark></li><li><mark style="color:blue;">1 = “Fastball”</mark></li><li><mark style="color:blue;">2 = “Four-Seam FB”</mark></li><li><mark style="color:blue;">3 = “Two-Seam FB”</mark></li><li><mark style="color:blue;">4 = “Cutter”</mark></li><li><mark style="color:blue;">5 = “Striker”</mark></li><li><mark style="color:blue;">6 = “Splitter”</mark></li><li><mark style="color:blue;">7 = “Forkball”</mark></li><li><mark style="color:blue;">8 = “Changeup”</mark></li><li><mark style="color:blue;">9 = “Screwball”</mark></li><li><mark style="color:blue;">10 = “Slider”</mark></li><li><mark style="color:blue;">11 = “Curveball”</mark></li><li><mark style="color:blue;">12 = “Slow Curve”</mark></li><li><mark style="color:blue;">13 = “Knuckle Curve”</mark></li><li><mark style="color:blue;">14 = “Slurve”</mark></li><li><mark style="color:blue;">15 = “Slutter”</mark></li><li><mark style="color:blue;">16 = “Gyroball”</mark></li><li><mark style="color:blue;">17 = “Kluckleball”</mark></li><li><mark style="color:blue;">18 = “Eephus Pitch”</mark></li><li><mark style="color:blue;">19 = “Intentional Ball”</mark></li><li><mark style="color:blue;">20 = “Pitchout”</mark></li><li><mark style="color:blue;">21 = “Automatic Ball”</mark></li></ul></li><li><mark style="color:blue;">pitchspeed: how fast the ball was pitched in MPH numeric values</mark></li><li><mark style="color:blue;">atbatnumber: At bat number at the timestamp.</mark></li><li><mark style="color:blue;">atbatpitchnumber: Current number of the pitch within the at bat.</mark></li><li><p><mark style="color:blue;">batballx &#x26; batbally: The “x” and “y” coordinates of the projected distance value. Field location coordinate system:</mark></p><ul><li><mark style="color:blue;">Origin (0,0): is the bottom tip of home plate</mark></li><li><mark style="color:blue;">X-Axis: Parallel to the pitching rubber. Positive values are toward 1st base, and negative values toward 3rd base</mark></li><li><mark style="color:blue;">Y-Axis: Perpendicular to the pitching rubber, along a straight line from the back tip of home plate, through the pitcher's mound and second base. Positive values are toward the outfield, and negative values are toward the backstop</mark></li></ul></li><li><mark style="color:blue;">batballdistance: The distance from the tip of home plate to the distance where the ball was projected to land had it continued to ground level. (in feet)</mark></li></ul></td><td valign="top"><mark style="color:blue;">String: Batter ID</mark></td><td valign="top">-</td></tr><tr><td valign="top"><mark style="color:blue;">1035</mark></td><td valign="top"><mark style="color:blue;">Timeout</mark></td><td valign="top"><mark style="color:blue;">A team calls a timeout. Entries can be assigned to teams, but neutral timeouts are possible too.</mark></td><td valign="top"><mark style="color:blue;">External feed (DC MLB)</mark></td><td valign="top">-</td><td valign="top">-</td><td valign="top">-</td><td valign="top">-</td></tr><tr><td valign="top">1044</td><td valign="top">Deleted event alert</td><td valign="top"><p>Manual removal of an event.</p><p><br></p></td><td valign="top">External feed (DC MLB &#x26; Failover), iScout (BC, DC)</td><td valign="top">Id of event that was deleted.</td><td valign="top">-</td><td valign="top">-</td><td valign="top">-</td></tr><tr><td valign="top"><mark style="color:blue;">1047</mark></td><td valign="top"><mark style="color:blue;">Timeout over</mark></td><td valign="top"><mark style="color:blue;">The timeout is over</mark></td><td valign="top"><mark style="color:blue;">External feed (DC MLB)</mark></td><td valign="top">-</td><td valign="top">-</td><td valign="top">-</td><td valign="top">-</td></tr><tr><td valign="top">1102</td><td valign="top">Match coverage</td><td valign="top">Sent when the coverage status for the match changes</td><td valign="top">External feed (DC MLB &#x26; Failover), iScout (BC, DC)</td><td valign="top"><p>Possible values:</p><ul><li>0 = Covered</li><li>1 = Coverage abandoned</li><li>2 = Match will not be covered</li></ul></td><td valign="top">-</td><td valign="top">-</td><td valign="top">-</td></tr><tr><td valign="top"><mark style="color:blue;">1310</mark></td><td valign="top"><mark style="color:blue;">Ball hit</mark></td><td valign="top"><mark style="color:blue;">Batter successfully advances to (at least) 1st base</mark></td><td valign="top"><mark style="color:blue;">External feed (DC MLB)</mark></td><td valign="top">-</td><td valign="top"><ul><li><mark style="color:blue;">hits away: current total hits for away team</mark></li><li><mark style="color:blue;">hits home: current total hits for home team</mark></li></ul></td><td valign="top"><mark style="color:blue;">String: Batter ID</mark></td><td valign="top">-</td></tr><tr><td valign="top">1458</td><td valign="top">Video review</td><td valign="top"><strong>-</strong></td><td valign="top">External feed (DC Failover), iScout (BC, DC)</td><td valign="top">-</td><td valign="top">-</td><td valign="top">-</td><td valign="top">-</td></tr><tr><td valign="top">1459</td><td valign="top">Video review over</td><td valign="top"><p><strong>-</strong></p><p><br></p></td><td valign="top">External feed (DC Failover), iScout (BC, DC)</td><td valign="top">-</td><td valign="top">-</td><td valign="top">-</td><td valign="top">-</td></tr><tr><td valign="top">1550</td><td valign="top">Score adjustment</td><td valign="top">Manual period score adjustment in RTS</td><td valign="top">External Feed (BC)</td><td valign="top">Number of period being adjusted</td><td valign="top">-</td><td valign="top">-</td><td valign="top">-</td></tr><tr><td valign="top"><mark style="color:blue;">1714</mark></td><td valign="top"><mark style="color:blue;">Player match stats</mark></td><td valign="top"><mark style="color:blue;">Accumulated Player match statistics sent in real-time based on MLB data.</mark><br><mark style="color:blue;">Event will not be available in case of failover.</mark></td><td valign="top"><mark style="color:blue;">External feed (DC MLB)</mark></td><td valign="top"><p><mark style="color:blue;">Statistics format: Total stats will always be present.</mark> </p><ul><li><mark style="color:blue;">homepitchersstatstotal=PLAYERSTATS|...</mark></li><li><mark style="color:blue;">homebattersstatstotal=PLAYERSTATS|...</mark></li><li><mark style="color:blue;">awaypitchersstatstotal=PLAYERSTATS|...</mark></li><li><mark style="color:blue;">awaybattersstatstotal=PLAYERSTATS|...</mark></li><li><mark style="color:blue;">PLAYERSTATS -> PID=NNNNNN;…</mark></li></ul><p><mark style="color:blue;">List of available attributes:</mark></p><ul><li><mark style="color:blue;">PID - playerId (int) is a basic value (present on all attributes)</mark></li><li><p><mark style="color:blue;">Batters:</mark><br></p><ul><li><mark style="color:blue;">PA - Plate Appearances: Numerical value</mark></li><li><mark style="color:blue;">AB - At bat: Numerical value</mark></li><li><mark style="color:blue;">R - Runs: Numerical value</mark></li><li><mark style="color:blue;">HR - Home Runs: Numerical value</mark></li><li><mark style="color:blue;">H - Hits: Numerical value</mark></li><li><mark style="color:blue;">E - Errors: Numerical value</mark></li><li><mark style="color:blue;">2B - Double: Numerical value</mark></li><li><mark style="color:blue;">3B - Triple: Numerical value</mark></li><li><mark style="color:blue;">RBI - Runs batted in: Numerical value</mark></li><li><mark style="color:blue;">BB - Walks: Numerical value</mark></li><li><mark style="color:blue;">SO - Strikeouts: Numerical value</mark></li><li><mark style="color:blue;">LOB - Left on base: Numerical value</mark></li><li><mark style="color:blue;">SB - Stolen Bases: Numerical value</mark></li><li><mark style="color:blue;">GO - Ground Outs: Numerical value</mark></li><li><mark style="color:blue;">FO - Fly Outs: Numerical value</mark></li></ul></li><li><p><mark style="color:blue;">Pitchers:</mark><br></p><ul><li><mark style="color:blue;">P - Pitch count: Numerical value</mark></li><li><mark style="color:blue;">IP - Innings pitched: Decimal value</mark></li><li><mark style="color:blue;">H - Hits: Numerical value</mark></li><li><mark style="color:blue;">R - Runs: Numerical value</mark></li><li><mark style="color:blue;">ER - Earned runs: Numerical value</mark></li><li><mark style="color:blue;">HR - Home runs: Numerical value</mark></li><li><mark style="color:blue;">BB - Walks: Numerical value</mark></li><li><mark style="color:blue;">SO - Strikeouts: Numerical value</mark></li><li><mark style="color:blue;">2B - Double: Numerical value</mark></li><li><mark style="color:blue;">3B - Triple: Numerical value</mark></li><li><mark style="color:blue;">GO - Ground Outs: Numerical value</mark></li><li><mark style="color:blue;">FO - Fly outs: Numerical value</mark></li><li><mark style="color:blue;">AO - Air Outs: Numerical value</mark></li><li><mark style="color:blue;">RBI - Runs Batted In: Numerical value</mark></li></ul></li></ul></td><td valign="top">-</td><td valign="top">-</td><td valign="top">-</td></tr><tr><td valign="top">1715</td><td valign="top">Play start</td><td valign="top">Pitcher is about to throw a pitch</td><td valign="top">External feed (DC MLB &#x26; Failover), iScout (BC, DC)</td><td valign="top">-</td><td valign="top"><ul><li><mark style="color:blue;">atbatnumber: At bat number at the timestamp.</mark></li><li><mark style="color:blue;">atbatpitchnumber: Current number of the pitch within the at bat.</mark></li></ul></td><td valign="top"><mark style="color:blue;">String: Batter ID</mark></td><td valign="top">-</td></tr><tr><td valign="top">1716</td><td valign="top">Play over</td><td valign="top">Sent when the play is finished.</td><td valign="top">External feed (DC MLB &#x26; Failover), iScout (BC, DC)</td><td valign="top">-</td><td valign="top"><ul><li><mark style="color:blue;">hits away: current total hits for away team</mark></li><li><mark style="color:blue;">hits home: current total hits for home team</mark></li><li><mark style="color:blue;">atbatnumber: At bat number at the timestamp.</mark></li><li><mark style="color:blue;">atbatpitchnumber: Current number of the pitch within the at bat.</mark></li></ul></td><td valign="top"><mark style="color:blue;">String: Batter ID</mark></td><td valign="top">-</td></tr><tr><td valign="top">1717</td><td valign="top">Runners in motion</td><td valign="top">Runners are attempting to steal a base.</td><td valign="top">External feed (DC MLB &#x26; Failover), iScout (BC, DC)</td><td valign="top">-</td><td valign="top">-</td><td valign="top">-</td><td valign="top">-</td></tr><tr><td valign="top">1718</td><td valign="top">Checked Runner</td><td valign="top"><p>Pitcher tried to pick runner off, runner was safe</p><p><br></p><p><br></p></td><td valign="top">External feed (DC MLB &#x26; Failover), iScout (BC, DC)</td><td valign="top">-</td><td valign="top">-</td><td valign="top"><p>String: Runner ID (<mark style="color:blue;"><strong>Δ</strong></mark>)</p><p>Example text: <em>Runner MOOKIE BETTS on 1st base is checked</em></p></td><td valign="top">-</td></tr><tr><td valign="top">1719</td><td valign="top">Runner advances to base x</td><td valign="top">Runner advances to base x</td><td valign="top">External feed (DC Failover), iScout (BC, DC)</td><td valign="top"><p>Advancement types. Possible values:</p><ul><li>1 = Regular</li><li>2 = Indifference</li><li>3 = Steal</li><li>4 = Other</li></ul></td><td valign="top">-</td><td valign="top"><p>String: Runner ID</p><p>Example text: <em>Runner MOOKIE BETTS advances to 1st base (Single)</em></p></td><td valign="top">-</td></tr><tr><td valign="top">1720</td><td valign="top">Run scored</td><td valign="top">Main score event.</td><td valign="top">External feed (DC MLB &#x26; Failover), iScout (BC, DC)</td><td valign="top"><p>Scored run type (<mark style="color:blue;"><strong>Δ</strong></mark>). Possible values:</p><ul><li>-1 = “Unknown”</li><li>1 = “Earned Run”</li><li>2 = “Unearned Run”</li><li>3 = “Steal”</li><li>4 = “Home Run”</li><li>5 = “Other”</li><li><mark style="color:blue;">6 = “Single”</mark></li><li><mark style="color:blue;">7 = “Double”</mark></li><li><mark style="color:blue;">8 = “Triple”</mark></li><li><mark style="color:blue;">9 = “Walk”</mark></li><li><mark style="color:blue;">10 = “Balk”</mark></li><li><mark style="color:blue;">11 = “Error”</mark></li><li><mark style="color:blue;">12 = “Field Error”</mark></li><li><mark style="color:blue;">13 = “Field Out”</mark></li><li><mark style="color:blue;">14 = “Fielder’s Choice”</mark></li><li><mark style="color:blue;">15 = “Sacrifice Fly”</mark></li><li><mark style="color:blue;">16 = “Sacrifice Bunt”</mark></li><li><mark style="color:blue;">17 = “Wild Pitch”</mark></li><li><mark style="color:blue;">18 = “Force Out”</mark></li><li><mark style="color:blue;">19 = “Grounded Into DP”</mark></li><li><mark style="color:blue;">20 = “Hit By Pitch”</mark></li><li><mark style="color:blue;">21 = “Passed Ball”</mark></li><li><mark style="color:blue;">22 = “Stolen Base Home”</mark></li><li><mark style="color:blue;">23 = “Runner Out”</mark></li></ul></td><td valign="top"><ul><li><mark style="color:blue;">atbatnumber: At bat number at the timestamp.</mark></li><li><mark style="color:blue;">atbatpitchnumber: Current number of the pitch within the at bat.</mark></li></ul></td><td valign="top"><p>String: Runner ID (<mark style="color:blue;"><strong>Δ</strong></mark>)</p><p>Example text: <em>MOOKIE BETTS scored run (Earned Run)</em></p></td><td valign="top"><mark style="color:blue;">String: Batter ID</mark></td></tr><tr><td valign="top">1721</td><td valign="top">Runner out</td><td valign="top"><p>Sent when the runner is out. This event includes both base and non-base cases.</p><p><br></p></td><td valign="top">External feed (DC Failover), iScout (BC, DC)</td><td valign="top"><p>Runner out types. Possible values:</p><ul><li>1 = Interference</li><li>2 = Out of base path</li><li>3 = Hit by batted ball</li><li>4 = Pick off</li><li>5 = Force out</li><li>6 = Double off</li><li>7 = Out on appeal</li><li>8 = Tag out</li><li>9 = Caught stealing</li><li>10 = Other</li></ul></td><td valign="top">-</td><td valign="top"><p>String: Runner ID</p><p>Example text: <em>Runner MATT KEMP at 1st base is out (Force Out)</em></p></td><td valign="top">-</td></tr><tr><td valign="top">1722</td><td valign="top">Strike</td><td valign="top"><p>Strike</p><p><br></p></td><td valign="top">External feed (DC MLB &#x26; Failover), iScout (BC, DC)</td><td valign="top"><p>Strike type (<mark style="color:blue;"><strong>Δ</strong></mark>). Possible values:</p><ul><li>-1 = Unknown</li><li>1 = Looking</li><li>2 = Swinging</li><li>3 = Foul tip</li><li>4 = Foul ball</li><li>5 = called</li><li>6 = foul bunt</li><li>7 = bunt foul tip</li><li>8 = missed bunt</li><li><mark style="color:blue;">9 = swinging pitchout</mark></li><li><mark style="color:blue;">10 = foul pitchout</mark></li><li><mark style="color:blue;">11 = swinging strike blocked</mark></li><li><mark style="color:blue;">12 = automatic</mark></li><li><mark style="color:blue;">13 = strikeout</mark></li><li><mark style="color:blue;">14 = strikeout double play</mark></li><li><mark style="color:blue;">15 = strikeout triple play</mark></li><li><mark style="color:blue;">16 - Automatic (Pitch Timer Violation)</mark></li><li><mark style="color:blue;">17 - Automatic (Defensive Shift Violation)</mark></li></ul></td><td valign="top"><ul><li><p><mark style="color:blue;">posx &#x26; posy (<strong>Δ</strong>): position from where the ball is pitched in the strike zone.</mark></p><ul><li><mark style="color:blue;">Coordinate values are a % of total width/height of the rectangle. So if posx=50 and posy=50 then ball goes precisely through the zone centre</mark></li><li><mark style="color:blue;">0,0 = top-left corner of strike zone</mark></li><li><mark style="color:blue;">100,100 = bottom-right corner</mark></li><li><mark style="color:blue;">values &#x3C; 0 and > 100 = ball goes outside</mark></li></ul></li><li><p><mark style="color:blue;">pitchtype: how was the ball pitched. Possible values:</mark></p><ul><li><mark style="color:blue;">-1 = “Unknown”</mark></li><li><mark style="color:blue;">1 = “Fastball”</mark></li><li><mark style="color:blue;">2 = “Four-Seam FB”</mark></li><li><mark style="color:blue;">3 = “Two-Seam FB”</mark></li><li><mark style="color:blue;">4 = “Cutter”</mark></li><li><mark style="color:blue;">5 = “Striker”</mark></li><li><mark style="color:blue;">6 = “Splitter”</mark></li><li><mark style="color:blue;">7 = “Forkball”</mark></li><li><mark style="color:blue;">8 = “Changeup”</mark></li><li><mark style="color:blue;">9 = “Screwball”</mark></li><li><mark style="color:blue;">10 = “Slider”</mark></li><li><mark style="color:blue;">11 = “Curveball”</mark></li><li><mark style="color:blue;">12 = “Slow Curve”</mark></li><li><mark style="color:blue;">13 = “Knuckle Curve”</mark></li><li><mark style="color:blue;">14 = “Slurve”</mark></li><li><mark style="color:blue;">15 = “Slutter”</mark></li><li><mark style="color:blue;">16 = “Gyroball”</mark></li><li><mark style="color:blue;">17 = “Kluckleball”</mark></li><li><mark style="color:blue;">18 = “Eephus Pitch”</mark></li><li><mark style="color:blue;">19 = “Intentional Ball”</mark></li><li><mark style="color:blue;">20 = “Pitchout”</mark></li><li><mark style="color:blue;">21 = “Automatic Ball”</mark></li></ul></li><li><mark style="color:blue;">pitchspeed: how fast the ball was pitched in MPH numeric values</mark><br></li><li><mark style="color:blue;">atbatnumber: At bat number at the timestamp.</mark></li><li><mark style="color:blue;">atbatpitchnumber: Current number of the pitch within the at bat.</mark></li></ul></td><td valign="top"><p>String: Batter ID</p><p>Example text: <em>Strike looking for MOOKIE BETTS</em></p></td><td valign="top">-</td></tr><tr><td valign="top">1723</td><td valign="top">Ball</td><td valign="top"><p>Ball</p><p><br></p></td><td valign="top">External feed (DC MLB &#x26; Failover), iScout (BC, DC)</td><td valign="top"><p>Ball type (<mark style="color:blue;"><strong>Δ</strong></mark>). Possible values:</p><ul><li>-1 = Unknown</li><li>1 = Ball</li><li>2 = Dirt ball</li><li>3 = Intentional ball</li><li>4 = Pitch out</li><li>5 = Enforced ball</li><li><mark style="color:blue;">6 = blocked ball</mark></li><li><mark style="color:blue;">7 = passed ball</mark></li><li><mark style="color:blue;">8 - Automatic (Pitch Timer Violation)</mark></li><li><mark style="color:blue;">9 - Automatic (Defensive Shift Violation)</mark></li></ul></td><td valign="top"><ul><li><p><mark style="color:blue;">posx &#x26; posy (<strong>Δ</strong>): position from where the ball is pitched in the strike zone.</mark></p><ul><li><mark style="color:blue;">Coordinate values are a % of total width/height of the rectangle. So if posx=50 and posy=50 then ball goes precisely through the zone centre</mark></li><li><mark style="color:blue;">0,0 = top-left corner of strike zone</mark></li><li><mark style="color:blue;">100,100 = bottom-right corner</mark></li><li><mark style="color:blue;">values &#x3C; 0 and > 100 = ball goes outside</mark></li></ul></li><li><p><mark style="color:blue;">pitchtype: how was the ball pitched. Possible values:</mark></p><ul><li><mark style="color:blue;">-1 = “Unknown”</mark></li><li><mark style="color:blue;">1 = “Fastball”</mark></li><li><mark style="color:blue;">2 = “Four-Seam FB”</mark></li><li><mark style="color:blue;">3 = “Two-Seam FB”</mark></li><li><mark style="color:blue;">4 = “Cutter”</mark></li><li><mark style="color:blue;">5 = “Striker”</mark></li><li><mark style="color:blue;">6 = “Splitter”</mark></li><li><mark style="color:blue;">7 = “Forkball”</mark></li><li><mark style="color:blue;">8 = “Changeup”</mark></li><li><mark style="color:blue;">9 = “Screwball”</mark></li><li><mark style="color:blue;">10 = “Slider”</mark></li><li><mark style="color:blue;">11 = “Curveball”</mark></li><li><mark style="color:blue;">12 = “Slow Curve”</mark></li><li><mark style="color:blue;">13 = “Knuckle Curve”</mark></li><li><mark style="color:blue;">14 = “Slurve”</mark></li><li><mark style="color:blue;">15 = “Slutter”</mark></li><li><mark style="color:blue;">16 = “Gyroball”</mark></li><li><mark style="color:blue;">17 = “Kluckleball”</mark></li><li><mark style="color:blue;">18 = “Eephus Pitch”</mark></li><li><mark style="color:blue;">19 = “Intentional Ball”</mark></li><li><mark style="color:blue;">20 = “Pitchout”</mark></li><li><mark style="color:blue;">21 = “Automatic Ball”</mark></li></ul></li><li><mark style="color:blue;">pitchspeed: how fast the ball was pitched in MPH numeric values</mark></li><li><mark style="color:blue;">atbatnumber: At bat number at the timestamp.</mark></li><li><mark style="color:blue;">atbatpitchnumber: Current number of the pitch within the at bat.</mark></li></ul></td><td valign="top"><p>String: Pitcher ID</p><p>Example text: <em>CLAYTON KERSHAW pitches the ball outside the zone</em></p></td><td valign="top"><mark style="color:blue;">String: Batter ID</mark></td></tr><tr><td valign="top">1724</td><td valign="top">Foul ball</td><td valign="top"><p>Foul ball</p><p><br></p></td><td valign="top">External feed (DC MLB &#x26; Failover), iScout (BC, DC)</td><td valign="top">-</td><td valign="top"><ul><li><p><mark style="color:blue;">posx &#x26; posy (<strong>Δ</strong>): position from where the ball is pitched in the strike zone.</mark></p><ul><li><mark style="color:blue;">Coordinate values are a % of total width/height of the rectangle. So if posx=50 and posy=50 then ball goes precisely through the zone centre</mark></li><li><mark style="color:blue;">0,0 = top-left corner of strike zone</mark></li><li><mark style="color:blue;">100,100 = bottom-right corner</mark></li><li><mark style="color:blue;">values &#x3C; 0 and > 100 = ball goes outside</mark></li></ul></li><li><p><mark style="color:blue;">pitchtype: how was the ball pitched. Possible values:</mark></p><ul><li><mark style="color:blue;">-1 = “Unknown”</mark></li><li><mark style="color:blue;">1 = “Fastball”</mark></li><li><mark style="color:blue;">2 = “Four-Seam FB”</mark></li><li><mark style="color:blue;">3 = “Two-Seam FB”</mark></li><li><mark style="color:blue;">4 = “Cutter”</mark></li><li><mark style="color:blue;">5 = “Striker”</mark></li><li><mark style="color:blue;">6 = “Splitter”</mark></li><li><mark style="color:blue;">7 = “Forkball”</mark></li><li><mark style="color:blue;">8 = “Changeup”</mark></li><li><mark style="color:blue;">9 = “Screwball”</mark></li><li><mark style="color:blue;">10 = “Slider”</mark></li><li><mark style="color:blue;">11 = “Curveball”</mark></li><li><mark style="color:blue;">12 = “Slow Curve”</mark></li><li><mark style="color:blue;">13 = “Knuckle Curve”</mark></li><li><mark style="color:blue;">14 = “Slurve”</mark></li><li><mark style="color:blue;">15 = “Slutter”</mark></li><li><mark style="color:blue;">16 = “Gyroball”</mark></li><li><mark style="color:blue;">17 = “Kluckleball”</mark></li><li><mark style="color:blue;">18 = “Eephus Pitch”</mark></li><li><mark style="color:blue;">19 = “Intentional Ball”</mark></li><li><mark style="color:blue;">20 = “Pitchout”</mark></li><li><mark style="color:blue;">21 = “Automatic Ball”</mark></li></ul></li><li><mark style="color:blue;">pitchspeed: how fast the ball was pitched in MPH numeric values</mark></li><li><mark style="color:blue;">atbatnumber: At bat number at the timestamp.</mark></li><li><mark style="color:blue;">atbatpitchnumber: Current number of the pitch within the at bat.</mark></li></ul></td><td valign="top"><p>String: Batter ID</p><p>Example text: <em>Strike foul ball for MOOKIE BETTS</em></p></td><td valign="top">-</td></tr><tr><td valign="top">1725</td><td valign="top">Who throws the first pitch</td><td valign="top">Information about what team throws the first pitch.</td><td valign="top">External feed (DC MLB &#x26; Failover), iScout (BC, DC)</td><td valign="top">-</td><td valign="top">-</td><td valign="top"><p>String: Pitcher ID</p><p>Example text: <em>CLAYTON KERSHAW to throw the first pitch</em></p></td><td valign="top">-</td></tr><tr><td valign="top">1726</td><td valign="top">Batter out</td><td valign="top">Sent when the batter is out. This event includes both base and non-base cases.</td><td valign="top">External feed (DC Failover), iScout (BC, DC)</td><td valign="top"><p>Batter out types. Possible values:</p><ul><li>1 = Fly out</li><li>2 = Interference</li><li>3 = Line out</li><li>4 = Out of batters box</li><li>5 = Pop out</li><li>6 = Sacrifice fly</li><li>7 = Strike out</li><li>8 = Ground out</li><li>9 = Sacrifice bunt</li><li>10 = Single out</li><li>11 = Double out</li><li>12 = Triple out</li><li>13 = Fielder choice out</li><li>14 = On error out</li><li>15 = Out on appeal</li></ul></td><td valign="top">-</td><td valign="top"><p>String: Batter ID</p><p>Example text: <em>Batter MOOKIE BETTS is out (Fly Out)</em></p></td><td valign="top">-</td></tr><tr><td valign="top">1727</td><td valign="top">Batter advances to base x</td><td valign="top">Batter advances to base x.</td><td valign="top">External feed (DC Failover), iScout (BC, DC)</td><td valign="top"><p>Batter advancement types. Possible values:</p><ul><li>1 = Catcher interference</li><li>2 = Hit by pitch</li><li>3 = On error</li><li>4 = Single</li><li>5 = Double</li><li>6 = Triple</li><li>7 = Sacrifice bunt</li><li>8 = Sacrifice fly</li><li>9 = Walk</li><li>10 = Fielders choice</li><li>11 = Other</li><li>12 = Intentional walk</li></ul></td><td valign="top">-</td><td valign="top"><p>String: Batter ID</p><p>Example text: <em>Batter MOOKIE BETTS advances to 1st base (Single)</em></p></td><td valign="top">-</td></tr><tr><td valign="top">1728</td><td valign="top">Balk</td><td valign="top">After engaging the rubber pitcher commits a number of illegal motions or actions.</td><td valign="top">External feed (DC Failover), iScout (BC, DC)</td><td valign="top">-</td><td valign="top">-</td><td valign="top">-</td><td valign="top">-</td></tr><tr><td valign="top"><mark style="color:blue;">1743</mark></td><td valign="top"><mark style="color:blue;">Team match stats</mark></td><td valign="top"><mark style="color:blue;">Accumulated Team match statistics sent in real-time based on MLB data.</mark><br><mark style="color:blue;">Event will not be available in case of failover.</mark> </td><td valign="top"><mark style="color:blue;">External Feed (DC MLB)</mark></td><td valign="top"><p><mark style="color:blue;">Statistics format: Total stats will always be present. Accumulated  period stats will only be present for the affected period stats.</mark></p><ul><li><mark style="color:blue;">hometeamstatstotal=TEAMSTATS</mark></li><li><mark style="color:blue;">awayteamstatstotal=TEAMSTATS</mark></li><li><mark style="color:blue;">hometeamstatsi1=TEAMSTATS</mark></li><li><mark style="color:blue;">awayteamstatsi1=TEAMSTATS</mark></li><li><mark style="color:blue;">hometeamstatsi9=TEAMSTATS</mark></li><li><mark style="color:blue;">awayteamstatsi9=TEAMSTATS</mark></li><li><mark style="color:blue;">TEAMSTATS -> PA=NNNNNN;...</mark></li></ul><p><mark style="color:blue;">List of available attributes:</mark></p><ul><li><mark style="color:blue;">PA - Plate Appearances: Numerical value</mark></li><li><mark style="color:blue;">AB – At bats: Numerical value</mark></li><li><mark style="color:blue;">R - Runs: Numerical value</mark></li><li><mark style="color:blue;">HR - Home runs: Numerical value</mark></li><li><mark style="color:blue;">H - Hits: Numerical value</mark></li><li><mark style="color:blue;">2B - Double: Numerical value</mark></li><li><mark style="color:blue;">3B - Triple: Numerical value</mark></li><li><mark style="color:blue;">GO - Ground Outs: Numerical value</mark></li><li><mark style="color:blue;">FO - Fly Outs: Numerical value</mark></li><li><mark style="color:blue;">AO - Air Outs: Numerical value</mark></li><li><mark style="color:blue;">TB - Total bases: Numerical value</mark></li><li><mark style="color:blue;">SB - Stolen base: Numerical value</mark></li><li><mark style="color:blue;">LOB - Left on base: Numerical value</mark></li><li><mark style="color:blue;">RBI - Runs Batted In: Numerical value</mark></li><li><mark style="color:blue;">OPB - Team on-base %: Decimal value</mark></li><li><mark style="color:blue;">SLG - Team Slugging %: Decimal value</mark></li><li><mark style="color:blue;">OPS - On-base Plus Slugging: Decimal value</mark></li><li><mark style="color:blue;">BBB - Walks by batter: Numerical value</mark></li><li><mark style="color:blue;">PBB - Walks allowed by pitcher: Numerical value</mark></li><li><mark style="color:blue;">BSO - Strikeouts by batter: Numerical value</mark></li><li><mark style="color:blue;">PSO - Strikeouts by pitcher: Numerical value</mark></li><li><mark style="color:blue;">AVG - Team batting average: Decimal value</mark></li><li><mark style="color:blue;">P - Pitch count: Numerical value</mark></li><li><mark style="color:blue;">WHIP - Walks And Hits Per Inning Pitched: Decimal</mark></li><li><mark style="color:blue;">value</mark></li><li><mark style="color:blue;">ER - Earned Runs: Numerical value</mark></li><li><mark style="color:blue;">ERA - Earned run average: Decimal value</mark></li></ul></td><td valign="top">-</td><td valign="top">-</td><td valign="top">-</td></tr><tr><td valign="top">1832</td><td valign="top">Baseball stats correction</td><td valign="top">Baseball Stats Correction</td><td valign="top">External feed (DC MLB &#x26; Failover), iScout (BC, DC)</td><td valign="top"><p>Whether the score was changed. Possible values:</p><ul><li>1 = The total score or line score has changed as a result of this correction</li><li>0 = The total score or line score has not changed.</li></ul></td><td valign="top"><ul><li><mark style="color:blue;">atbatnumber: At bat number at the timestamp.</mark></li><li><mark style="color:blue;">firstbaseplayer: playerID if first base is loaded</mark></li><li><mark style="color:blue;">secondbaseplayer: playerID if second base is loaded</mark></li><li><mark style="color:blue;">thirdbaseplayer: playerID if third base is loaded</mark></li><li><mark style="color:blue;">homerunshome: number of home runs for home team</mark></li><li><mark style="color:blue;">homerunsaway: number of home runs for away team</mark></li><li><mark style="color:blue;">nextbatter: playerID, player who is supposed to bat next</mark></li></ul></td><td valign="top">-</td><td valign="top">-</td></tr><tr><td valign="top"><mark style="color:blue;">2112</mark></td><td valign="top"><mark style="color:blue;">Baseball error</mark></td><td valign="top"><mark style="color:blue;">Describes a baseball error made by a player while interacting with either the ball or players on the field.</mark> </td><td valign="top"><mark style="color:blue;">External feed (DC MLB)</mark></td><td valign="top"><p><mark style="color:blue;">Type of error made (<strong>Δ</strong>). Possible values<strong>:</strong></mark></p><ul><li><mark style="color:blue;">1 = fielding</mark></li><li><mark style="color:blue;">2 = throwing</mark></li><li><mark style="color:blue;">3 = interference</mark></li></ul></td><td valign="top"><ul><li><mark style="color:blue;">atbatnumber: At bat number at the timestamp.</mark></li><li><mark style="color:blue;">atbatpitchnumber: Current number of the pitch within the at bat.</mark></li></ul></td><td valign="top"><mark style="color:blue;">Player ID who made the error (<strong>Δ</strong>)</mark></td><td valign="top">-</td></tr><tr><td valign="top">2143</td><td valign="top">Current pitcher baseball</td><td valign="top">Sent when match starts and whenever pitcher changes</td><td valign="top">External feed (DC MLB &#x26; Failover), iScout( DC)</td><td valign="top"><br></td><td valign="top"><ul><li><mark style="color:blue;">atbatnumber: At bat number at the timestamp.</mark></li><li><mark style="color:blue;">atbatpitchnumber: Current number of the pitch within the at bat.</mark></li><li><p><mark style="color:blue;">positionplayerpitching:</mark></p><ul><li><mark style="color:blue;">positionplayerpitching=”true” if current pitcher has a different position than "pitcher"</mark></li><li><mark style="color:blue;">positionplayerpitching=”false” if current pitcher has a "pitcher" position</mark></li></ul></li></ul></td><td valign="top">String: Pitcher ID</td><td valign="top">-</td></tr><tr><td valign="top">2144</td><td valign="top">Current batter baseball</td><td valign="top">Sent when match starts and whenever batter changes</td><td valign="top">External feed (DC MLB &#x26; Failover), iScout (DC)</td><td valign="top"><br></td><td valign="top"><ul><li><mark style="color:blue;">atbatnumber: At bat number at the timestamp.</mark></li><li><mark style="color:blue;">atbatpitchnumber: Current number of the pitch within the at bat.</mark></li></ul></td><td valign="top">String: Batter ID</td><td valign="top">-</td></tr><tr><td valign="top"><mark style="color:blue;">2149</mark></td><td valign="top"><mark style="color:blue;">Player out</mark></td><td valign="top"><mark style="color:blue;">Signifies that a player is out. Will be updated with GUMBO data to tell if the player was a batter or runner.</mark></td><td valign="top"><mark style="color:blue;">External feed (DC MLB)</mark></td><td valign="top"><p><mark style="color:blue;">Player out type (<strong>Δ</strong>). Possible values:</mark></p><ul><li><mark style="color:blue;">-1 = “Unknown"</mark></li><li><mark style="color:blue;">1 = "Fly Out"</mark></li><li><mark style="color:blue;">2 = "Batter Interference"</mark></li><li><mark style="color:blue;">3 = "Fan Interference"</mark></li><li><mark style="color:blue;">4 = "Runner Interference"</mark></li><li><mark style="color:blue;">5 = "Double Play"</mark></li><li><mark style="color:blue;">6 = "Triple Play"</mark></li><li><mark style="color:blue;">7 = "Fielder's Choice Out"</mark></li><li><mark style="color:blue;">8 = "Out on Appeal"</mark></li><li><mark style="color:blue;">9 = "Out on Appeal - Left Early"</mark></li><li><mark style="color:blue;">10 = "Out of Base Path"</mark></li><li><mark style="color:blue;">11 = "Tag out"</mark></li><li><mark style="color:blue;">12 = "Force Out"</mark></li><li><mark style="color:blue;">13 = "Field Out"</mark></li><li><mark style="color:blue;">14 = "Caught Stealing 2B"</mark></li><li><mark style="color:blue;">15 = "Caught Stealing 3B"</mark></li><li><mark style="color:blue;">16 = "Caught Stealing Home"</mark></li><li><mark style="color:blue;">17 = "Grounded Into DP"</mark></li><li><mark style="color:blue;">18 = "Grounded Into TP"</mark></li><li><mark style="color:blue;">19 = "Pickoff 1B"</mark></li><li><mark style="color:blue;">20 = "Pickoff 2B"</mark></li><li><mark style="color:blue;">21 = "Pickoff 3B"</mark></li><li><mark style="color:blue;">22 = "Pickoff Caught Stealing 2B"</mark></li><li><mark style="color:blue;">23 = "Pickoff Caught Stealing 3B"</mark></li><li><mark style="color:blue;">24 = "Pickoff Caught Stealing Home"</mark></li><li><mark style="color:blue;">25 = "Other Out"</mark></li><li><mark style="color:blue;">26 = "Sacrifice Bunt"</mark></li><li><mark style="color:blue;">27 = "Sacrifice Fly"</mark></li><li><mark style="color:blue;">28 = "Strikeout Double Play"</mark></li><li><mark style="color:blue;">29 = "Strikeout"</mark></li><li><mark style="color:blue;">38 = "Rundown"</mark></li><li><mark style="color:blue;">40 = "Hit by Batted Ball"</mark></li><li><mark style="color:blue;">43 = "Doubled Off"</mark></li><li><mark style="color:blue;">44 = "Runner Fielder's Choice"</mark></li><li><mark style="color:blue;">45 = "Advancing"</mark></li><li><mark style="color:blue;"><strong>46 = "Stretching" - Check Config (ID:246)</strong></mark></li><li><mark style="color:blue;">47 = "Overrunning"</mark></li><li><mark style="color:blue;">48 = "Returning"</mark></li><li><mark style="color:blue;">49 = “Ground Out”</mark></li><li><mark style="color:blue;">50 = “Pop Out”</mark></li><li><mark style="color:blue;">51 = “Line Out”</mark></li></ul></td><td valign="top"><ul><li><mark style="color:blue;">atbatnumber: At bat number at the timestamp.</mark></li><li><mark style="color:blue;">atbatpitchnumber: Current number of the pitch within the at bat.</mark></li><li><p><mark style="color:blue;">fieldingplayers: List of field positions &#x26; player ID’s currently in defense. Format: "Position1:Playerx;position2:playery;...).</mark><br><mark style="color:blue;">Possible MLB field position values:</mark></p><ul><li><mark style="color:blue;">-1 = Unspecified</mark></li><li><mark style="color:blue;">1 = Pitcher</mark></li><li><mark style="color:blue;">2 = Catcher</mark></li><li><mark style="color:blue;">3 = First Base</mark></li><li><mark style="color:blue;">4 = Second Base</mark></li><li><mark style="color:blue;">5 = Third Base</mark></li><li><mark style="color:blue;">6 = Shortstop</mark></li><li><mark style="color:blue;">7 = Left Field</mark></li><li><mark style="color:blue;">8 = Center Field</mark></li><li><mark style="color:blue;">9 = Right Field</mark></li></ul></li><li><p><mark style="color:blue;">Extrainfobaseball (<strong>Δ</strong>). Possible values:</mark></p><ul><li><mark style="color:blue;">-1 = “unknown"</mark></li><li><mark style="color:blue;">0 = "runner"</mark></li><li><mark style="color:blue;">1 = "batter"</mark></li></ul></li></ul></td><td valign="top"><mark style="color:blue;">String: Batter ID or Runner ID (<strong>Δ</strong>)</mark></td><td valign="top">-</td></tr><tr><td valign="top"><mark style="color:blue;">2150</mark></td><td valign="top"><mark style="color:blue;">Player on base x</mark></td><td valign="top"><mark style="color:blue;">Signifies that a player has reached a base. Will be updated with GUMBO data to tell who the player is.</mark></td><td valign="top"><mark style="color:blue;">External feed (DC MLB)</mark></td><td valign="top"><p><mark style="color:blue;">Type of advancement (<strong>Δ</strong>). Possible values:</mark></p><ul><li><mark style="color:blue;">-1 = “Unknown”</mark></li><li><mark style="color:blue;">1 = “Single”</mark></li><li><mark style="color:blue;">2 = “Double”</mark></li><li><mark style="color:blue;">3 = “Triple”</mark></li><li><mark style="color:blue;">4 = “Walk”</mark></li><li><mark style="color:blue;">5 = “Balk”</mark></li><li><mark style="color:blue;">6 = “Intent Walk”</mark></li><li><mark style="color:blue;">7 = “Hit By Pitch”</mark></li><li><mark style="color:blue;">8 = “Stolen Base 2B”</mark></li><li><mark style="color:blue;">9 = “Stolen Base 3B”</mark></li><li><mark style="color:blue;">10 = “Grounded Into Double Play”</mark></li><li><mark style="color:blue;">11 = “Grounded Into Triple Play”</mark></li><li><mark style="color:blue;">12 = “Runner Placed”</mark></li><li><mark style="color:blue;">13 = “Passed Ball”</mark></li><li><mark style="color:blue;">14 = “Wild Pitch”</mark></li><li><mark style="color:blue;">15 = “Sac Bunt”</mark></li><li><mark style="color:blue;">16 = “Sac Fly”</mark></li><li><mark style="color:blue;">17 = “Sac Fly Double Play”</mark></li><li><mark style="color:blue;">18 = “Sac Bunt Double Play”</mark></li><li><mark style="color:blue;">19 = “Double Play”</mark></li><li><mark style="color:blue;">20 = “Catcher Interference”</mark></li><li><mark style="color:blue;">21 = “Fielder Interference”</mark></li><li><mark style="color:blue;">22 = “Fielder’s Choice”</mark></li><li><mark style="color:blue;">23 = “Fielder’s Out”</mark></li><li><mark style="color:blue;">24 = “Defensive Indifference”</mark></li><li><mark style="color:blue;">25 = “Field Out”</mark></li><li><mark style="color:blue;">26 = “Strikeout”</mark></li><li><mark style="color:blue;">27 = “Forceout”</mark></li><li><mark style="color:blue;">28 = “Other Out”</mark></li><li><mark style="color:blue;">29 = “Error”</mark></li><li><mark style="color:blue;">30 = “Field Error”</mark></li><li><mark style="color:blue;">31 = “Pickoff Error 1B”</mark></li><li><mark style="color:blue;">32 = “Pickoff Error 2B”</mark></li><li><mark style="color:blue;">33 = “Pickoff Error 3B”</mark></li><li><mark style="color:blue;">34 = “Pickoff Caught Stealing 2B”</mark></li><li><mark style="color:blue;">35 = “Pickoff Caught Stealing 3B”</mark></li><li><mark style="color:blue;">36 = “Pickoff Caught Stealing Home”</mark></li><li><mark style="color:blue;">37 = “Other Advance”</mark></li><li><mark style="color:blue;">38 = “No Advancement”</mark></li></ul></td><td valign="top"><ul><li><mark style="color:blue;">atbatnumber: At bat number at the timestamp.</mark></li><li><mark style="color:blue;">atbatpitchnumber: Current number of the pitch within the at bat.</mark></li><li><p><mark style="color:blue;">Extrainfobaseball (<strong>Δ</strong>): Whether it was a Batter or a Runnar. Possible values:</mark></p><ul><li><mark style="color:blue;">-1 = “unknown"</mark></li><li><mark style="color:blue;">0 = "runner"</mark></li><li><mark style="color:blue;">1 = "batter"</mark></li></ul></li></ul></td><td valign="top"><mark style="color:blue;">String: Batter ID or Runner ID (<strong>Δ</strong>)</mark></td><td valign="top">-</td></tr><tr><td valign="top"><mark style="color:blue;">2327</mark></td><td valign="top"><mark style="color:blue;">Pitch release</mark></td><td valign="top"><mark style="color:blue;">Signifies the moment in time the pitch is thrown (= ball leaves the hand of the pitcher).</mark></td><td valign="top"><mark style="color:blue;">External feed (DC MLB)</mark></td><td valign="top">-</td><td valign="top"><ul><li>pitchspeed: how fast the ball was pitched in MPH numeric values</li></ul></td><td valign="top"><p><mark style="color:blue;">String: Pitcher ID</mark></p><p><mark style="color:blue;">Example text: </mark><em><mark style="color:blue;">Pitcher ROWAN WICK releases the ball (93.7mph)</mark></em></p></td><td valign="top">-</td></tr><tr><td valign="top">2400</td><td valign="top">MLB Coverage Switch</td><td valign="top">Used when the source changes to DC Failover for MLB matches - under a config (ID:240)</td><td valign="top">External Feed (DC MLB &#x26; DC Failover)</td><td valign="top"><ul><li>0 - switch to a secondary data source signifying a decreased quality of the feed</li></ul></td><td valign="top"></td><td valign="top"></td><td valign="top"></td></tr></tbody></table>

\
&#x20;

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 \<match> element**

```xml
<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="24442" t1name="BALTIMORE ORIOLES" t2id="24452"
t2name="SEATTLE MARINERS">
<status id="100" name="ENDED" start="1463686822000"/>
<score t1="2" t2="7" type="match"/>
<score t1="0" t2="1" type="inning1"/>
<score t1="1" t2="0" type="inning2"/>
<score t1="0" t2="1" type="inning5"/>
<score t1="0" t2="3" type="inning6"/>
<score t1="1" t2="0" type="inning8"/>
<score t1="0" t2="2" type="inning9"/>
<matchformat>
<format type="regularinnings" value="9"/>
</matchformat>
<tournament id="25" name="MLB"/>
<category id="16" name="USA"/>
<sport id="3" name="Baseball"/>
<events/>
</match>
```

**XML elements and attributes definition**

<table data-full-width="true"><thead><tr><th width="188.5382080078125">Element</th><th width="456.990478515625">Attributes</th><th width="270.4444580078125">Description</th><th>Possible values</th></tr></thead><tbody><tr><td>matchformat</td><td>format type="regularinnings"</td><td>This element always gets included in full feed, and in the delta feed.</td><td><ul><li>9</li><li>7</li></ul></td></tr><tr><td>score</td><td><p>Multiple occurrences possible, each occurrence describes the amount of points for the specified period<br>in the match. This element always gets included in full feed, and in the delta feed for the following events:</p><p>Run scored (1720), Baseball stats correction (1832)</p></td><td></td><td></td></tr><tr><td><em>t1</em></td><td>Amount of points home team</td><td>Integer</td><td></td></tr><tr><td><em>t2</em></td><td>Amount of points away team</td><td>Integer</td><td></td></tr><tr><td><em>type</em></td><td>For what period in the match the points were scored</td><td><p>String. Possible values:</p><ul><li>match</li><li>inning1</li><li>inning2</li><li>inning3</li><li>inning4</li><li>inning5</li><li>inning6</li><li>inning7</li><li>inning8</li><li>inning9</li></ul></td><td></td></tr></tbody></table>

**Attributes in \<event> element**

```xml
<!-- 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"
matchscore="1:6" mtime="0:00:00" outs="2" pcount="16" periodnumber="9" periodscore="0:0" side="home" stime="1465698829601"
strikes="0" type="1727"/>
</events>
</match>
<!-- Example 2 -->
<match matchid="8820270" ... >
<events>
<event balls="0" errorsaway="1" errorshome="0" extrainfo="0" firstbaseloaded="0" hitsaway="10" hitshome="6" id="650825141" info="
Statistics have been corrected" inninghalf="B" matchscore="1:6" mtime="0:00:00" outs="2" periodnumber="9" periodscore="0:0"
runsaway="6" runshome="1" secondbaseloaded="0" side="none" stime="1465698675532" strikes="0" thirdbaseloaded="1" type="1832
">
<inningscore away="0" home="0" inning="1"/>
<inningscore away="1" home="0" inning="2"/>
...
</event>
</events>
</match>
```

**XML attributes definition**

<table data-full-width="true"><thead><tr><th>Element</th><th width="508.0416259765625">Attributes</th><th width="285.5650634765625">Description</th><th>Possible values</th></tr></thead><tbody><tr><td>event</td><td><em>extrainfo</em></td><td>Attribute containing additional information about the event.</td><td>Long</td></tr><tr><td><em>matchscore</em></td><td>Score for current match.</td><td>String. Format: "[home]:[away]"<br>Example: "1:0"</td><td></td></tr><tr><td><em>periodscore</em></td><td>Score for current period.</td><td>String. Format: "[home]:[away]"<br>Example: "1:0"</td><td></td></tr><tr><td><em>extrainfobaseball</em></td><td>Attribute containing additional information about the event.</td><td>String</td><td></td></tr><tr><td><em>baseinfo</em></td><td>From what base the player moved, and what base the player reached. This attribute gets added for the following events: Checked runner (1718) (<strong>Δ</strong>), Run scored (1720) (<strong>Δ</strong>), Runner out (1721), Runner advancement (1719), Batter advancement(1727), Player out (2149 with extrainfobaseball=0/runner) (<strong>Δ</strong>), Player on base X (2150) (<strong>Δ</strong>).</td><td><p>String. Format: "[starting base]:[reached base]" Example: "1:2"</p><p>Please note that value "999" is a valid value for a starting base and means the starting base is unknown.</p></td><td></td></tr><tr><td><em>periodnumber</em></td><td>Number of current period in match.</td><td>Integer</td><td></td></tr><tr><td><em>inninghalf</em></td><td><br></td><td><br></td><td></td></tr><tr><td><em>balls</em></td><td>This attribute gets added for the following events:<br>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).</td><td><br></td><td></td></tr><tr><td><em>runs</em></td><td>This attribute gets added for the following events:<br>Run scored (1720)</td><td><br></td><td></td></tr><tr><td><em>strikes</em></td><td>This attribute gets added for the following events:<br>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).</td><td><br></td><td></td></tr><tr><td><em>outs</em></td><td>This attribute gets added for the following events:<br>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).</td><td><br></td><td></td></tr><tr><td><em>pcount</em></td><td>This attribute gets added for the following events:<br>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).</td><td><br></td><td></td></tr><tr><td><em>totalpitchcount</em></td><td><p>Match’s total pitch count. This attribute gets added for the following events:</p><p>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).</p></td><td><br></td><td></td></tr><tr><td><em>errors</em></td><td>This attribute gets added for the following events:<br>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).</td><td><br></td><td></td></tr><tr><td><em>runshome</em></td><td>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.</td><td>Integer</td><td></td></tr><tr><td><em>runsaway</em></td><td>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.</td><td>Integer</td><td></td></tr><tr><td><em>hitshome</em></td><td>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).</td><td>Integer</td><td></td></tr><tr><td><em>hitsaway</em></td><td>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).</td><td>Integer</td><td></td></tr><tr><td><em>errorshome</em></td><td>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.</td><td>Integer</td><td></td></tr><tr><td><em>errorsaway</em></td><td>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.</td><td>Integer</td><td></td></tr><tr><td><em>firstbaseloaded</em></td><td>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).</td><td>Byte. Possible values:<br>1 = Base loaded<br>0 = Base not loaded</td><td></td></tr><tr><td><em>secondbaseloaded</em></td><td>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).</td><td>Byte. Possible values:<br>1 = Base loaded<br>0 = Base not loaded</td><td></td></tr><tr><td><em>thirdbaseloaded</em></td><td>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).</td><td>Byte. Possible values:<br>1 = Base loaded<br>0 = Base not loaded</td><td></td></tr><tr><td>inningscore</td><td>This element gets included in the delta feed for the following events:<br>Baseball stats correction event (1832)</td><td></td><td></td></tr><tr><td><em>home</em></td><td>Points for home team</td><td><br></td><td></td></tr><tr><td><em>away</em></td><td>Points for away team</td><td><br></td><td></td></tr><tr><td><em>inning</em></td><td>What inning the points were awarded in</td><td><br></td><td></td></tr></tbody></table>

## Additional recommendation for MLB Live Data XML feed handling <a href="#ldbaseball-additionalrecommendationformlblivedataxmlfeedhandling" id="ldbaseball-additionalrecommendationformlblivedataxmlfeedhandling"></a>

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.

<br>

## XML configurations for baseball <a href="#ldbaseball-xmlconfigurationsforbaseball" id="ldbaseball-xmlconfigurationsforbaseball"></a>

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: 50) Include baseball stats correction info**

If this setting is enabled, the baseball stats correction event (1832) will include new attributes and child elements.

{% code title="" %}

```xml
<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="0:0"
runsaway="1" runshome="6" secondbaseloaded="0" side="none" stime="1455109903000" strikes="1" thirdbaseloaded="0" type="1832"
>
<inningscore away="1" home="6" inning="1" />
<inningscore away="0" home="0" inning="2" />
...
</event>
```

{% endcode %}

**XML attributes definition**

<table data-full-width="true"><thead><tr><th width="178.9635009765625">Element</th><th width="194.5885009765625">Attributes</th><th width="292.3463134765625">Description</th><th width="405.6632080078125">Possible values</th></tr></thead><tbody><tr><td>event</td><td><em>runshome</em></td><td>Total runs for home team.</td><td>Integer</td></tr><tr><td></td><td><em>runsaway</em></td><td>Total runs for away team.</td><td>Integer</td></tr><tr><td></td><td><em>hitshome</em></td><td>Total hits for home team.</td><td>Integer</td></tr><tr><td></td><td><em>hitsaway</em></td><td>Total hits for away team.</td><td>Integer</td></tr><tr><td></td><td><em>errorshome</em></td><td>Total errors for home team.</td><td>Integer</td></tr><tr><td></td><td><em>errorsaway</em></td><td>Total errors for away team.</td><td>Integer</td></tr><tr><td></td><td><em>firstbaseloaded</em></td><td>Whether the first base is loaded.</td><td>Byte.<br>1 = First base is loaded<br>0 = First base is not loaded</td></tr><tr><td></td><td><em>secondbaseloaded</em></td><td>Whether the second base is loaded.</td><td>Byte.<br>1 = Second base is loaded<br>0 = Second base is not loaded</td></tr><tr><td></td><td><em>thirdbaseloaded</em></td><td>Whether the third base is loaded.</td><td>Byte.<br>1 = Third base is loaded<br>0 = Third base is not loaded</td></tr><tr><td>inningscore</td><td>-</td><td>Child element of the &#x3C;event>- element containing the inning score. Multiple occurrences possible.</td><td></td></tr><tr><td></td><td><em>inning</em></td><td>Inning number</td><td>Integer</td></tr><tr><td></td><td><em>home</em></td><td>Total runs for home team in this inning.</td><td>Integer</td></tr><tr><td></td><td><em>away</em></td><td>Total runs for away team in this inning.</td><td>Integer</td></tr></tbody></table>

### **(ID: 113) Include player IDs in baseball events**

If this setting is enabled, it will add player IDs to supported baseball events.

### **(ID: 115) Send lineups for baseball matches**

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**:

* 1 = Pitcher
* 2 = Catcher
* 3 = First Base
* 4 = Second Base
* 5 = Third Base
* 6 = Shortstop
* 7 = Left Field
* 8 = Centerfield
* 9 = Right Field
* 10 = Designated Hitter
* 11 = Pinch Hitter
* 12 = Pinch Runner

### **(ID: 142) Include player positions in lineup**

Enabling this setting will add the attribute *position* to the \<player> element.

{% code title="" %}

```xml
<lineups matchid="17132705">
<player id="1097538" name="O'Neill, Tyler" shirtnumber="0" substitute="false" team="1" position="Left Field" order="7"/>
<player id="972985" name="DeJong, Paul" shirtnumber="12" substitute="false" team="1" position="Shortstop" order="5"/>
<player id="841983" name="Wong, Kolten" shirtnumber="16" substitute="false" team="1" position="Second Base" order="6"/>
<player id="1410115" name="Edman, Tommy" shirtnumber="19" substitute="false" team="1" position="Third Base" order="1"/>
<player id="842621" name="Fowler, Dexter" shirtnumber="25" substitute="false" team="1" position="Center Field" order="2"/>
<player id="846689" name="Wieters, Matt" shirtnumber="32" substitute="false" team="1" position="Catcher" order="8"/>
<player id="927646" name="Martinez, Jose" shirtnumber="38" substitute="false" team="1" position="Right Field" order="3"/>
<player id="1373225" name="Mikolas, Miles" shirtnumber="39" substitute="false" team="1" position="Pitcher" order="9"/>
<player id="841919" name="Goldschmidt, Paul" shirtnumber="46" substitute="false" team="1" position="First Base" order="4"/>
</lineups>
```

{% endcode %}

### **(ID: 53) Allow inning score types**

The attribute type in the \<score> element (subelement from \<match> 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:

* Inning1
* Inning2
* .
* .
* Inning9

{% code title="XML example" %}

```xml
<match matchid="7440630" ... >
<score t1="14" t2="20" type="inning2"/>
<!-- Remaining message truncated -->
</match>
```

{% endcode %}

### **(ID: 55) Allow overtime score types**

The attribute type in the \<score> element (subelement from \<match> 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:

* overtime
* overtime1
* overtime2

{% code title="XML example" %}

```xml
<match matchid="7440630" ... >
<score t1="14" t2="20" type="overtime1"/>
<!-- Remaining message truncated -->
</match>
```

{% endcode %}

### **(ID: 57) Allow penalties score type**

The attribute type in the \<score> element (subelement from \<match> element) has a set list of possible values. If this setting is enabled it will allow the \<score> element in the feed to have the "penalties" type.

{% code title="XML example" %}

```xml
<match matchid="7440630" ... >
<score t1="14" t2="20" type="penalties"/>
<!-- Remaining message truncated -->
</match>
```

{% endcode %}

### (ID:243) Include coverage switch event

An event with **ID 2400**, named "MLB Coverage change"  will be added to the feed.This event will include an extrainfo parameter:

* **extrainfo=0**: Indicates a switch to a **secondary data source**, signifying a decreased quality of the feed. (DC Failover for MLB)

{% code overflow="wrap" expandable="true" %}

```
<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"/>
```

{% endcode %}

### (ID:246) **Include baseinfo attribute for stretching outs**

**1. Config Disabled (Current Behavior):** The 2149 event for a "stretching" out will not include the baseinfo attribute.

{% code overflow="wrap" %}

```
<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"/>
```

{% endcode %}

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

{% code overflow="wrap" %}

```
<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
```

{% endcode %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sportradar.com/live-data/introduction/information-per-sport/betradar-documentation-ld-baseball.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
