MLB API - Inside-the-Park Home Runs
May 7th, 2026
We’ve added support for inside-the-park home runs in our MLB API.
A new boolean field, is_inside_the_park, is now available within the flags object of Game Play-by-Play events. The value will appear as true for inside-the-park home runs.
The field defaults to false when the play is not an inside-the-park home run.
⭐ Benefit
Identify and track inside-the-park home runs within play-by-play data feeds.
☑️ Sample Requests:
Game Play-by-Play
curl --request GET \
--url https://api.sportradar.com/mlb/trial/v8/en/games/293c6a35-8d8f-42fd-8dd4-910e9c92b02b/pbp.json \
--header 'accept: application/json' \
--header 'x-api-key: YOUR_API_KEY'🔢 Versions
🔁 Affected Endpoints
Game
- Event Tracking
- Game Extended Summary
- Game Play-by-Play
- Push Events
⚙️ Return Samples
<pitch hit_location="9" hit_type="FB" status="official" id="62b086fe-5a8c-4430-9837-d76c7c657bfe" outcome_id="aHR" created_at="2026-04-24T01:01:13+00:00" updated_at="2026-04-24T01:05:41+00:00" sequence_number="143" official="true">
<wall_clock start_time="2026-04-24T01:00:50+00:00" end_time="2026-04-24T01:01:16+00:00"/>
<flags is_ab_over="true" is_bunt="false" is_hit="true" is_wild_pitch="false" is_passed_ball="false" is_double_play="false" is_triple_play="false" is_inside_the_park="true"/>
<count balls="3" strikes="2" outs="2" pitch_count="6"/>
<pitcher pitch_type="FA" pitch_speed="98" pitch_zone="5" pitcher_hand="R" hitter_hand="L" pitch_count="53" id="9175aa5b-9f77-4e66-9119-1a52fee5ab7d" pitch_x="29" pitch_y="34" preferred_name="Bubba" first_name="Roy" last_name="Chandler" jersey_number="36" full_name="Bubba Chandler"/>
<hitter preferred_name="Evan" first_name="Evan" last_name="Carter" jersey_number="32" id="32d00b51-571d-43b7-86eb-ac750e69af35" full_name="Evan Carter"/>
<score home_team_runs="2" away_team_runs="0"/>
<mlb_pitch_data speed="98" strike_zone_top="3.316" strike_zone_bottom="1.673" zone="5" code="FF" description="Four-Seam Fastball">
<coordinates x="124.77" y="164.15"/>
</mlb_pitch_data>
<mlb_hit_data trajectory="fly_ball" hardness="medium">
<coordinates coord_x="165.64" coord_y="48.83"/>
</mlb_hit_data>
<runners>
<runner starting_base="0" ending_base="4" out="false" outcome_id="ERN" preferred_name="Evan" first_name="Evan" last_name="Carter" jersey_number="32" id="32d00b51-571d-43b7-86eb-ac750e69af35" full_name="Evan Carter"/>
<runner outcome_id="ERN" starting_base="1" ending_base="4" out="false" preferred_name="Josh" first_name="Joshua" last_name="Jung" jersey_number="6" id="97e08ec4-c8f2-4729-be55-43b20f9a1eb9" full_name="Josh Jung">
<description>Josh Jung scores.</description>
</runner>
</runners>
</pitch>
</at_bat>{
"hit_location": "9",
"hit_type": "FB",
"status": "official",
"id": "62b086fe-5a8c-4430-9837-d76c7c657bfe",
"outcome_id": "aHR",
"created_at": "2026-04-24T01:01:13+00:00",
"updated_at": "2026-04-24T01:05:41+00:00",
"sequence_number": 143,
"official": true,
"type": "pitch",
"wall_clock": {
"start_time": "2026-04-24T01:00:50+00:00",
"end_time": "2026-04-24T01:01:16+00:00"
},
"flags": {
"is_ab_over": true,
"is_bunt": false,
"is_hit": true,
"is_wild_pitch": false,
"is_passed_ball": false,
"is_double_play": false,
"is_triple_play": false,
"is_inside_the_park": true
},
"count": {
"balls": 3,
"strikes": 2,
"outs": 2,
"pitch_count": 6
},
"pitcher": {
"pitch_type": "FA",
"pitch_speed": 98,
"pitch_zone": 5,
"pitcher_hand": "R",
"hitter_hand": "L",
"pitch_count": 53,
"id": "9175aa5b-9f77-4e66-9119-1a52fee5ab7d",
"pitch_x": 29,
"pitch_y": 34,
"preferred_name": "Bubba",
"first_name": "Roy",
"last_name": "Chandler",
"jersey_number": "36",
"full_name": "Bubba Chandler"
},
"hitter": {
"preferred_name": "Evan",
"first_name": "Evan",
"last_name": "Carter",
"jersey_number": "32",
"id": "32d00b51-571d-43b7-86eb-ac750e69af35",
"full_name": "Evan Carter"
},
"score": {
"home_team_runs": 2,
"away_team_runs": 0
},
"mlb_pitch_data": {
"speed": 98,
"strike_zone_top": 3.316,
"strike_zone_bottom": 1.673,
"zone": 5,
"code": "FF",
"description": "Four-Seam Fastball",
"coordinates": {
"x": 124.77,
"y": 164.15
}
},
"mlb_hit_data": {
"trajectory": "fly_ball",
"hardness": "medium",
"coordinates": {
"coord_x": 165.64,
"coord_y": 48.83
}
},
"runners": [
{
"starting_base": 0,
"ending_base": 4,
"out": false,
"outcome_id": "ERN",
"preferred_name": "Evan",
"first_name": "Evan",
"last_name": "Carter",
"jersey_number": "32",
"id": "32d00b51-571d-43b7-86eb-ac750e69af35",
"full_name": "Evan Carter"
},
{
"starting_base": 1,
"ending_base": 4,
"out": false,
"outcome_id": "ERN",
"description": "Josh Jung scores.",
"preferred_name": "Josh",
"first_name": "Joshua",
"last_name": "Jung",
"jersey_number": "6",
"id": "97e08ec4-c8f2-4729-be55-43b20f9a1eb9",
"full_name": "Josh Jung"
}
]
}