Documentation/Guides
Games and line scores | Baseball Data API
Games and line scoresFinding games, and opening one in full.
Find games with /v1/{league}/games, on a date or across from and to. A game's date is its day at the ground; first pitch is given at the ground and in UTC where known.
Open one with /v1/{league}/games/{id} for its line score (runs by inning, with hits and errors where held; an inning not batted is null), the weather at the ground, and the umpires. /v1/results/yesterday gives every league's finals at once.