view

View stadium with its data ⬜ 🟨 🟦 🟩

GET https://api.soccerfootball.info/v1/stadiums/view/?i=ID

This endpoint returns with stadium data a and last 5 matches If this entity has has_image to true, you can access/download the entity media; see te instruction inside FAQ. The parameter l must be a language code getted from languages/list endpoint. Some elements such as championship and team names can be translated

Query Parameters

Name
Type
Description

t

string

Your API Token DIRECT API ONLY

i

string

Stadium ID

l

string

Language code (default value is "en_US")

Headers

Name
Type
Description

X-RapidAPI-Key

string

Your API token RAPIDAPI ONLY

X-RapidAPI-Host

string

soccerfootballinfo.rapidapi.com RAPIDAPI ONLY

{
   "status":200,
   "errors":[],
   "pagination":[],
   "result":[
      {
         "id":"5fb96978c469c28a",
         "name":"Giuseppe Meazza",
         "city":"Milan",
         "country":"IT",
         "capacity":"80018",
         "geocoords":"45.478025,9.124206",
         "has_image":false,
         "last_matches":[ // last 5 macthes
            {
               "id":"5febc3461e382392",
               "date_match":"2021-01-06 19:45:00",
               "championship":{
                  "id":"5fda5fab11fbd288",
                  "name":"Italy Serie A",
                  "s_name":"Serie A 20/21"
               },
               "teamA":{
                  "id":"5fda5fcad92584cd",
                  "name":"AC Milan",
                  "score":"1"
               },
               "teamB":{
                  "id":"5fda603ef024cb64",
                  "name":"Juventus",
                  "score":"3"
               }
            },
            ...
         ]
      }
   ]
}

Example of code for direct API

Example of code for RapidAPI

More example of code on rapidAPI

Last updated

Was this helpful?