SofaScore API endpoint
Lists the competitions and seasons a team has statistics for, with the statistics `types` available for each season. Use a returned competition id (`unique_tournament_id`), season `id` and one of its `types` with team-season-statistics. The `types` values are `overall`, `home`, `away`, `regular_season`, and `playoffs`. Returns 404 for teams with no tracked statistics.
/sofascore/team-statistics-seasonsQuery parameters:
id: required. Numeric SofaScore team id, e.g. 17.Notable response behavior:
tournaments[] entry has the competition id (unique_tournament_id) and its seasons; each season has the season id and the types available for it. Pass them as tournament_id, season and type to the team-season-statistics endpoint.types values are overall, home, away, regular_season, playoffs. Football teams have overall only; basketball and ice hockey teams have regular_season and, when played, playoffs (some preseason competitions use overall).404 for teams with no tracked statistics (for example some baseball teams).| Field | Filled in, of 7 checked | Values in the sample |
|---|---|---|
| unique_tournament_id | 7 | |
| name | 7 | “UEFA Champions League” and 6 other values |
| slug | 7 | |
| category | 7 | England (3), Europe (2), World (2) |
| seasons | 7 | median 7 entries |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| id | string | Yes | Numeric SofaScore team id | 17 | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/sofascore/team-statistics-seasons?id=17" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"team_id": 17,
"source_url": "https://api.sofascore.com/api/v1/team/17/team-statistics/seasons",
"fetched_at": "2026-07-08T00:00:00Z",
"count": 5,
"tournaments": [
{
"unique_tournament_id": 17,
"name": "Premier League",
"slug": "premier-league",
"category": "England",
"seasons": [
{
"id": 96668,
"name": "Premier League 26/27",
"year": "26/27",
"types": [
"overall"
]
}
]
}
]
}
}Request schema
No body schema
Response schema
#/definitions/sofascore.teamStatisticsSeasonsResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | sofascore.TeamStatisticsSeasonsResponse | No | ||||
| data.count | integer | No | ||||
| data.fetched_at | string | No | ||||
| data.source_url | string | No | ||||
| data.team_id | integer | No | 17 | |||
| data.tournaments | array | No | ||||
| data.tournaments[].category | string | No | England | |||
| data.tournaments[].name | string | No | Premier League | |||
| data.tournaments[].seasons | array | No | ||||
| data.tournaments[].seasons[].id | integer | No | 96668 | |||
| data.tournaments[].seasons[].name | string | No | Premier League 26/27 | |||
| data.tournaments[].seasons[].types | array | No | ||||
| data.tournaments[].seasons[].year | string | No | 26/27 | |||
| data.tournaments[].slug | string | No | premier-league | |||
| data.tournaments[].unique_tournament_id | integer | No | 17 | |||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 404 | Not Found | #/definitions/app.Response |
| 429 | Too Many Requests | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/sofascore/team-statistics-seasons?id=17" \
-H "x-api-key: $CRAWLORA_API_KEY"