SofaScore

SofaScore team statistics seasons

Lists the competitions and seasons a team 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 team-season-statistics. The types values are overall, home, away, regular_season, and playoffs. Returns 404 for teams with no tracked statistics.

get/sofascore/team-statistics-seasons

Request

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

Query parameters

idstring required

Numeric SofaScore team id

Headers

x-api-keystring required

API key required

Response

OK

codeinteger
msgstring

Example response

{
  "code": 200,
  "data": {
    "team_id": 17,
    "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.