The API uses environment variables to launch API calls: {{USERNAME}} and {{TOKEN}}. You can set them from TRY IT OUT
curl --location --globoff '/v2.2/venues/?t=byseason&user={{USERNAME}}&token={{TOKEN}}&season_id=1'{
"data": [
{
"id": 2333,
"name": "Anfield",
"capacity": 54074,
"city": "Liverpool",
"address": null,
"img": "https://cdn.soccersapi.com/images/soccer/venues/2333.png",
"coordinates": {
"lat": "53.430622",
"long": "-2.960919"
},
"country": {
"id": 3,
"name": "England",
"continent": "Europe",
"sub_region": null,
"long": null,
"lat": null,
"img": "https://cdn.soccersapi.com/images/countries/30/en.png",
"code": "en",
"cc": "en"
}
}
],
"meta": {
"requests_left": 991055,
"user": "soccersapi2",
"plan": "Soccer API +1000",
"pages": 1,
"page": 1,
"count": 20,
"total": 20,
"msg": ""
}
}