API v2 Documentation

Endpoints Code Lookup

← All endpoints

pitchfx

game MLB,MiLB

A query to this endpoint without an id parameter will return a list of all pitches for the competition level with their id codes, in reverse chronological order. Results can be filtered by season, player, game, team, date or date range (start-end; last). Passing an id parameter will return a single pitch entry (with no additional metadata).

Please note that this endpoint can be used synonymously as pitchfx.

MLB Pitch Data for 8/4/2017
https://api.natstat.com/v1/pitch/MLB/?key=XXXX-XXXXXX&format=xml&game=529691 Download sample