mlb_teams
Retrieve a catalogue of MLB teams with IDs, names, abbreviations, locations, league/division, and venue. Filter by season or league to obtain team metadata for sports data integration.
Instructions
Team catalogue — id, name, abbreviation, location, league/division, home venue. Pass sportId=1 for the 30 MLB clubs.
Returns: {teams:[{id, name, abbreviation, teamName, locationName, league, division, venue, firstYearOfPlay}]}
Auth: none needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| season | No | Season year. | |
| hydrate | No | Embed related objects (e.g. 'venue,league,division'). | |
| sportId | No | Sport id (1 = MLB). | |
| leagueIds | No | Filter by league id(s). |