espn_site_call
Retrieve ESPN sports data by specifying an operation and path parameters like sport and league. Access team details, rosters, schedules, injuries, and more.
Instructions
Gateway to the ESPN site API resource families (site.api.espn.com). Supply an
operation plus a path_params map containing at least sport + league
(slugs like football/nfl, basketball/nba) and any id the op needs (teamId,
athleteId), then optional query_params. Covers team detail/rosters/schedules/
injuries/depth-charts/transactions/history, athlete news, conference/division
groups and poll rankings. For athlete profiles/game-logs/splits use
espn_web_call (or espn_core_call for the canonical model). Browse every
operation in the espn://site/operations resource.
Returns: (JSON object)
Auth: none needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation | Yes | The operation to run. Valid names come from this provider's catalogue resource (see `list_resources`) — guessing one returns an error listing the alternatives. | |
| path_params | No | Values for the operation's URL path placeholders, as an object keyed by placeholder name. The catalogue resource lists which each operation needs. | |
| query_params | No | Query-string parameters for the operation, as an object. Optional for most operations; the catalogue resource documents the accepted keys. |