SofaScore

SofaScore player statistics seasons

Lists the competitions and seasons a player has statistics for, with the statistics types available for each season. Use a returned competition id (unique_tournament_id), season id and one of its types with player-season-statistics. The types values are overall, home, away, regular_season, and playoffs. Returns 404 for players with no tracked statistics (for example tennis players).

get/sofascore/player-statistics-seasons

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/sofascore/player-statistics-seasons
  • 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",
        "name": "Premier League",
        "seasons": [
          {
            "id": 96668,
            "name": "Premier League 26/27",
            "year": "26/27"
          }
        ],
        "slug": "premier-league",
        "unique_tournament_id": 17
      }
    ]
  },
  "msg": "OK"
}

Changes

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