mlb_linescore
Retrieve a live MLB game linescore by gamePk: per-inning runs, R/H/E totals, current inning and state, plus on-base/defense details.
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). |