Get leagues for a user
get_leagueResolves a Sleeper username to a user ID and lists their NFL leagues for a season, exposing league IDs that can be used with the other draft tools.
Instructions
Resolve a Sleeper username to a user_id and list that user's NFL leagues for a season (defaults to the current NFL season). Use the returned league_id with the other tools.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| season | No | Season year, e.g. 2026. Defaults to the current NFL season. | |
| username | Yes | Sleeper username (not display name) |