v1
latestOpenAPI 3.0.02026-07-2678105413.1 KBV2 API List
List Teams by League ID
List all teams in a paritcular league by its unique ID.
get/list/teams/{idLeague}
Path parameters
idLeagueinteger required
The ID of the league to list teams for.
Response
List of teams in the specified league
Example response
{
"list": [
{
"idTeam": "133612",
"strTeam": "Manchester United",
"idLeague": "4328",
"strLeague": "English Premier League",
"strBadge": "https://r2.thesportsdb.com/images/media/team/badge/xzqdr11517660252.png",
"strCountry": "England",
"strGender": "Male",
"strLocation": "Trafford, Greater Manchester",
"strSport": "Soccer"
}
]
}