supercoach_leagues
Fetch public SuperCoach leagues for a sport, season, and game mode to discover their competition IDs and league types.
Instructions
The game's public/featured leagues for one sport+season+mode — each with name, code, type, competition_id, experience, description and sponsor metadata. Useful to discover competition_ids and the league types on offer.
Returns: array of {id, name, code, type, competition_id, experience, description, sponsor_filename, sponsor_content}
Example: AFL classic leagues {"sport": "afl", "year": 2026}
Auth: none needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Game mode: `classic` (the salary-cap game — default, all 7 sports) or `draft` (the draft league variant — afl/nrl/nba/epl; adds a top-level predraft_rank + player_stats.position_ranks to each player). Same response shape otherwise. | classic |
| year | Yes | Season key (NOT always the calendar year). afl/nrl = current calendar year (2026 now). epl/nba/nbl/nfl/bbl = the season's year, currently 2025 (2024 archived). When unsure, try the current year, then the prior year if the feed is empty. Required — part of the URL path. | |
| sport | Yes | Which SuperCoach game: afl | nrl | epl | nba | nbl | nfl | bbl. Response shape is identical across all seven; only the per-player stat columns differ. Required — part of the URL path. |