Get a single pitche by id
Request
- Base URL: https://api.stat-api.com
- URL: https://api.stat-api.com/api/v1/mlb/pitches/{id}
- Auth: HTTP bearer
Path parameters
Primary Key
Primary key (id) of the pitches row.
Response
Single pitches row.
Whether this pitch resulted in an air out
Optimal combination of exit velocity and launch angle
Breaking ball (curveball, slider, knuckleball)
Whether this pitch resulted in catchers interference
Whether batter swung at pitch outside zone
Whether this pitch resulted in a double
Perceived speed to batter (mph)
xBA based on exit velocity and launch angle
xwOBA based on exit velocity and launch angle
Fastball variant (4-seam, 2-seam, sinker, cutter)
Launch angle 10-25 AND exit velocity < 95
Whether this pitch resulted in a fly out
Whether this pitch resulted in grounding into double play
Whether this pitch resulted in grounding into triple play
Whether this pitch resulted in a ground out
Exit velocity >= 95 MPH
Whether this pitch resulted in hit by pitch
Hit coordinate X (feet from home plate)
Hit coordinate Y (feet from home plate)
Distance of batted ball (feet)
Exit velocity of batted ball (mph)
Launch angle of batted ball (degrees)
Whether this pitch resulted in a home run
Primary Key
Whether pitch was in the strike zone
Whether this pitch resulted in an intentional walk
1=Weak, 2=Topped, 3=Under, 4=Flare/Burner, 5=Solid, 6=Barrel
Whether this pitch resulted in a line out
Offspeed pitch (changeup, splitter, forkball)
Whether this pitch resulted in a pop out
Speed at release point (mph)
Whether this pitch resulted in a sacrifice fly
Whether this pitch resulted in a sacrifice bunt
Whether this pitch resulted in a single
Launch angle 20-25 AND exit velocity 95-100
Spin axis (degrees)
Horizontal angle from center field (degrees)
Wall-clock time of the pitch, as the league records it
Statcast data quality score (0.0-1.0)
Whether this pitch resulted in a strikeout
Launch angle between 8-32 degrees
Launch angle < 10 AND exit velocity < 90
Confidence in tracking data accuracy
Whether this pitch resulted in a triple
Launch angle less than 10 degrees
Whether this pitch resulted in a walk
Changes
No recorded changes to this operation across all 2 revisions of this API.