SofaScore

SofaScore teams of a competition season

Returns every team (or, for tennis and other individual sports, every player) entered in a competition season, with id, name, short name, name code, country, gender, type (0 team, 1 individual player) and, for individual players, the current ranking. Use the team ids with team, team-players and the team filter of tournament-player-statistics. A season id that does not belong to the competition, or a field not yet decided, answers 404. Get id from search and season from tournament-seasons.

get/sofascore/tournament-teams

Request

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

Query parameters

idstring required

Numeric SofaScore unique-tournament (competition) id

seasonstring required

Numeric SofaScore season id

Headers

x-api-keystring required

API key required

Response

OK

codeinteger
msgstring

Example response

{
  "code": 200,
  "data": {
    "teams": [
      {
        "country": "England",
        "country_code": "EN",
        "gender": "M",
        "id": 42,
        "name": "Arsenal",
        "name_code": "ARS",
        "short_name": "Arsenal",
        "slug": "arsenal",
        "sport": "football"
      }
    ]
  },
  "msg": "OK"
}

Changes

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