mlb_linescore
Retrieve live MLB game linescores including per-inning runs, hits, errors, current inning state, and base/defense details. Accepts a game ID and optional timecode for point-in-time snapshots.
Instructions
Game linescore — runs per inning, R/H/E totals, current inning + state, and on-base/defense for live games.
Returns: {currentInning, inningState, isTopInning, innings:[{num, home:{runs,hits,errors}, away:{...}}], teams:{home:{runs,hits,errors}, away:{...}}}
Auth: none needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gamePk | Yes | Game id. Required — part of the URL path. | |
| timecode | No | Point-in-time snapshot (YYYYMMDD_HHMMSS). |