SofaScore

SofaScore competition info

Returns a competition's metadata (name, sport, category, tier, title holder, most titles, current season dates, divisions above and below, linked competitions). When season is given it also returns that season's aggregates: number of competitors and, for football competitions, goals, home wins, away wins, draws, yellow and red cards and the promoted teams. Get id from search and season from tournament-seasons.

get/sofascore/tournament-info

Request

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

Query parameters

idstring required

Numeric SofaScore unique-tournament (competition) id

seasonstring

Numeric SofaScore season id. Omit for competition metadata only

Headers

x-api-keystring required

API key required

Response

OK

codeinteger
msgstring

Example response

{
  "code": 200,
  "data": {
    "season": {
      "id": 96668,
      "name": "Premier League 26/27",
      "newcomers_lower_division": [
        {
          "country": "Spain",
          "id": 2817,
          "name": "FC Barcelona",
          "short_name": "Barcelona",
          "slug": "barcelona"
        }
      ],
      "newcomers_other": [
        {
          "country": "Spain",
          "id": 2817,
          "name": "FC Barcelona",
          "short_name": "Barcelona",
          "slug": "barcelona"
        }
      ],
      "newcomers_upper_division": [
        {
          "country": "Spain",
          "id": 2817,
          "name": "FC Barcelona",
          "short_name": "Barcelona",
          "slug": "barcelona"
        }
      ],
      "year": "26/27"
    },
    "season_id": 96668,
    "tournament": {
      "category": "England",
      "current_season_end": "2027-05-23T00:00:00Z",
      "current_season_start": "2026-08-21T00:00:00Z",
      "gender": "M",
      "id": 17,
      "linked_tournaments": [
        {
          "id": 18,
          "name": "Championship",
          "slug": "championship"
        }
      ],
      "lower_divisions": [
        {
          "id": 18,
          "name": "Championship",
          "slug": "championship"
        }
      ],
      "most_titles_teams": [
        {
          "country": "Spain",
          "id": 2817,
          "name": "FC Barcelona",
          "short_name": "Barcelona",
          "slug": "barcelona"
        }
      ],
      "name": "Premier League",
      "slug": "premier-league",
      "sport": "football",
      "title_holder": {
        "country": "Spain",
        "id": 2817,
        "name": "FC Barcelona",
        "short_name": "Barcelona",
        "slug": "barcelona"
      },
      "upper_divisions": [
        {
          "id": 18,
          "name": "Championship",
          "slug": "championship"
        }
      ]
    },
    "tournament_id": 17
  },
  "msg": "OK"
}

Changes

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