SofaScore API endpoint
Lists the competitions and seasons a player 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 player-season-statistics. The `types` values are `overall`, `home`, `away`, `regular_season`, and `playoffs`. Returns 404 for players with no tracked statistics (for example tennis players).
/sofascore/player-statistics-seasonsQuery parameters:
id: required. Numeric SofaScore player id, e.g. 839956.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 player-season-statistics endpoint.types values are overall, home, away, regular_season, playoffs. Football players typically have overall, home and away (some seasons only a subset); basketball, ice hockey and baseball players have regular_season and, when played, playoffs.404 for players with no tracked statistics (for example tennis players).| Field | Filled in, of 19 checked | Values in the sample |
|---|---|---|
| unique_tournament_id | 19 | |
| name | 19 | “UEFA Champions League” and 18 other values |
| slug | 19 | |
| category | 19 | Europe (7), England (3), World (3) and 3 more |
| seasons | 19 | median 2 entries |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| id | string | Yes | Numeric SofaScore player id | 839956 | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/sofascore/player-statistics-seasons?id=839956" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"player_id": 839956,
"source_url": "https://api.sofascore.com/api/v1/player/839956/statistics/seasons",
"fetched_at": "2026-07-08T00:00:00Z",
"count": 19,
"tournaments": [
{
"unique_tournament_id": 10783,
"name": "UEFA Nations League",
"slug": "uefa-nations-league",
"category": "Europe",
"seasons": [
{
"id": 89945,
"name": "UEFA Nations League 26/27",
"year": "26/27",
"types": [
"overall",
"home",
"away"
]
}
]
}
]
}
}Request schema
No body schema
Response schema
#/definitions/sofascore.playerStatisticsSeasonsResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | sofascore.PlayerStatisticsSeasonsResponse | No | ||||
| data.count | integer | No | ||||
| data.fetched_at | string | No | ||||
| data.player_id | integer | No | 839956 | |||
| data.source_url | string | No | ||||
| data.tournaments | array | No | StatisticsTournament record, 9 fields: category, name, seasons, slug, unique_tournament_id. Described under SofaScore team statistics seasons API. | |||
| 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/player-statistics-seasons?id=839956" \
-H "x-api-key: $CRAWLORA_API_KEY"