espn_teams
Retrieve a league's team catalogue with IDs, names, abbreviations, colors, and logos. Use returned team IDs to fetch rosters, schedules, and other ESPN data for any sport and league.
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. |