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

Club statistics

A
GET /v1/teams/{id}/stats

Goals, clean sheets, half-time record

Goals, clean sheets, half-time record and results split by venue, over a season or the whole archive.

Plan

This endpoint needs Archive. Calling it on a lower plan returns a 403 naming the plan it needs and a link to pricing, never a bare refusal.

Parameters

team_id string path required
The club id. e.g. tm_1E5HXK9
season integer query
Season by its starting year. A 2024/25 season is 2024. e.g. 2024
venue string query
Restrict to home or away matches. Omit for both. e.g. home

Returns

data[].league_id string
Our id for the competition.
data[].country_name string
The country the competition belongs to.
data[].league_name string
The competition's name.
data[].matches integer
Matches counted.
data[].goals_per_game number
Goals per game.
data[].home_win_pct number
Home win, as a percentage.
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.
meta.group_by string
Group by.

Request

curl "https://api.footballsoccerapi.com/v1/teams/tm_1E5HXK9/stats?season=2024&venue=home" \
  -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": [
        {
            "league_id": "lg_2DGPHND",
            "country_name": "World",
            "league_name": "Friendlies Clubs",
            "matches": 40344,
            "goals_per_game": 3.36,
            "home_win_pct": 44.7
        },
        {
            "league_id": "lg_06VYC58",
            "country_name": "England",
            "league_name": "Championship",
            "matches": 18554,
            "goals_per_game": 2.58,
            "home_win_pct": 44.5
        },
        {
            "league_id": "lg_1869AE0",
            "country_name": "England",
            "league_name": "League One",
            "matches": 18291,
            "goals_per_game": 2.6,
            "home_win_pct": 44.2
        }
    ],
    "meta": {
        "data_as_of": "2026-10-29T04:32:57Z",
        "request_id": "01J9QW3C7M4KX2VB",
        "count": 3,
        "group_by": "league"
    }
}

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