apisports_baseball_games
Retrieve baseball game results and scores by date, league, team, or season, covering MLB, NPB, KBO, and other leagues.
Instructions
Baseball games (MLB, NPB, KBO and others) by date or league.
Returns: {response:[{id, date, status, league, teams, scores:{home:{hits, errors, innings:{'1','2',…, extra}, total}, away:{…}}}]} — SHAPE FROM VENDOR DOCS. Innings are keyed by NUMBER-AS-STRING. For MLB itself, the keyless official mlb provider is deeper.
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: A day's games {"date": "2024-07-04"}
Auth: needs your own key in API_SPORTS_KEY.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | YYYY-MM-DD. | |
| team | No | Team id. | |
| league | No | League id. | |
| season | No | Season year. |