espnfantasy_league_settings
Fetch ESPN fantasy league settings: scoring, roster slots, schedule, waivers, keepers, trades. Provide league ID and season.
Instructions
League rules: name, size, scoring items, roster slots, schedule/playoff format, waiver + keeper + trade settings.
Returns: {settings:{name, size, isPublic, draftSettings, rosterSettings:{lineupSlotCounts}, scoringSettings:{scoringItems:[{statId, points}]}, scheduleSettings, tradeSettings, acquisitionSettings}, status}
Example: Scoring + roster rules for a league {"game": "ffl", "seasonId": 2018, "leagueId": 1234}
Auth: works without a key; ESPN_FANTASY_COOKIE unlocks more if set.
Also answers this: sleeper_league.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| game | No | Fantasy game code. One of: ffl, flb, fba, fhl, wfba. | ffl |
| view | No | Leave as-is. | |
| leagueId | Yes | League id. Required — part of the URL path. | |
| seasonId | Yes | Season year (>= 2018). Required — part of the URL path. |