SofaScore

SofaScore standings

Returns a league table for a competition season. The type enum accepts total, home, and away. Get id from search and season from tournament-seasons.

get/sofascore/standings

Request

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

Query parameters

idstring required

Numeric SofaScore unique-tournament (competition) id

seasonstring required

Numeric SofaScore season id

type'total' | 'home' | 'away' required

Standings variant

Headers

x-api-keystring required

API key required

Response

OK

codeinteger
msgstring

Example response

{
  "code": 200,
  "data": {
    "groups": [
      {
        "rows": [
          {
            "promotion": "Champions League",
            "team": {
              "country": "Spain",
              "id": 2817,
              "name": "FC Barcelona",
              "short_name": "Barcelona",
              "slug": "barcelona"
            }
          }
        ]
      }
    ],
    "type": "total"
  },
  "msg": "OK"
}

Changes

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