The API uses environment variables to launch API calls: {{USERNAME}} and {{TOKEN}}. You can set them from TRY IT OUT
id=974,1005,1609 returns details for the Australia A-League, Austria Bundesliga, and Denmark Superligaen.curl --location -g --request GET '/v2.2/leagues/?user={{USERNAME}}&token={{TOKEN}}&t=sort&ids=974, 1005, 1609'{
"data": [
{
"id": "974",
"name": "A-League",
"is_cup": "0",
"is_amateur": "0",
"is_friendly": "0",
"img": "https://cdn.soccersapi.com/images/soccer/leagues/100/974.png",
"id_current_season": "15682",
"id_current_stage": "1",
"id_current_round": "205550",
"continent": {
"id": "7",
"name": "Oceania"
},
"country": {
"id": "14",
"name": "Australia",
"cc": "au"
},
"seasons": []
},
{
"id": "1005",
"name": "Bundesliga",
"is_cup": "0",
"is_amateur": "0",
"is_friendly": "0",
"img": "https://cdn.soccersapi.com/images/soccer/leagues/100/1005.png",
"id_current_season": "15287",
"id_current_stage": "1",
"id_current_round": "198799",
"continent": {
"id": "2",
"name": "Europe"
},
"country": {
"id": "15",
"name": "Austria",
"cc": "at"
},
"seasons": []
},
{
"id": "1609",
"name": "Superligaen",
"is_cup": "0",
"is_amateur": "0",
"is_friendly": "0",
"img": "https://cdn.soccersapi.com/images/soccer/leagues/100/1609.png",
"id_current_season": "15238",
"id_current_stage": "1",
"id_current_round": "197735",
"continent": {
"id": "2",
"name": "Europe"
},
"country": {
"id": "37",
"name": "Denmark",
"cc": "dk"
},
"seasons": []
}
],
"meta": {
"requests_left": 958834,
"user": "soccersapi2",
"plan": "Soccer API +1000",
"pages": 1,
"page": 1,
"count": 0,
"total": 3,
"msg": null
}
}