Countries
list_countries[FREE] Every country in the database, with its FIFA code and id.
Use it to turn a country name into the id and FIFA code the rest of the data is keyed
by, or to check which countries are covered at all. Search with q, which matches a
name prefix or an exact FIFA code ("ENG"). Countries that no longer exist are included
and flagged, because the match archive still holds their games.
Free: no key needed, and it costs a key holder nothing either.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Country name prefix, or an exact FIFA code such as ENG or BRA. | |
| limit | No | How many countries to return. Default 25; the total is always reported. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Countries 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. |