Get Live Scores
Retrieve every game in progress right now, with runs, inning, outs and base state.
GET/v1/baseball/livescores
Parameters
NameTypeRequiredDescription
x-api-keystringRequiredYour API key, sent as a header.
league_idintegerOptionalFilter by league ID.
team_idintegerOptionalFilter by team ID.
pageintegerOptionalPage number. Default 1, 50 per page.
Response
- dataarray<Game>Games currently in progress.
- idintegerUnique game ID.
- leagueobjectid and name.
- seasonintegerSeason year.
- datestring · ISO 8601First pitch in UTC.
- statusobjectshort, inning, half and outs.
- homeobjectHome team: id, name, runs.
- awayobjectAway team: id, name, runs.
- venueobjectBallpark name and city.
- basesobjectWhether first, second and third are occupied.
- metaobjectpage, per_page and total.
Status codes
- 200Live games returned
- 400Invalid parameter
- 401Missing or invalid API key
- 429Rate limit reached