BaseballData API
Data
Coverage
MLB seasons held129MLB 2026 games2,469Postseason line scores40WBC and Premier12 games242Czech box scores1,430
See all coverage
DocsPricingStatus

Documentation/Guides

Games and line scores | Baseball Data API

Games and line scores

Finding 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.