Competitions and seasons
list_tournaments[FREE] Every competition covered — leagues, domestic cups, continental cups, World Cups — with how many matches and how many draws each one holds.
Two uses. Without tournament it answers "what is in this database, and how draw-heavy
is each competition?", returning each competition's id, slug, country, match count, draw
count and draw percentage. With tournament (an id or slug) it returns that one
competition in full: the years it covers, every edition newest first with its champion
where one was decided, and the all-time winners ranking with title counts and years.
The competition ids here are what search_results and head_to_head filter by.
Free: no key needed, and it costs a key holder nothing either.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many competitions to list. Default 25; the total is always reported. | |
| tournament | No | One competition, by numeric id or slug (53 or "norway-cup"). Returns its editions, champions and all-time winners instead of the list. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Competitions, or one competition's editions. | |
| hint | No | Present only when rows were left out: how to narrow the call. | |
| total | Yes | How many rows matched before the limit. | |
| returned | Yes | How many rows are in data. |