SofaScore API endpoint
Returns a player's transfer history (clubs moved from and to, date, fee, and SofaScore's numeric transfer type code), newest first. An empty `transfers` list is a valid response for a player who has never moved clubs. Returns 404 when SofaScore has no transfer record for the player (seen for ice hockey and baseball players). The `type_code` values are SofaScore's own opaque codes and are not translated.
/sofascore/player-transfersQuery parameters:
id: required. Numeric SofaScore player id, e.g. 839956.Notable response behavior:
fee is in the currency given by fee_currency and is omitted when SofaScore has no figure; fee: 0 is a real value (a free move). fee_description is SofaScore's display text (for example 60M €).from_team and to_team are omitted when SofaScore has only a club name (from_team_name, to_team_name) for that move, which is common for youth and lower-league clubs.type_code is SofaScore's own opaque numeric code (seen: 1, 2, 3, 5, 7, 8, 10, 12, 13) and is returned untranslated.transfers array is a valid response for a player who has never moved clubs. Returns 404 when SofaScore has no transfer record for the player (seen for the ice hockey and baseball players checked).| Field | Filled in, of 5 checked | Values in the sample |
|---|---|---|
| id | 5 | |
| player | 5 | |
| from_team | 4 | |
| to_team | 5 | |
| from_team_name | 5 | “Borussia Dortmund” and 4 other values |
| to_team_name | 5 | “Manchester City” and 4 other values |
| type_code | 5 | |
| transfer_date | 5 | 2015-09-08 to 2022-07-01 |
| transfer_timestamp | 5 | 2015-09-08 to 2022-07-01 |
| fee | 5 | 0 to 60,000,000, median 8,000,000 |
| fee_currency | 5 | EUR in all 5 |
| fee_description | 5 | “60M €” and 4 other values |
| 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-transfers?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/transfer-history",
"fetched_at": "2026-07-08T00:00:00Z",
"count": 5,
"transfers": [
{
"id": 1404775,
"player": {
"id": 839956,
"name": "Erling Haaland",
"short_name": "E. Haaland",
"slug": "erling-haaland",
"position": "F",
"jersey_number": "9"
},
"from_team": {
"id": 2673,
"name": "Borussia Dortmund",
"short_name": "Dortmund",
"slug": "borussia-dortmund"
},
"to_team": {
"id": 17,
"name": "Manchester City",
"short_name": "Man City",
"slug": "manchester-city"
},
"from_team_name": "Borussia Dortmund",
"to_team_name": "Manchester City",
"type_code": 3,
"transfer_date": "2022-07-01",
"transfer_timestamp": 1656633600,
"fee": 60000000,
"fee_currency": "EUR",
"fee_description": "60M €"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/sofascore.playerTransfersResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | sofascore.PlayerTransfersResponse | No | ||||
| data.count | integer | No | ||||
| data.fetched_at | string | No | ||||
| data.player_id | integer | No | 839956 | |||
| data.source_url | string | No | ||||
| data.transfers | array | No | Transfer record, 30 fields: fee, fee_currency, fee_description, from_team, from_team_name, id, player, to_team, to_team_name, transfer_date, transfer_timestamp, type_code. Described under SofaScore team transfers 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-transfers?id=839956" \
-H "x-api-key: $CRAWLORA_API_KEY"