espnfantasy_matchups
Retrieve a fantasy league's complete head-to-head matchup schedule for a season, including total points and per-period scoring for each team.
Instructions
Full season schedule of head-to-head fantasy matchups with each side's total and per-period points.
Returns: {schedule:[{id, matchupPeriodId, winner:'HOME'|'AWAY'|'UNDECIDED', home:{teamId, totalPoints, gamesPlayed, pointsByScoringPeriod:{'1':98.4}}, away:{…}}]}
Example: Every matchup in the season {"game": "ffl", "seasonId": 2018, "leagueId": 1234}
Auth: works without a key; ESPN_FANTASY_COOKIE unlocks more if set.
Also answers this: sleeper_matchups, sleeper_playoff_bracket.
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. |