MLB API - New Pitch Outcomes
January 22nd, 2025
We've added five pitch outcome_id
values to account for new MLB rules violations. See below for the new values and their definitions.
bABP
- Ball - Automatic (Pitch Timer Violation - Pitcher)bABC
- Ball - Automatic (Pitch Timer Violation - Catcher)bABS
- Ball - Automatic (Shift Violation)kAKP
- Strike - Automatic (Pitch Timer Violation)kAKB
- Strike - Automatic (Batter Timeout Violation)
☑️ Sample Request:
Game Play-by-Play - https://api.sportradar.com/mlb/trial/v7/en/games/{game_id}/pbp.xml?api_key=[API_KEY]
🔢 Versions
All supported versions: MLB v7, MLB v6.6, MLB v6.5, MLB v6, & upcoming MLB v8
🔁 Endpoints Affected
Event Tracking, Game Extended Summary, Game Play-by-Play, Push Events
⚙️ Return Samples
<pitch status="official" id="1f3f6dbf-2313-4863-b94a-2053e4e3ee3d" outcome_id="bABP"
created_at="2023-09-20T19:01:20+00:00" updated_at="2023-09-20T19:01:46+00:00"
sequence_number="129" official="true">
"events": [
{
"status": "official",
"id": "69969a8c-5926-4483-a04c-d5e627fe83ce",
"outcome_id": "bABP",
"created_at": "2023-09-20T18:12:09+00:00",
"updated_at": "2023-09-20T18:14:42+00:00",
"sequence_number": 3,
"official": true,
"type": "pitch",
"wall_clock": {
"start_time": "2023-09-20T18:11:54+00:00",
"end_time": "2023-09-20T18:12:11+00:00"
}