mlb_leagues
Retrieve MLB league catalogue including American and National Leagues with IDs, names, abbreviations, season state, and wild card status. Pass sportId=1 for MLB.
Instructions
League catalogue — e.g. American League (103) and National League (104). Pass sportId=1 for MLB.
Returns: {leagues:[{id, name, abbreviation, sport, seasonState, hasWildCard}]}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seasons | No | ||
| sportId | No | ||
| leagueIds | No |