apisports_football_leagues
Retrieve football leagues and cups worldwide by country, season, or current status. Use coverage data to identify which stats, odds, and prediction tools work for each league.
Instructions
Football leagues and cups worldwide, with the seasons available on your plan.
Returns: {response:[{league:{id, name, type:'League'|'Cup', logo}, country:{name, code, flag}, seasons:[{year, start, end, current, coverage:{fixtures:{events, lineups, statistics_fixtures}, standings, players, odds, predictions}}]}]} — SHAPE FROM VENDOR DOCS. coverage matters: it tells you which of the tools below will actually return anything for that league.
NOTE: this shape is from the vendor's documentation and has NOT been verified against a live response (we hold no key for this provider). Treat it as approximate — inspect the actual payload before relying on a field name.
Example: English competitions {"country": "England"}
Auth: needs your own key in API_SPORTS_KEY.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | One league id. | |
| season | No | Season starting year. FREE PLANS ARE RESTRICTED to a few older seasons. | |
| country | No | Country name, e.g. England. | |
| current | No | Only leagues whose season is running. One of: true, false. |