SofaScore

SofaScore player statistics table filters

Returns what the tournament-player-statistics table of a football competition season can be filtered by: the season's teams (ids for the team filter), the nationality codes (for the nationality filter; SofaScore uses EN, SX, WA and NX for the home nations), the position codes G, D, M and F (for the position filter), and the statistic columns of each group value (summary, attack, defence, passing, goalkeeper). Other sports answer 404. Get id from search and season from tournament-seasons.

get/sofascore/tournament-statistics-info

Request

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

Query parameters

idstring required

Numeric SofaScore unique-tournament (competition) id of a football competition

seasonstring required

Numeric SofaScore season id

Headers

x-api-keystring required

API key required

Response

OK

codeinteger
msgstring

Example response

{
  "code": 200,
  "data": {
    "nationalities": [
      {
        "code": "EN",
        "name": "England"
      }
    ],
    "positions": [
      {
        "code": "EN",
        "name": "England"
      }
    ],
    "teams": [
      {
        "country": "Spain",
        "id": 2817,
        "name": "FC Barcelona",
        "short_name": "Barcelona",
        "slug": "barcelona"
      }
    ]
  },
  "msg": "OK"
}

Changes

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