Documentation/Games
GET /v1/{league}/games/{id}/boxscore | Baseball Data API
Batting and pitching lines for both sides of one game, where held.Free keyMCP tool: get_boxscore
GEThttps://api.baseballapi.net/v1/{league}/games/{id}/boxscore
Try it
Returns
| Field | What it holds |
|---|---|
game_id | string: the game's id |
away | object: batting (player, order, position, substitute, pa, ab, r, h, doubles, triples, hr, rbi, bb, ibb, so, hbp, sh, sf, sb, cs, gidp) and pitching (player, started, outs, innings, bf, h, r, er, bb, ibb, so, hr, hbp, wp, bk, pitches, strikes, decision) |
home | object: the same for the home side |
held | boolean: false when no box score is held for this game (the lists are then empty) |
Example answer
The example is being collected; it appears here once the daily sample job has run.
Errors
Every endpoint can answer unauthorized, unknown_parameter, rate_limited, quota_exceeded and server_error, and not_found for an id or league that is not ours. See Errors.