xfl — ESPN reference
- sport slug:
football - league slug:
xfl - scopes:
universal - wrappers: 110
Every endpoint is called as sdv.xfl.espnXfl<Endpoint>(params). Each method is also available under its snake_case name (espn_xfl_<endpoint>) for parity with the Python / R packages. Parameters accept snake_case or camelCase. Required path params are marked *.
import sdv from 'sportsdataverse';
await sdv.xfl.espnXflScoreboard({});
Universal endpoints
| Method | HTTP | Path params | Query params |
|---|---|---|---|
espnXflAthleteAwards | core_v2 /football/leagues/xfl/athletes/{athlete_id}/awards | athlete_id* | — |
espnXflAthleteBio | site_v2 /football/xfl/athletes/{athlete_id}/bio | athlete_id* | — |
espnXflAthleteCareerStats | core_v2 /football/leagues/xfl/athletes/{athlete_id}/statistics[/{stat_type}] | athlete_id*, stat_type | — |
espnXflAthleteContracts | core_v2 /football/leagues/xfl/athletes/{athlete_id}/contracts | athlete_id* | — |
espnXflAthleteCore | core_v2 /football/leagues/xfl/athletes/{athlete_id} | athlete_id* | — |
espnXflAthleteEventlog | core_v2 /football/leagues/xfl/athletes/{athlete_id}/eventlog | athlete_id* | — |
espnXflAthleteGamelog | web_v3 /football/xfl/athletes/{athlete_id}/gamelog | athlete_id* | season |
espnXflAthleteInfo | site_v2 /football/xfl/athletes/{athlete_id} | athlete_id* | — |
espnXflAthleteInjuries | core_v2 /football/leagues/xfl/athletes/{athlete_id}/injuries | athlete_id* | — |
espnXflAthleteNews | site_v2 /football/xfl/athletes/{athlete_id}/news | athlete_id* | — |
espnXflAthleteNotes | core_v2 /football/leagues/xfl/athletes/{athlete_id}/notes | athlete_id* | — |
espnXflAthleteOverview | web_v3 /football/xfl/athletes/{athlete_id}/overview | athlete_id* | — |
espnXflAthleteRecords | core_v2 /football/leagues/xfl/athletes/{athlete_id}/records | athlete_id* | — |
espnXflAthleteSeasons | core_v2 /football/leagues/xfl/athletes/{athlete_id}/seasons | athlete_id* | — |
espnXflAthleteSplits | web_v3 /football/xfl/athletes/{athlete_id}/splits | athlete_id* | season |
espnXflAthleteStatisticslog | core_v2 /football/leagues/xfl/athletes/{athlete_id}/statisticslog | athlete_id* | — |
espnXflAthleteStats | web_v3 /football/xfl/athletes/{athlete_id}/stats | athlete_id* | season |
espnXflAthleteVsAthlete | core_v2 /football/leagues/xfl/athletes/{athlete_id}/vsathlete/{opp_id} | athlete_id*, opp_id* | — |
espnXflAthletesIndex | core_v2 /football/leagues/xfl/athletes | — | active, limit, page |
espnXflAward | core_v2 /football/leagues/xfl/awards/{award_id} | award_id* | — |
espnXflAwards | core_v2 /football/leagues/xfl/awards | — | — |
espnXflCalendar | site_v2 /football/xfl/calendar | — | — |
espnXflCoach | core_v2 /football/leagues/xfl/coaches/{coach_id} | coach_id* | — |
espnXflCoachRecord | core_v2 /football/leagues/xfl/coaches/{coach_id}/record/{record_type} | coach_id*, record_type | — |
espnXflCoachSeason | core_v2 /football/leagues/xfl/coaches/{coach_id}/seasons/{season} | coach_id*, season* | — |
espnXflConferences | site_v2 /football/xfl/groups | — | — |
espnXflDraft | site_v2 /football/xfl/draft | — | — |
espnXflEvent | core_v2 /football/leagues/xfl/events/{event_id} | event_id* | — |
espnXflEventBroadcasts | core_v2 /football/leagues/xfl/events/{event_id}/competitions/{cid}/broadcasts | event_id*, cid | — |
espnXflEventCompetition | core_v2 /football/leagues/xfl/events/{event_id}/competitions/{cid} | event_id*, cid | — |
espnXflEventCompetitor | core_v2 /football/leagues/xfl/events/{event_id}/competitions/{cid}/competitors/{team_id} | event_id*, team_id*, cid | — |
espnXflEventCompetitorLeaders | core_v2 /football/leagues/xfl/events/{event_id}/competitions/{cid}/competitors/{team_id}/leaders | event_id*, team_id*, cid | — |
espnXflEventCompetitorLinescores | core_v2 /football/leagues/xfl/events/{event_id}/competitions/{cid}/competitors/{team_id}/linescores | event_id*, team_id*, cid | — |
espnXflEventCompetitorRecord | core_v2 /football/leagues/xfl/events/{event_id}/competitions/{cid}/competitors/{team_id}/record | event_id*, team_id*, cid | — |
espnXflEventCompetitorRoster | core_v2 /football/leagues/xfl/events/{event_id}/competitions/{cid}/competitors/{team_id}/roster | event_id*, team_id*, cid | — |
espnXflEventCompetitorStatistics | core_v2 /football/leagues/xfl/events/{event_id}/competitions/{cid}/competitors/{team_id}/statistics | event_id*, team_id*, cid | — |
espnXflEventCompetitors | core_v2 /football/leagues/xfl/events/{event_id}/competitions/{cid}/competitors | event_id*, cid | — |
espnXflEventLeaders | core_v2 /football/leagues/xfl/events/{event_id}/competitions/{cid}/leaders | event_id*, cid | — |
espnXflEventOdds | core_v2 /football/leagues/xfl/events/{event_id}/competitions/{cid}/odds | event_id*, cid | — |
espnXflEventOfficialDetail | core_v2 /football/leagues/xfl/events/{event_id}/competitions/{cid}/officials/{official_id} | event_id*, official_id*, cid | — |
espnXflEventOfficials | core_v2 /football/leagues/xfl/events/{event_id}/competitions/{cid}/officials | event_id*, cid | — |
espnXflEventPlay | core_v2 /football/leagues/xfl/events/{event_id}/competitions/{cid}/plays/{play_id} | event_id*, play_id*, cid | — |
espnXflEventPlayPersonnel | core_v2 /football/leagues/xfl/events/{event_id}/competitions/{cid}/plays/{play_id}/personnel | event_id*, play_id*, cid | — |
espnXflEventPlays | core_v2 /football/leagues/xfl/events/{event_id}/competitions/{cid}/plays | event_id*, cid | limit |
espnXflEventPowerindex | core_v2 /football/leagues/xfl/events/{event_id}/competitions/{cid}/powerindex | event_id*, cid | — |
espnXflEventPredictor | core_v2 /football/leagues/xfl/events/{event_id}/competitions/{cid}/predictor | event_id*, cid | — |
espnXflEventProbabilities | core_v2 /football/leagues/xfl/events/{event_id}/competitions/{cid}/probabilities | event_id*, cid | limit |
espnXflEventPropbets | core_v2 /football/leagues/xfl/events/{event_id}/competitions/{cid}/propbets | event_id*, cid | — |
espnXflEventScoringplays | core_v2 /football/leagues/xfl/events/{event_id}/competitions/{cid}/scoringplays | event_id*, cid | — |
espnXflEventSituation | core_v2 /football/leagues/xfl/events/{event_id}/competitions/{cid}/situation | event_id*, cid | — |
espnXflEventStatus | core_v2 /football/leagues/xfl/events/{event_id}/competitions/{cid}/status | event_id*, cid | — |
espnXflEvents | core_v2 /football/leagues/xfl/events | — | dates, limit |
espnXflFranchise | core_v2 /football/leagues/xfl/franchises/{franchise_id} | franchise_id* | — |
espnXflFranchises | core_v2 /football/leagues/xfl/franchises | — | limit |
espnXflInjuries | site_v2 /football/xfl/injuries | — | — |
espnXflLeaders | web_v3 /football/xfl/statistics/byathlete | — | category, season, season_type → seasontype, limit, page, sort |
espnXflLeadersCore | core_v2 /football/leagues/xfl/leaders | — | — |
espnXflLeagueNotes | core_v2 /football/leagues/xfl/notes | — | — |
espnXflLeagueRoot | core_v2 /football/leagues/xfl | — | — |
espnXflNews | site_v2 /football/xfl/news | — | limit |
espnXflPosition | core_v2 /football/leagues/xfl/positions/{position_id} | position_id* | — |
espnXflPositions | core_v2 /football/leagues/xfl/positions | — | — |
espnXflScoreboard | site_v2 /football/xfl/scoreboard | — | dates, week, season_type → seasontype, groups, limit |
espnXflSeasonAthletes | core_v2 /football/leagues/xfl/seasons/{season}/athletes | season* | limit, page |
espnXflSeasonAwards | core_v2 /football/leagues/xfl/seasons/{season}/awards | season* | — |
espnXflSeasonCoaches | core_v2 /football/leagues/xfl/seasons/{season}/coaches | season* | limit |
espnXflSeasonDraft | core_v2 /football/leagues/xfl/seasons/{season}/draft | season* | — |
espnXflSeasonDraftRoundPicks | core_v2 /football/leagues/xfl/seasons/{season}/draft/rounds/{round_num}/picks | season*, round_num* | — |
espnXflSeasonFreeagents | core_v2 /football/leagues/xfl/seasons/{season}/freeagents | season* | — |
espnXflSeasonFutures | core_v2 /football/leagues/xfl/seasons/{season}/futures | season* | — |
espnXflSeasonGroup | core_v2 /football/leagues/xfl/seasons/{season}/types/{season_type}/groups/{group_id} | season*, season_type*, group_id* | — |
espnXflSeasonGroupChildren | core_v2 /football/leagues/xfl/seasons/{season}/types/{season_type}/groups/{group_id}/children | season*, season_type*, group_id* | — |
espnXflSeasonGroupTeams | core_v2 /football/leagues/xfl/seasons/{season}/types/{season_type}/groups/{group_id}/teams | season*, season_type*, group_id* | limit |
espnXflSeasonGroups | core_v2 /football/leagues/xfl/seasons/{season}/types/{season_type}/groups | season*, season_type* | — |
espnXflSeasonInfo | core_v2 /football/leagues/xfl/seasons/{season} | season* | — |
espnXflSeasonPointer | core_v2 /football/leagues/xfl/season | — | — |
espnXflSeasonPowerindex | core_v2 /football/leagues/xfl/seasons/{season}/powerindex[/{team_id}] | season*, team_id | — |
espnXflSeasonPowerindexLeaders | core_v2 /football/leagues/xfl/seasons/{season}/powerindex/leaders | season* | — |
espnXflSeasonTeam | core_v2 /football/leagues/xfl/seasons/{season}/teams/{team_id} | season*, team_id* | — |
espnXflSeasonTeams | core_v2 /football/leagues/xfl/seasons/{season}/teams | season* | limit |
espnXflSeasonType | core_v2 /football/leagues/xfl/seasons/{season}/types/{season_type} | season*, season_type* | — |
espnXflSeasonTypeCorrections | core_v2 /football/leagues/xfl/seasons/{season}/types/{season_type}/corrections | season*, season_type* | — |
espnXflSeasonTypeLeaders | core_v2 /football/leagues/xfl/seasons/{season}/types/{season_type}/leaders | season*, season_type* | — |
espnXflSeasonTypes | core_v2 /football/leagues/xfl/seasons/{season}/types | season* | — |
espnXflSeasonWeek | core_v2 /football/leagues/xfl/seasons/{season}/types/{season_type}/weeks/{week} | season*, season_type*, week* | — |
espnXflSeasonWeekEvents | core_v2 /football/leagues/xfl/seasons/{season}/types/{season_type}/weeks/{week}/events | season*, season_type*, week* | limit |
espnXflSeasonWeeks | core_v2 /football/leagues/xfl/seasons/{season}/types/{season_type}/weeks | season*, season_type* | — |
espnXflSeasons | core_v2 /football/leagues/xfl/seasons | — | limit |
espnXflStandings | site_v2_alt /football/xfl/standings | — | season, group, standings_type → type |
espnXflStandingsCore | core_v2 /football/leagues/xfl/standings | — | — |
espnXflStatisticsLeague | site_v2 /football/xfl/statistics | — | — |
espnXflSummary | site_v2 /football/xfl/summary | — | event_id → event |
espnXflTalentpicks | core_v2 /football/leagues/xfl/talentpicks | — | — |
espnXflTeam | site_v2 /football/xfl/teams/{team_id} | team_id* | — |
espnXflTeamCore | core_v2 /football/leagues/xfl/teams/{team_id} | team_id* | — |
espnXflTeamDepthcharts | site_v2 /football/xfl/teams/{team_id}/depthcharts | team_id* | — |
espnXflTeamHistory | site_v2 /football/xfl/teams/{team_id}/history | team_id* | — |
espnXflTeamInjuries | site_v2 /football/xfl/teams/{team_id}/injuries | team_id* | — |
espnXflTeamLeaders | site_v2 /football/xfl/teams/{team_id}/leaders | team_id* | — |
espnXflTeamNews | site_v2 /football/xfl/teams/{team_id}/news | team_id* | limit |
espnXflTeamRecord | site_v2 /football/xfl/teams/{team_id}/record | team_id* | — |
espnXflTeamRoster | site_v2 /football/xfl/teams/{team_id}/roster | team_id* | — |
espnXflTeamSchedule | site_v2 /football/xfl/teams/{team_id}/schedule | team_id* | season |
espnXflTeamTransactions | site_v2 /football/xfl/teams/{team_id}/transactions | team_id* | — |
espnXflTeamsCore | core_v2 /football/leagues/xfl/teams | — | limit |
espnXflTeamsSite | site_v2 /football/xfl/teams | — | limit |
espnXflTournaments | core_v2 /football/leagues/xfl/tournaments | — | — |
espnXflTransactions | site_v2 /football/xfl/transactions | — | — |
espnXflVenue | core_v2 /football/leagues/xfl/venues/{venue_id} | venue_id* | — |
espnXflVenues | core_v2 /football/leagues/xfl/venues | — | limit |
Parsed output: pass
{ parsed: true }to any endpoint above to get tidy rows instead of raw JSON. The columns are determined by each endpoint's parser — see ESPN parsed returns for the full column reference (and thesummarydispatcher's 21 sub-frames).