espnfantasy_player_card
Retrieve ESPN fantasy player cards with full-season and per-period stat splits, including actual and projected stats. Use player filter IDs to target specific players for detailed analysis.
Instructions
Deep card for specific players — full season + per-period stat splits and projections, as the site's player popup shows.
Returns: {players:[{id, player:{fullName, stats:[{id, seasonId, scoringPeriodId, statSourceId:0|1, statSplitTypeId, appliedTotal, appliedAverage, stats:{…}}]}}]} — statSourceId 0=actual, 1=projected
Example: Season + projection splits for one player {"game": "ffl", "seasonId": 2018, "leagueId": 1234, "fantasy_filter": {"players": {"filterIds": {"value": [15825]}, "filterStatsForTopScoringPeriodIds": {"value": 16, "additionalValue": ["002018", "102018"]}}}}
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. | |
| fantasy_filter | No | REQUIRED to target players. {"players":{"filterIds":{"value":[3139477]},"filterStatsForTopScoringPeriodIds":{"value":16,"additionalValue":["002025","102025"]}}} — additionalValue ids are "00"+season (actual) and "10"+season (projected). |