The free key reads yesterday again: our one-month trial of today on the free key has finished. Read the changelog

Countries

F
GET /v1/countries

Every country, with league and match counts

All 95 countries with their competition count, match count and the seasons covered. This is the natural first call: it tells you what exists before you filter anything.

Plan

This endpoint needs Free key. It works on the free key, which reads yesterday, as one whole day.

Parameters

limit integer query
Rows per page, 1–1000. Defaults to 100. e.g. 100
page integer query
Page number, 1-based. The response carries total, total_pages, next_page and prev_page, so a UI pager has everything it needs from one call. If you send both page and cursor, page wins. e.g. 2
cursor string query
Opaque cursor from meta.next_cursor. Pages by sort position rather than offset, so page 10,000 is as fast as page 1 and a new match arriving cannot shift the boundary. Pass it back unchanged; do not build or parse one yourself.

Returns

data[].country_name string
The country the competition belongs to.
data[].league_count integer
League count.
data[].match_count integer
Match count.
data[].season_first integer
Season first.
data[].season_last integer
Season last.
meta.data_as_of string
When the data behind this answer was last brought up to date.
meta.request_id string
This request's id, to quote to support.
meta.count integer
How many items are in this answer.

Request

curl "https://api.footballsoccerapi.com/v1/countries?limit=100&page=2" \
  -H "X-API-Key: $FSAPI_KEY"

Example response

A real row from the archive, fetched when this page rendered. Run it against your own key below.

200 OK application/json
{
    "data": [
        {
            "country_name": "England",
            "league_count": 46,
            "match_count": 151951,
            "season_first": 1888,
            "season_last": 2026
        },
        {
            "country_name": "World",
            "league_count": 313,
            "match_count": 131698,
            "season_first": 1872,
            "season_last": 2027
        },
        {
            "country_name": "Spain",
            "league_count": 39,
            "match_count": 88450,
            "season_first": 1993,
            "season_last": 2026
        }
    ],
    "meta": {
        "data_as_of": "2026-10-29T04:32:57Z",
        "request_id": "01J9QW3C7M4KX2VB",
        "count": 3
    }
}

Run it live

Paste your key and fire the real request. The key is kept in this browser only and never sent anywhere but the API.

Get a key
GET