SofaScore API endpoint
Lists every competition a player has played in, with id, name, slug, category, sport and gender. It includes competitions without season statistics (cups, friendlies, all-star games) that player-statistics-seasons leaves out. Returns 404 when SofaScore has no competitions for the player.
/sofascore/player-tournamentsQuery parameters:
id: required. Numeric SofaScore player id, e.g. 839956. Get it from sofascore-search or sofascore-team-players.Notable response behavior:
id, name, slug, category, sport and gender. It includes cups, friendlies and all-star games that have no season statistics, so it can be longer than sofascore-player-statistics-seasons.404 when SofaScore has no competitions for the player.| Field | Filled in, of 24 checked | Values in the sample |
|---|---|---|
| id | 24 | |
| name | 24 | “Premier League” and 23 other values |
| slug | 24 | |
| category | 24 | Europe (7), World (5), England (4) and 3 more |
| sport | 24 | football in all 24 |
| gender | 24 |
| 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-tournaments?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/unique-tournaments",
"fetched_at": "2026-10-07T00:00:00Z",
"count": 1,
"tournaments": [
{
"id": 17,
"name": "Premier League",
"slug": "premier-league",
"category": "England",
"sport": "football",
"gender": "M"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/sofascore.playerTournamentsResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | sofascore.PlayerTournamentsResponse | 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 | UniqueTournamentBrief record, 6 fields: category, gender, id, name, slug, sport. Described under SofaScore team competitions 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-tournaments?id=839956" \
-H "x-api-key: $CRAWLORA_API_KEY"