SofaScore

SofaScore team season statistics

Returns a team's statistics for one competition season (goals, shots, passing, duels, discipline, and the matching conceded-side metrics) as a snake_case metric map. The type enum accepts overall, home, away, regular_season, and playoffs and defaults to overall; only the types listed for that season by team-statistics-seasons exist (football teams have overall only; basketball, ice hockey and baseball teams have regular_season and playoffs). Returns 404 when SofaScore has no statistics of that type for the combination.

get/sofascore/team-season-statistics

Request

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

Query parameters

idstring required

Numeric SofaScore team id

tournament_idstring required

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

seasonstring required

Numeric SofaScore season id from team-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": {
    "season": 96668,
    "team_id": 17,
    "tournament_id": 17,
    "type": "overall"
  },
  "msg": "OK"
}

Changes

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