MLB API
All 30 MLB teams, every regular-season, postseason, and spring-training game. Live scores, pitch-by-pitch with Statcast, box scores, lineups, standings, schedule, and Statcast leaderboards.
Endpoints
| Method | Path | Description |
|---|---|---|
| GET | /v1/mlb/scores/live | Live scores with inning, count, and baserunners |
| GET | /v1/mlb/games/{id}/pitches | Every pitch with Statcast metrics |
| GET | /v1/mlb/games/{id}/box-score | Complete box score with sabermetrics |
| GET | /v1/mlb/teams/{id}/lineup | Confirmed daily lineups |
| GET | /v1/mlb/statcast | Statcast leaderboards |
Data tiers
Every endpoint is available on real-time, standard, and delayed tiers. See data freshness for details.
ID formats
- Team IDs: league-standard 3-letter abbreviations (
LAL,BOS,GSW) - Player IDs: kebab-case slugs (
lebron-james,jayson-tatum) - Game IDs: league-native format (NBA
0022500412, NFL2024_09_KC_BUF, MLB746521)