espnfantasy_teams
Access ESPN fantasy team records, points for/against, playoff seed, and projected rank. Supply league ID and season year to get standings and owner info.
Instructions
Fantasy teams with records, points for/against, playoff seed and projected rank.
Returns: {teams:[{id, abbrev, name, owners, primaryOwner, divisionId, playoffSeed, points, pointsAdjusted, currentProjectedRank, rankCalculatedFinal, record:{overall:{wins,losses,ties,pointsFor,pointsAgainst}}, transactionCounter, waiverRank}], members:[{id, displayName, firstName, lastName}]}
Example: All fantasy teams + records {"game": "ffl", "seasonId": 2018, "leagueId": 1234}
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. | |
| leagueId | Yes | League id. Required — part of the URL path. | |
| seasonId | Yes | Season year (>= 2018). Required — part of the URL path. |