Leagues and seasons
v3_leagueList league IDs across football and other sports, or get a league's current season ID and past winners for standings, matches, player, and news queries.
Instructions
List the football leagues with their ids, or get one league's current season id and past seasons with winners.
Call it without league_id to find an id (Iranian Pro League 6, Premier League 3, La Liga 2, Serie A 4...) for v3_standings, v3_league_matches, v3_top_players and v3_news. That list is the site's short menu: any league_id shown by v3_scores works too (e.g. 55 Portuguese league, 35 Turkish Super League, 17 English Championship). With league_id it returns season ids and who won each season (football only); the other tools default to the current season. Other sports: pass sport="futsal" (league 27), "volleyball" (33), "basketball" (32 league, 209 NBA) or "handball" (4); v3_standings, v3_league_matches and v3_news take the same sport argument.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sport | No | Sport of the league (default football); league ids are per sport. | football |
| league_id | No | League id; omit to list the main leagues and their ids. |