> ## 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/competitions/{competition_id}

> Retrieve details for a competition, including country, type, current season, teams, and data availability flags.

Get competition details

## Endpoint

```text theme={null}
GET https://api.thestatsapi.com/api/football/competitions/{competition_id}
```

## Path parameters

| Name             | Type   | Required | Description          |
| ---------------- | ------ | -------- | -------------------- |
| `competition_id` | string | Yes      | Example: `comp_3039` |

## Response (200)

```json theme={null}
{
  "data": {
    "id": "comp_3039",
    "name": "Premier League",
    "country": "England",
    "country_code": "GB",
    "subdivision_code": "GB-ENG",
    "confederation": null,
    "type": "league",
    "has_team_stats": true,
    "has_player_stats": true,
    "odds_available": true,
    "live_odds_available": true,
    "xg_available": true,
    "current_season_id": "sn_6125938",
    "total_teams": 20
  }
}
```

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