espn_teams
Get a list of all teams in a league, including IDs, names, abbreviations, colors, and logos. Use the returned team IDs to fetch rosters, schedules, and more via the ESPN site call.
Instructions
Team catalogue for one league: every team with id, name, abbreviation, colours and logos. Use the team ids with espn_site_call (team_roster, team_schedule, …).
Returns: {sports:[{leagues:[{teams:[{team:{id, displayName, abbreviation}}]}]}]}
Example: All 32 NFL teams. {"sport": "football", "league": "nfl"}
Auth: none needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sport | Yes | Sport slug, e.g. football, basketball. Required — part of the URL path. | |
| league | Yes | League slug, e.g. nfl, nba. Required — part of the URL path. |