Search Football Leagues
sports.football.leaguesSearch football leagues and cups by country or name. Get league ID, name, type, country, and logo for use in fixtures and standings queries.
Instructions
Search football leagues and cups by country or name. Returns league ID, name, type (league/cup), country, logo. Use IDs for fixtures and standings queries (API-Sports)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | Search league by name (e.g. "Premier", "Champions") | |
| country | No | Country name to filter leagues (e.g. "England", "Spain", "Germany") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |