Endpoint
Path parameters
Query parameters
Response (200)
This page is generated from the live API contract at
https://api.thestatsapi.com/llms.txt.Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Retrieve team statistics for a competition season, including stage/group filters and league-table summary fields.
GET https://api.thestatsapi.com/api/football/teams/{team_id}/stats
| Name | Type | Required | Description |
|---|---|---|---|
team_id | string | Yes | Example: tm_0406 |
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
season_id | string | Yes | Example: sn_6125938 |
{
"data": {
"team_id": "tm_0406",
"season_id": "sn_6125938",
"competition_id": "comp_3039",
"matches_played": 38,
"wins": 23,
"draws": 6,
"losses": 9,
"points": 75,
"position": 3,
"goals_for": 58,
"goals_against": 43,
"goal_difference": 15,
"form": "WWDLW"
}
}
https://api.thestatsapi.com/llms.txt.