Find a team
list_teams[FREE] Find a team and its id — the lookup every other team tool depends on.
Search by name prefix with q ("arse" finds Arsenal), or browse by first letter, or
list one kind of team. Each row carries the numeric id and the slug that get_team,
get_team_streaks, get_team_prediction, head_to_head and search_results take.
The database holds thousands of teams, so an unfiltered call returns the first 25 with
the full total beside them. Always pass q when you know the name.
Free: no key needed, and it costs a key holder nothing either.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Name prefix, matched against both the short and the full name. The fastest way to find one team. | |
| type | No | Restrict to national teams or to clubs. | |
| limit | No | How many teams to return. Default 25; the total number of matches is always reported. | |
| letter | No | First letter A-Z to browse by, or "#" for names starting with a non-letter. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Teams matching the search. | |
| 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. |