SofaScore

SofaScore player transfer history

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.

get/sofascore/player-transfers

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/sofascore/player-transfers
  • Auth: API key in header x-api-key

Query parameters

idstring required

Numeric SofaScore player id

Headers

x-api-keystring required

API key required

Response

OK

codeinteger
msgstring

Example response

{
  "code": 200,
  "data": {
    "player_id": 839956,
    "transfers": [
      {
        "fee": 60000000,
        "fee_currency": "EUR",
        "fee_description": "60M €",
        "from_team": {
          "country": "Spain",
          "id": 2817,
          "name": "FC Barcelona",
          "short_name": "Barcelona",
          "slug": "barcelona"
        },
        "from_team_name": "Borussia Dortmund",
        "player": {
          "id": 839956,
          "jersey_number": "9",
          "name": "Erling Haaland",
          "position": "F",
          "short_name": "E. Haaland",
          "slug": "erling-haaland"
        },
        "to_team": {
          "country": "Spain",
          "id": 2817,
          "name": "FC Barcelona",
          "short_name": "Barcelona",
          "slug": "barcelona"
        },
        "to_team_name": "Manchester City",
        "transfer_date": "2022-07-01",
        "type_code": 3
      }
    ]
  },
  "msg": "OK"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.