espnfantasy_players
Retrieve fantasy player data for a season, including ownership percentage, position, and pro team. Apply filters to get more than the default 50 players.
Instructions
The player universe for a season (id, name, position, pro team, % owned). Defaults to 50 players — pass fantasy_filter to widen or filter.
Returns: [{id, fullName, firstName, lastName, defaultPositionId, eligibleSlots:[int], proTeamId, droppable, universeId, ownership:{percentOwned}}] (top-level array)
Example: Default slice (50 players) {"game": "ffl", "seasonId": 2025}
Auth: works without a key; ESPN_FANTASY_COOKIE unlocks more if set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| game | No | Fantasy game code. One of: ffl, flb, fba, fhl, wfba. | ffl |
| view | No | Leave as-is; `players_wl` is the only view this path serves. | |
| seasonId | Yes | Season year, e.g. 2025. Required — part of the URL path. | |
| fantasy_filter | No | ROOT-level filter object (NOT nested under "players" on this path), e.g. {"filterActive":{"value":true}}. A "limit" MUST be paired with a sort or the API 400s with FILTER_LIMIT_MISSING_SORT. |