get_pitches
Read-only
Use for pitch-by-pitch data: every pitch of a game, or a pitcher's or batter's season, with the count, pitch type, velocity, location and result. Costs 10 credits.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max pitches (default 500). | |
| offset | No | ||
| season | No | Season (a year; default: the latest; ignored with game_id). | |
| game_id | No | ||
| batter_id | No | ||
| pitch_type | No | ESPN abbreviation, e.g. FF, SL, CH, CU, SI, FC. | |
| pitcher_id | No |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| count | Yes | ||
| pitches | Yes | ||
| next_offset | No |