MLBPitches
Every individual pitch thrown in every MLB game — the pitch type, velocity, location, movement, spin, and the result (called strike, swinging strike, foul, ball, hit, walk).
Properties
| Name | Type | Description |
|---|---|---|
| air_out | boolean | Whether this pitch resulted in an air out |
| at_bat_id | integer | |
| ball | boolean | |
| barrel | booleannull | Optimal combination of exit velocity and launch angle |
| batter_id | integer | |
| break_angle | numbernull | |
| break_length | numbernull | |
| break_y | numbernull | |
| breaking_ball | booleannull | Breaking ball (curveball, slider, knuckleball) |
| call | string | |
| catchers_interference | boolean | Whether this pitch resulted in catchers interference |
| chase | booleannull | Whether batter swung at pitch outside zone |
| double | boolean | Whether this pitch resulted in a double |
| effective_speed | numbernull | Perceived speed to batter (mph) |
| expected_batting_avg | numbernull | xBA based on exit velocity and launch angle |
| expected_woba | numbernull | xwOBA based on exit velocity and launch angle |
| extension | numbernull | |
| fastball | booleannull | Fastball variant (4-seam, 2-seam, sinker, cutter) |
| flare_burner | booleannull | Launch angle 10-25 AND exit velocity < 95 |
| fly_out | boolean | Whether this pitch resulted in a fly out |
| game_id | integer | |
| ground_into_double_play | boolean | Whether this pitch resulted in grounding into double play |
| ground_into_triple_play | boolean | Whether this pitch resulted in grounding into triple play |
| ground_out | boolean | Whether this pitch resulted in a ground out |
| hard_hit | booleannull | Exit velocity >= 95 MPH |
| hit_by_pitch | boolean | Whether this pitch resulted in hit by pitch |
| hit_coord_x | numbernull | Hit coordinate X (feet from home plate) |
| hit_coord_y | numbernull | Hit coordinate Y (feet from home plate) |
| hit_distance | integernull | Distance of batted ball (feet) |
| hit_exit_velocity | numbernull | Exit velocity of batted ball (mph) |
| hit_launch_angle | numbernull | Launch angle of batted ball (degrees) |
| home_run | boolean | Whether this pitch resulted in a home run |
| id | integer | Primary Key |
| in_play | boolean | |
| in_strike_zone | booleannull | Whether pitch was in the strike zone |
| intentional_walk | boolean | Whether this pitch resulted in an intentional walk |
| launch_speed_angle_zone | integernull | 1=Weak, 2=Topped, 3=Under, 4=Flare/Burner, 5=Solid, 6=Barrel |
| line_out | boolean | Whether this pitch resulted in a line out |
| offspeed | booleannull | Offspeed pitch (changeup, splitter, forkball) |
| pitch_number | integer | |
| pitch_speed | numbernull | |
| pitch_type | stringnull | |
| pitch_x | numbernull | |
| pitch_y | numbernull | |
| pitch_z | numbernull | |
| pitch_zone | integernull | |
| pitcher_id | integer | |
| plate_x | numbernull | |
| plate_z | numbernull | |
| play_id | integer | |
| pop_out | boolean | Whether this pitch resulted in a pop out |
| release_speed | numbernull | Speed at release point (mph) |
| result | string | |
| sacrifice_fly | boolean | Whether this pitch resulted in a sacrifice fly |
| sacrifice_hit | boolean | Whether this pitch resulted in a sacrifice bunt |
| single | boolean | Whether this pitch resulted in a single |
| solid_contact | booleannull | Launch angle 20-25 AND exit velocity 95-100 |
| spin_axis | numbernull | Spin axis (degrees) |
| spin_direction | numbernull | |
| spin_rate | numbernull | |
| spray_angle | numbernull | Horizontal angle from center field (degrees) |
| start_time | stringnull | Wall-clock time of the pitch, as the league records it |
| statcast_quality_score | numbernull | Statcast data quality score (0.0-1.0) |
| strike | boolean | |
| strike_zone_bottom | numbernull | |
| strike_zone_top | numbernull | |
| strikeout | boolean | Whether this pitch resulted in a strikeout |
| sweet_spot | booleannull | Launch angle between 8-32 degrees |
| topped | booleannull | Launch angle < 10 AND exit velocity < 90 |
| tracking_confidence | numbernull | Confidence in tracking data accuracy |
| triple | boolean | Whether this pitch resulted in a triple |
| under | booleannull | Launch angle less than 10 degrees |
| walk | boolean | Whether this pitch resulted in a walk |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/stat-api-com/json-schema/stat-api-com-mlbpitches-schema.json",
"title": "MLBPitches",
"description": "Every individual pitch thrown in every MLB game — the pitch type, velocity, location, movement, spin, and the result (called strike, swinging strike, foul, ball, hit, walk).",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/stat-api-com-mlb-api-openapi.yml#/components/schemas/MLBPitches",
"properties": {
"air_out": {
"description": "Whether this pitch resulted in an air out",
"type": "boolean"
},
"at_bat_id": {
"format": "int64",
"type": "integer"
},
"ball": {
"type": "boolean"
},
"barrel": {
"description": "Optimal combination of exit velocity and launch angle",
"type": [
"boolean",
"null"
]
},
"batter_id": {
"format": "int64",
"type": "integer"
},
"break_angle": {
"format": "float",
"type": [
"number",
"null"
]
},
"break_length": {
"format": "float",
"type": [
"number",
"null"
]
},
"break_y": {
"format": "float",
"type": [
"number",
"null"
]
},
"breaking_ball": {
"description": "Breaking ball (curveball, slider, knuckleball)",
"type": [
"boolean",
"null"
]
},
"call": {
"type": "string"
},
"catchers_interference": {
"description": "Whether this pitch resulted in catchers interference",
"type": "boolean"
},
"chase": {
"description": "Whether batter swung at pitch outside zone",
"type": [
"boolean",
"null"
]
},
"double": {
"description": "Whether this pitch resulted in a double",
"type": "boolean"
},
"effective_speed": {
"description": "Perceived speed to batter (mph)",
"format": "float",
"type": [
"number",
"null"
]
},
"expected_batting_avg": {
"description": "xBA based on exit velocity and launch angle",
"format": "double",
"type": [
"number",
"null"
]
},
"expected_woba": {
"description": "xwOBA based on exit velocity and launch angle",
"format": "double",
"type": [
"number",
"null"
]
},
"extension": {
"format": "float",
"type": [
"number",
"null"
]
},
"fastball": {
"description": "Fastball variant (4-seam, 2-seam, sinker, cutter)",
"type": [
"boolean",
"null"
]
},
"flare_burner": {
"description": "Launch angle 10-25 AND exit velocity < 95",
"type": [
"boolean",
"null"
]
},
"fly_out": {
"description": "Whether this pitch resulted in a fly out",
"type": "boolean"
},
"game_id": {
"format": "int64",
"type": "integer"
},
"ground_into_double_play": {
"description": "Whether this pitch resulted in grounding into double play",
"type": "boolean"
},
"ground_into_triple_play": {
"description": "Whether this pitch resulted in grounding into triple play",
"type": "boolean"
},
"ground_out": {
"description": "Whether this pitch resulted in a ground out",
"type": "boolean"
},
"hard_hit": {
"description": "Exit velocity >= 95 MPH",
"type": [
"boolean",
"null"
]
},
"hit_by_pitch": {
"description": "Whether this pitch resulted in hit by pitch",
"type": "boolean"
},
"hit_coord_x": {
"description": "Hit coordinate X (feet from home plate)",
"format": "float",
"type": [
"number",
"null"
]
},
"hit_coord_y": {
"description": "Hit coordinate Y (feet from home plate)",
"format": "float",
"type": [
"number",
"null"
]
},
"hit_distance": {
"description": "Distance of batted ball (feet)",
"type": [
"integer",
"null"
]
},
"hit_exit_velocity": {
"description": "Exit velocity of batted ball (mph)",
"format": "float",
"type": [
"number",
"null"
]
},
"hit_launch_angle": {
"description": "Launch angle of batted ball (degrees)",
"format": "float",
"type": [
"number",
"null"
]
},
"home_run": {
"description": "Whether this pitch resulted in a home run",
"type": "boolean"
},
"id": {
"description": "Primary Key",
"format": "int64",
"type": "integer"
},
"in_play": {
"type": "boolean"
},
"in_strike_zone": {
"description": "Whether pitch was in the strike zone",
"type": [
"boolean",
"null"
]
},
"intentional_walk": {
"description": "Whether this pitch resulted in an intentional walk",
"type": "boolean"
},
"launch_speed_angle_zone": {
"description": "1=Weak, 2=Topped, 3=Under, 4=Flare/Burner, 5=Solid, 6=Barrel",
"type": [
"integer",
"null"
]
},
"line_out": {
"description": "Whether this pitch resulted in a line out",
"type": "boolean"
},
"offspeed": {
"description": "Offspeed pitch (changeup, splitter, forkball)",
"type": [
"boolean",
"null"
]
},
"pitch_number": {
"type": "integer"
},
"pitch_speed": {
"format": "float",
"type": [
"number",
"null"
]
},
"pitch_type": {
"type": [
"string",
"null"
]
},
"pitch_x": {
"format": "float",
"type": [
"number",
"null"
]
},
"pitch_y": {
"format": "float",
"type": [
"number",
"null"
]
},
"pitch_z": {
"format": "float",
"type": [
"number",
"null"
]
},
"pitch_zone": {
"type": [
"integer",
"null"
]
},
"pitcher_id": {
"format": "int64",
"type": "integer"
},
"plate_x": {
"format": "float",
"type": [
"number",
"null"
]
},
"plate_z": {
"format": "float",
"type": [
"number",
"null"
]
},
"play_id": {
"format": "int64",
"type": "integer"
},
"pop_out": {
"description": "Whether this pitch resulted in a pop out",
"type": "boolean"
},
"release_speed": {
"description": "Speed at release point (mph)",
"format": "float",
"type": [
"number",
"null"
]
},
"result": {
"type": "string"
},
"sacrifice_fly": {
"description": "Whether this pitch resulted in a sacrifice fly",
"type": "boolean"
},
"sacrifice_hit": {
"description": "Whether this pitch resulted in a sacrifice bunt",
"type": "boolean"
},
"single": {
"description": "Whether this pitch resulted in a single",
"type": "boolean"
},
"solid_contact": {
"description": "Launch angle 20-25 AND exit velocity 95-100",
"type": [
"boolean",
"null"
]
},
"spin_axis": {
"description": "Spin axis (degrees)",
"format": "float",
"type": [
"number",
"null"
]
},
"spin_direction": {
"format": "float",
"type": [
"number",
"null"
]
},
"spin_rate": {
"format": "float",
"type": [
"number",
"null"
]
},
"spray_angle": {
"description": "Horizontal angle from center field (degrees)",
"format": "float",
"type": [
"number",
"null"
]
},
"start_time": {
"description": "Wall-clock time of the pitch, as the league records it",
"format": "date-time",
"type": [
"string",
"null"
]
},
"statcast_quality_score": {
"description": "Statcast data quality score (0.0-1.0)",
"format": "double",
"type": [
"number",
"null"
]
},
"strike": {
"type": "boolean"
},
"strike_zone_bottom": {
"format": "float",
"type": [
"number",
"null"
]
},
"strike_zone_top": {
"format": "float",
"type": [
"number",
"null"
]
},
"strikeout": {
"description": "Whether this pitch resulted in a strikeout",
"type": "boolean"
},
"sweet_spot": {
"description": "Launch angle between 8-32 degrees",
"type": [
"boolean",
"null"
]
},
"topped": {
"description": "Launch angle < 10 AND exit velocity < 90",
"type": [
"boolean",
"null"
]
},
"tracking_confidence": {
"description": "Confidence in tracking data accuracy",
"format": "double",
"type": [
"number",
"null"
]
},
"triple": {
"description": "Whether this pitch resulted in a triple",
"type": "boolean"
},
"under": {
"description": "Launch angle less than 10 degrees",
"type": [
"boolean",
"null"
]
},
"walk": {
"description": "Whether this pitch resulted in a walk",
"type": "boolean"
}
},
"required": [
"id",
"at_bat_id",
"batter_id",
"game_id",
"pitcher_id",
"play_id",
"air_out",
"ball",
"call",
"catchers_interference",
"double",
"fly_out",
"ground_into_double_play",
"ground_into_triple_play",
"ground_out",
"hit_by_pitch",
"home_run",
"in_play",
"intentional_walk",
"line_out",
"pitch_number",
"pop_out",
"result",
"sacrifice_fly",
"sacrifice_hit",
"single",
"strike",
"strikeout",
"triple",
"walk"
],
"type": "object"
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/stat-api-com-mlbpitches"
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.