Country List

get
Get Countries

https://api.footystats.org/country-list?key=YOURKEY
Returns a JSON array of Countries and its ISO numbers. Often called to get the ISO number for filtering the results of other endpoints.
Request
Response
Request
Query Parameters
key
required
string
Your API Key
Response
200: OK
Cake successfully retrieved.
{
success: true,
data: [
{
id: 4,
name: "Afghanistan"
},
{
id: 901,
name: "Africa"
},
{
id: 248,
name: "Åland Islands"
},
{
id: 8,
name: "Albania"
}...
]
}

Variable

Description

id

ID of the country

name

Name of the country