SofaScore

SofaScore player detail

Returns one SofaScore player by numeric id: name, short name, position, jersey number, date of birth, height, preferred foot, country, market value and currency, and the current team. deceased is true for historical players. An unknown or malformed id returns an upstream error.

get/sofascore/player

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/sofascore/player
  • 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": {
      "team": {
        "country": "Spain",
        "id": 2817,
        "name": "FC Barcelona",
        "short_name": "Barcelona",
        "slug": "barcelona"
      }
    }
  },
  "msg": "OK"
}

Changes

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