mfl_my_leagues
Retrieve every league you're in for a season, including your franchise ID required by other tools. Provide your MFL cookie to unlock this data and get the IDs needed for writes.
Instructions
Every league YOU are in, with your franchise id in each. Needs your cookie. The way to find the ids every other tool wants.
Returns: {leagues:{league:[{league_id, franchise_id, name, url}]}} — franchise_id is YOUR four-digit id in that league, which every write needs. Returns nothing useful without MFL_COOKIE.
Example: My leagues this season {"year": 2026}
Auth: works without a key; MFL_COOKIE unlocks more if set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| JSON | No | Leave as-is. | |
| TYPE | No | Leave as-is. | myleagues |
| year | Yes | Season year. Required — part of the URL path. | |
| FRANCHISE_NAMES | No | 1 also returns franchise names. |