SofaScore

SofaScore player season statistics

Returns a player's statistics for one competition season (appearances, rating, goals, assists, passing, duels, and more) as a snake_case metric map, plus the team and a rating breakdown when available. The type enum accepts overall, home, away, regular_season, and playoffs and defaults to overall; only the types listed for that season by player-statistics-seasons exist (football players have overall, home, away; basketball, ice hockey and baseball players have regular_season and playoffs). Returns 404 when SofaScore has no statistics of that type for the combination.

get/sofascore/player-season-statistics

Request

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

Query parameters

idstring required

Numeric SofaScore player id

tournament_idstring required

Numeric SofaScore unique-tournament (competition) id from player-statistics-seasons

seasonstring required

Numeric SofaScore season id from player-statistics-seasons

type'overall' | 'home' | 'away' | 'regular_season' | 'playoffs'

Statistics view

Headers

x-api-keystring required

API key required

Response

OK

codeinteger
msgstring

Example response

{
  "code": 200,
  "data": {
    "player_id": 839956,
    "season": 96668,
    "team": {
      "country": "Spain",
      "id": 2817,
      "name": "FC Barcelona",
      "short_name": "Barcelona",
      "slug": "barcelona"
    },
    "tournament_id": 17,
    "type": "overall"
  },
  "msg": "OK"
}

Changes

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