SofaScore

SofaScore venue

Returns one venue (stadium or arena): name, capacity, city, country, coordinates, its home teams, the venue-wide match totals (matches, goals, home and away win shares, and for football cards and corners per game) and a per-sport record in sports, most matches first. hidden venues, such as NBA arenas, have no venue-wide match list in venue-events and are listed per competition season instead. An unknown venue id answers 404. Get id from search-typed with type venues, from tournament-venues or from an event's venue.

get/sofascore/venue

Request

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

Query parameters

idstring required

Numeric SofaScore venue id

Headers

x-api-keystring required

API key required

Response

OK

codeinteger
msgstring

Example response

{
  "code": 200,
  "data": {
    "main_teams": [
      {
        "country": "Spain",
        "id": 2817,
        "name": "FC Barcelona",
        "short_name": "Barcelona",
        "slug": "barcelona"
      }
    ],
    "sports": [
      {
        "sport": "football",
        "total_matches": 415
      }
    ],
    "venue": {
      "capacity": 60704,
      "city": "London",
      "country": "England",
      "id": 624,
      "name": "Emirates Stadium",
      "slug": "emirates-stadium",
      "state": "US-TX"
    }
  },
  "msg": "OK"
}

Changes

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