SofaScore

SofaScore player competitions

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.

get/sofascore/player-tournaments

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/sofascore/player-tournaments
  • 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,
    "tournaments": [
      {
        "category": "England",
        "gender": "M",
        "id": 17,
        "name": "Premier League",
        "slug": "premier-league",
        "sport": "football"
      }
    ]
  },
  "msg": "OK"
}

Changes

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