balldontlie_mlb_games
Retrieve MLB game schedules and results by date, season, or team, including venue, status, and scores.
Instructions
MLB games by date, season or team. (For MLB alone, the keyless official mlb provider is far deeper.)
Returns: {data:[{id, date, season, postseason, home_team_score, away_team_score, home_team, away_team, venue, status}], meta:{next_cursor}} — SHAPE FROM VENDOR DOCS. NOTE: away_team here, but visitor_team on the NBA and NFL paths. The shape is NOT uniform across sports.
NOTE: this shape is from the vendor's documentation and has NOT been verified against a live response (we hold no key for this provider). Treat it as approximate — inspect the actual payload before relying on a field name.
Example: One date's games {"dates": ["2024-07-04"]}
Auth: needs your own key in BALLDONTLIE_API_KEY.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dates | No | YYYY-MM-DD. | |
| cursor | No | Cursor from the previous page. | |
| seasons | No | Season years. | |
| per_page | No | Page size. | |
| team_ids | No | Team ids. |