SofaScore

SofaScore team detail

Returns one SofaScore team by numeric id: name, short name, country, sport, manager, venue with its city and capacity, primary colour, and national-team flag. tournament_id and tournament_name give the team's primary competition, such as its domestic league. An unknown id returns an upstream error.

get/sofascore/team

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/sofascore/team
  • 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": {
      "country": "Spain",
      "id": 2817,
      "name": "FC Barcelona",
      "short_name": "Barcelona",
      "slug": "barcelona",
      "sport": "Football"
    }
  },
  "msg": "OK"
}

Changes

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