> ## Documentation Index
> Fetch the complete documentation index at: https://www.thestatsapi.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# GET /football/teams/{team_id}/stats

> Retrieve team statistics for a competition season, including stage/group filters and league-table summary fields.

Get team statistics

## Endpoint

```text theme={null}
GET https://api.thestatsapi.com/api/football/teams/{team_id}/stats
```

## Path parameters

| Name      | Type   | Required | Description        |
| --------- | ------ | -------- | ------------------ |
| `team_id` | string | Yes      | Example: `tm_0406` |

## Query parameters

| Name        | Type   | Required | Default | Description           |
| ----------- | ------ | -------- | ------- | --------------------- |
| `season_id` | string | Yes      |         | Example: `sn_6125938` |

## Response (200)

```json theme={null}
{
  "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"
  }
}
```

<Note>
  This page is generated from the live API contract at `https://api.thestatsapi.com/llms.txt`.
</Note>
