Skip to main content

laliga — ESPN reference

  • sport slug: soccer
  • league slug: esp.1
  • scopes: universal
  • wrappers: 110

Every endpoint is called as sdv.laliga.espnLaliga<Endpoint>(params). Each method is also available under its snake_case name (espn_laliga_<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.laliga.espnLaligaScoreboard({});

Universal endpoints

MethodHTTPPath paramsQuery params
espnLaligaAthleteAwardscore_v2 /soccer/leagues/esp.1/athletes/{athlete_id}/awardsathlete_id*
espnLaligaAthleteBiosite_v2 /soccer/esp.1/athletes/{athlete_id}/bioathlete_id*
espnLaligaAthleteCareerStatscore_v2 /soccer/leagues/esp.1/athletes/{athlete_id}/statistics[/{stat_type}]athlete_id*, stat_type
espnLaligaAthleteContractscore_v2 /soccer/leagues/esp.1/athletes/{athlete_id}/contractsathlete_id*
espnLaligaAthleteCorecore_v2 /soccer/leagues/esp.1/athletes/{athlete_id}athlete_id*
espnLaligaAthleteEventlogcore_v2 /soccer/leagues/esp.1/athletes/{athlete_id}/eventlogathlete_id*
espnLaligaAthleteGamelogweb_v3 /soccer/esp.1/athletes/{athlete_id}/gamelogathlete_id*season
espnLaligaAthleteInfosite_v2 /soccer/esp.1/athletes/{athlete_id}athlete_id*
espnLaligaAthleteInjuriescore_v2 /soccer/leagues/esp.1/athletes/{athlete_id}/injuriesathlete_id*
espnLaligaAthleteNewssite_v2 /soccer/esp.1/athletes/{athlete_id}/newsathlete_id*
espnLaligaAthleteNotescore_v2 /soccer/leagues/esp.1/athletes/{athlete_id}/notesathlete_id*
espnLaligaAthleteOverviewweb_v3 /soccer/esp.1/athletes/{athlete_id}/overviewathlete_id*
espnLaligaAthleteRecordscore_v2 /soccer/leagues/esp.1/athletes/{athlete_id}/recordsathlete_id*
espnLaligaAthleteSeasonscore_v2 /soccer/leagues/esp.1/athletes/{athlete_id}/seasonsathlete_id*
espnLaligaAthleteSplitsweb_v3 /soccer/esp.1/athletes/{athlete_id}/splitsathlete_id*season
espnLaligaAthleteStatisticslogcore_v2 /soccer/leagues/esp.1/athletes/{athlete_id}/statisticslogathlete_id*
espnLaligaAthleteStatsweb_v3 /soccer/esp.1/athletes/{athlete_id}/statsathlete_id*season
espnLaligaAthleteVsAthletecore_v2 /soccer/leagues/esp.1/athletes/{athlete_id}/vsathlete/{opp_id}athlete_id*, opp_id*
espnLaligaAthletesIndexcore_v2 /soccer/leagues/esp.1/athletesactive, limit, page
espnLaligaAwardcore_v2 /soccer/leagues/esp.1/awards/{award_id}award_id*
espnLaligaAwardscore_v2 /soccer/leagues/esp.1/awards
espnLaligaCalendarsite_v2 /soccer/esp.1/calendar
espnLaligaCoachcore_v2 /soccer/leagues/esp.1/coaches/{coach_id}coach_id*
espnLaligaCoachRecordcore_v2 /soccer/leagues/esp.1/coaches/{coach_id}/record/{record_type}coach_id*, record_type
espnLaligaCoachSeasoncore_v2 /soccer/leagues/esp.1/coaches/{coach_id}/seasons/{season}coach_id*, season*
espnLaligaConferencessite_v2 /soccer/esp.1/groups
espnLaligaDraftsite_v2 /soccer/esp.1/draft
espnLaligaEventcore_v2 /soccer/leagues/esp.1/events/{event_id}event_id*
espnLaligaEventBroadcastscore_v2 /soccer/leagues/esp.1/events/{event_id}/competitions/{cid}/broadcastsevent_id*, cid
espnLaligaEventCompetitioncore_v2 /soccer/leagues/esp.1/events/{event_id}/competitions/{cid}event_id*, cid
espnLaligaEventCompetitorcore_v2 /soccer/leagues/esp.1/events/{event_id}/competitions/{cid}/competitors/{team_id}event_id*, team_id*, cid
espnLaligaEventCompetitorLeaderscore_v2 /soccer/leagues/esp.1/events/{event_id}/competitions/{cid}/competitors/{team_id}/leadersevent_id*, team_id*, cid
espnLaligaEventCompetitorLinescorescore_v2 /soccer/leagues/esp.1/events/{event_id}/competitions/{cid}/competitors/{team_id}/linescoresevent_id*, team_id*, cid
espnLaligaEventCompetitorRecordcore_v2 /soccer/leagues/esp.1/events/{event_id}/competitions/{cid}/competitors/{team_id}/recordevent_id*, team_id*, cid
espnLaligaEventCompetitorRostercore_v2 /soccer/leagues/esp.1/events/{event_id}/competitions/{cid}/competitors/{team_id}/rosterevent_id*, team_id*, cid
espnLaligaEventCompetitorStatisticscore_v2 /soccer/leagues/esp.1/events/{event_id}/competitions/{cid}/competitors/{team_id}/statisticsevent_id*, team_id*, cid
espnLaligaEventCompetitorscore_v2 /soccer/leagues/esp.1/events/{event_id}/competitions/{cid}/competitorsevent_id*, cid
espnLaligaEventLeaderscore_v2 /soccer/leagues/esp.1/events/{event_id}/competitions/{cid}/leadersevent_id*, cid
espnLaligaEventOddscore_v2 /soccer/leagues/esp.1/events/{event_id}/competitions/{cid}/oddsevent_id*, cid
espnLaligaEventOfficialDetailcore_v2 /soccer/leagues/esp.1/events/{event_id}/competitions/{cid}/officials/{official_id}event_id*, official_id*, cid
espnLaligaEventOfficialscore_v2 /soccer/leagues/esp.1/events/{event_id}/competitions/{cid}/officialsevent_id*, cid
espnLaligaEventPlaycore_v2 /soccer/leagues/esp.1/events/{event_id}/competitions/{cid}/plays/{play_id}event_id*, play_id*, cid
espnLaligaEventPlayPersonnelcore_v2 /soccer/leagues/esp.1/events/{event_id}/competitions/{cid}/plays/{play_id}/personnelevent_id*, play_id*, cid
espnLaligaEventPlayscore_v2 /soccer/leagues/esp.1/events/{event_id}/competitions/{cid}/playsevent_id*, cidlimit
espnLaligaEventPowerindexcore_v2 /soccer/leagues/esp.1/events/{event_id}/competitions/{cid}/powerindexevent_id*, cid
espnLaligaEventPredictorcore_v2 /soccer/leagues/esp.1/events/{event_id}/competitions/{cid}/predictorevent_id*, cid
espnLaligaEventProbabilitiescore_v2 /soccer/leagues/esp.1/events/{event_id}/competitions/{cid}/probabilitiesevent_id*, cidlimit
espnLaligaEventPropbetscore_v2 /soccer/leagues/esp.1/events/{event_id}/competitions/{cid}/propbetsevent_id*, cid
espnLaligaEventScoringplayscore_v2 /soccer/leagues/esp.1/events/{event_id}/competitions/{cid}/scoringplaysevent_id*, cid
espnLaligaEventSituationcore_v2 /soccer/leagues/esp.1/events/{event_id}/competitions/{cid}/situationevent_id*, cid
espnLaligaEventStatuscore_v2 /soccer/leagues/esp.1/events/{event_id}/competitions/{cid}/statusevent_id*, cid
espnLaligaEventscore_v2 /soccer/leagues/esp.1/eventsdates, limit
espnLaligaFranchisecore_v2 /soccer/leagues/esp.1/franchises/{franchise_id}franchise_id*
espnLaligaFranchisescore_v2 /soccer/leagues/esp.1/franchiseslimit
espnLaligaInjuriessite_v2 /soccer/esp.1/injuries
espnLaligaLeadersweb_v3 /soccer/esp.1/statistics/byathletecategory, season, season_typeseasontype, limit, page, sort
espnLaligaLeadersCorecore_v2 /soccer/leagues/esp.1/leaders
espnLaligaLeagueNotescore_v2 /soccer/leagues/esp.1/notes
espnLaligaLeagueRootcore_v2 /soccer/leagues/esp.1
espnLaligaNewssite_v2 /soccer/esp.1/newslimit
espnLaligaPositioncore_v2 /soccer/leagues/esp.1/positions/{position_id}position_id*
espnLaligaPositionscore_v2 /soccer/leagues/esp.1/positions
espnLaligaScoreboardsite_v2 /soccer/esp.1/scoreboarddates, week, season_typeseasontype, groups, limit
espnLaligaSeasonAthletescore_v2 /soccer/leagues/esp.1/seasons/{season}/athletesseason*limit, page
espnLaligaSeasonAwardscore_v2 /soccer/leagues/esp.1/seasons/{season}/awardsseason*
espnLaligaSeasonCoachescore_v2 /soccer/leagues/esp.1/seasons/{season}/coachesseason*limit
espnLaligaSeasonDraftcore_v2 /soccer/leagues/esp.1/seasons/{season}/draftseason*
espnLaligaSeasonDraftRoundPickscore_v2 /soccer/leagues/esp.1/seasons/{season}/draft/rounds/{round_num}/picksseason*, round_num*
espnLaligaSeasonFreeagentscore_v2 /soccer/leagues/esp.1/seasons/{season}/freeagentsseason*
espnLaligaSeasonFuturescore_v2 /soccer/leagues/esp.1/seasons/{season}/futuresseason*
espnLaligaSeasonGroupcore_v2 /soccer/leagues/esp.1/seasons/{season}/types/{season_type}/groups/{group_id}season*, season_type*, group_id*
espnLaligaSeasonGroupChildrencore_v2 /soccer/leagues/esp.1/seasons/{season}/types/{season_type}/groups/{group_id}/childrenseason*, season_type*, group_id*
espnLaligaSeasonGroupTeamscore_v2 /soccer/leagues/esp.1/seasons/{season}/types/{season_type}/groups/{group_id}/teamsseason*, season_type*, group_id*limit
espnLaligaSeasonGroupscore_v2 /soccer/leagues/esp.1/seasons/{season}/types/{season_type}/groupsseason*, season_type*
espnLaligaSeasonInfocore_v2 /soccer/leagues/esp.1/seasons/{season}season*
espnLaligaSeasonPointercore_v2 /soccer/leagues/esp.1/season
espnLaligaSeasonPowerindexcore_v2 /soccer/leagues/esp.1/seasons/{season}/powerindex[/{team_id}]season*, team_id
espnLaligaSeasonPowerindexLeaderscore_v2 /soccer/leagues/esp.1/seasons/{season}/powerindex/leadersseason*
espnLaligaSeasonTeamcore_v2 /soccer/leagues/esp.1/seasons/{season}/teams/{team_id}season*, team_id*
espnLaligaSeasonTeamscore_v2 /soccer/leagues/esp.1/seasons/{season}/teamsseason*limit
espnLaligaSeasonTypecore_v2 /soccer/leagues/esp.1/seasons/{season}/types/{season_type}season*, season_type*
espnLaligaSeasonTypeCorrectionscore_v2 /soccer/leagues/esp.1/seasons/{season}/types/{season_type}/correctionsseason*, season_type*
espnLaligaSeasonTypeLeaderscore_v2 /soccer/leagues/esp.1/seasons/{season}/types/{season_type}/leadersseason*, season_type*
espnLaligaSeasonTypescore_v2 /soccer/leagues/esp.1/seasons/{season}/typesseason*
espnLaligaSeasonWeekcore_v2 /soccer/leagues/esp.1/seasons/{season}/types/{season_type}/weeks/{week}season*, season_type*, week*
espnLaligaSeasonWeekEventscore_v2 /soccer/leagues/esp.1/seasons/{season}/types/{season_type}/weeks/{week}/eventsseason*, season_type*, week*limit
espnLaligaSeasonWeekscore_v2 /soccer/leagues/esp.1/seasons/{season}/types/{season_type}/weeksseason*, season_type*
espnLaligaSeasonscore_v2 /soccer/leagues/esp.1/seasonslimit
espnLaligaStandingssite_v2_alt /soccer/esp.1/standingsseason, group, standings_typetype
espnLaligaStandingsCorecore_v2 /soccer/leagues/esp.1/standings
espnLaligaStatisticsLeaguesite_v2 /soccer/esp.1/statistics
espnLaligaSummarysite_v2 /soccer/esp.1/summaryevent_idevent
espnLaligaTalentpickscore_v2 /soccer/leagues/esp.1/talentpicks
espnLaligaTeamsite_v2 /soccer/esp.1/teams/{team_id}team_id*
espnLaligaTeamCorecore_v2 /soccer/leagues/esp.1/teams/{team_id}team_id*
espnLaligaTeamDepthchartssite_v2 /soccer/esp.1/teams/{team_id}/depthchartsteam_id*
espnLaligaTeamHistorysite_v2 /soccer/esp.1/teams/{team_id}/historyteam_id*
espnLaligaTeamInjuriessite_v2 /soccer/esp.1/teams/{team_id}/injuriesteam_id*
espnLaligaTeamLeaderssite_v2 /soccer/esp.1/teams/{team_id}/leadersteam_id*
espnLaligaTeamNewssite_v2 /soccer/esp.1/teams/{team_id}/newsteam_id*limit
espnLaligaTeamRecordsite_v2 /soccer/esp.1/teams/{team_id}/recordteam_id*
espnLaligaTeamRostersite_v2 /soccer/esp.1/teams/{team_id}/rosterteam_id*
espnLaligaTeamSchedulesite_v2 /soccer/esp.1/teams/{team_id}/scheduleteam_id*season
espnLaligaTeamTransactionssite_v2 /soccer/esp.1/teams/{team_id}/transactionsteam_id*
espnLaligaTeamsCorecore_v2 /soccer/leagues/esp.1/teamslimit
espnLaligaTeamsSitesite_v2 /soccer/esp.1/teamslimit
espnLaligaTournamentscore_v2 /soccer/leagues/esp.1/tournaments
espnLaligaTransactionssite_v2 /soccer/esp.1/transactions
espnLaligaVenuecore_v2 /soccer/leagues/esp.1/venues/{venue_id}venue_id*
espnLaligaVenuescore_v2 /soccer/leagues/esp.1/venueslimit

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 the summary dispatcher's 21 sub-frames).