mlb_playbyplay
Retrieve pitch-by-pitch and play-by-play logs for an MLB game, including results, pitches, counts, runner movements, and scoring play flags for each plate appearance.
Instructions
Pitch-by-pitch / play-by-play log — every plate appearance with result, pitches, counts, runners and scoring-play flags.
Returns: {allPlays:[{result, about:{inning,halfInning,isScoringPlay}, matchup:{batter,pitcher}, playEvents:[...], count}], scoringPlays, currentPlay}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gamePk | Yes | ||
| timecode | No |