Skip to main content

laliga — Site API

24 endpoints on sdv.laliga. Each is exposed under a camelCase canonical name and a snake_case alias (py/R parity), accepts snake_case or camelCase params, and returns raw ESPN JSON by default ({ parsed: true } for tidy rows).

espnLaligaAthleteBio

LALIGA — athlete bio (ESPN site.api.espn.com).

Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/soccer/esp.1/athletes/{athlete_id}/bio

API paramJSrequireddescription
{athlete_id}athlete_idyespath parameter
parsednoreturn tidy rows instead of raw JSON

Returns: raw ESPN Dict by default. With { parsed: true } the payload is routed through its parser (parse_single_entity); the column set varies by league — see ESPN parsed returns.

Example:

await sdv.laliga.espnLaligaAthleteBio({ athlete_id: '…' });
// snake_case alias (py/R parity): sdv.laliga.espn_laliga_athlete_bio(...)

espnLaligaAthleteInfo

LALIGA — athlete info (ESPN site.api.espn.com).

Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/soccer/esp.1/athletes/{athlete_id}

API paramJSrequireddescription
{athlete_id}athlete_idyespath parameter
parsednoreturn tidy rows instead of raw JSON

Returns: raw ESPN Dict by default. With { parsed: true } the payload is routed through its parser (parse_single_entity); the column set varies by league — see ESPN parsed returns.

Example:

await sdv.laliga.espnLaligaAthleteInfo({ athlete_id: '…' });
// snake_case alias (py/R parity): sdv.laliga.espn_laliga_athlete_info(...)

espnLaligaAthleteNews

LALIGA — athlete news (ESPN site.api.espn.com).

Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/soccer/esp.1/athletes/{athlete_id}/news

API paramJSrequireddescription
{athlete_id}athlete_idyespath parameter
parsednoreturn tidy rows instead of raw JSON

Returns (with { parsed: true }, via parse_news):

col_nametypedescription
idinteger
now_idcharacter
content_keycharacter
data_source_identifiercharacter
typecharacter
headlinecharacter
descriptioncharacter
last_modifiedcharacter
publishedcharacter
imagescharacter
categoriescharacter
premiumlogical
links_web_hrefcharacter
links_mobile_hrefcharacter
links_api_self_hrefcharacter
links_app_sportscenter_hrefcharacter
bylinecharacter

Example:

await sdv.laliga.espnLaligaAthleteNews({ athlete_id: '…' });
// snake_case alias (py/R parity): sdv.laliga.espn_laliga_athlete_news(...)

espnLaligaCalendar

LALIGA — calendar (ESPN site.api.espn.com).

Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/soccer/esp.1/calendar

API paramJSrequireddescription
parsednoreturn tidy rows instead of raw JSON

Returns (with { parsed: true }, via parse_items):

col_nametypedescription
$refcharacterCore v2 $ref URL to the resource

Example:

await sdv.laliga.espnLaligaCalendar({});
// snake_case alias (py/R parity): sdv.laliga.espn_laliga_calendar(...)

espnLaligaConferences

LALIGA — conferences (ESPN site.api.espn.com).

Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/soccer/esp.1/groups

API paramJSrequireddescription
parsednoreturn tidy rows instead of raw JSON

Returns: raw ESPN Dict by default. With { parsed: true } the payload is routed through its parser (parse_groups); the column set varies by league — see ESPN parsed returns.

Example:

await sdv.laliga.espnLaligaConferences({});
// snake_case alias (py/R parity): sdv.laliga.espn_laliga_conferences(...)

espnLaligaDraft

LALIGA — draft (ESPN site.api.espn.com).

Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/soccer/esp.1/draft

API paramJSrequireddescription
parsednoreturn tidy rows instead of raw JSON

Returns (with { parsed: true }, via parse_items):

col_nametypedescription
$refcharacterCore v2 $ref URL to the resource

Example:

await sdv.laliga.espnLaligaDraft({});
// snake_case alias (py/R parity): sdv.laliga.espn_laliga_draft(...)

espnLaligaInjuries

LALIGA — injuries (ESPN site.api.espn.com).

Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/soccer/esp.1/injuries

API paramJSrequireddescription
parsednoreturn tidy rows instead of raw JSON

Returns (with { parsed: true }, via parse_injuries):

col_nametypedescription
idcharacter
display_namecharacter
injuriescharacter

Example:

await sdv.laliga.espnLaligaInjuries({});
// snake_case alias (py/R parity): sdv.laliga.espn_laliga_injuries(...)

espnLaligaNews

LALIGA — news (ESPN site.api.espn.com).

Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/soccer/esp.1/news

API paramJSrequireddescription
limitlimitnoquery parameter (default 50)
parsednoreturn tidy rows instead of raw JSON

Returns (with { parsed: true }, via parse_news):

col_nametypedescription
idinteger
now_idcharacter
content_keycharacter
data_source_identifiercharacter
typecharacter
headlinecharacter
descriptioncharacter
last_modifiedcharacter
publishedcharacter
imagescharacter
categoriescharacter
premiumlogical
links_web_hrefcharacter
links_mobile_hrefcharacter
links_api_self_hrefcharacter
links_app_sportscenter_hrefcharacter
bylinecharacter

Example:

await sdv.laliga.espnLaligaNews({});
// snake_case alias (py/R parity): sdv.laliga.espn_laliga_news(...)

espnLaligaScoreboard

LALIGA — scoreboard (ESPN site.api.espn.com).

Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/soccer/esp.1/scoreboard

API paramJSrequireddescription
datesdatesnoquery parameter
weekweeknoquery parameter
seasontypeseason_typenoquery parameter
groupsgroupsnoquery parameter
limitlimitnoquery parameter (default 500)
parsednoreturn tidy rows instead of raw JSON

Returns (with { parsed: true }, via parse_scoreboard):

col_nametypedescription
game_idcharacter
uidcharacter
datecharacter
namecharacter
short_namecharacter
season_yearinteger
season_typeinteger
season_slugcharacter
status_type_idcharacter
status_type_namecharacter
status_type_statecharacter
status_type_completedlogical
status_type_descriptioncharacter
status_type_detailcharacter
status_type_short_detailcharacter
status_clockinteger
status_display_clockcharacter
status_periodinteger
neutral_sitelogical
conference_competitionlogical
attendanceinteger
venue_idcharacter
venue_full_namecharacter
venue_citycharacter
venue_statecharacter
venue_indoorlogical
broadcastcharacter
notecharacter
home_idcharacter
home_namecharacter
home_abbreviationcharacter
home_display_namecharacter
home_locationcharacter
home_colorcharacter
home_alternate_colorcharacter
home_logocharacter
home_scorecharacter
home_winnerlogical
home_rankcharacter
away_idcharacter
away_namecharacter
away_abbreviationcharacter
away_display_namecharacter
away_locationcharacter
away_colorcharacter
away_alternate_colorcharacter
away_logocharacter
away_scorecharacter
away_winnerlogical
away_rankcharacter

Example:

await sdv.laliga.espnLaligaScoreboard({});
// snake_case alias (py/R parity): sdv.laliga.espn_laliga_scoreboard(...)

espnLaligaStandings

LALIGA — standings (ESPN site.api.espn.com (v2)).

Endpoint URL: GET https://site.api.espn.com/apis/v2/sports/soccer/esp.1/standings

API paramJSrequireddescription
seasonseasonnoquery parameter
groupgroupnoquery parameter
typestandings_typenoquery parameter
parsednoreturn tidy rows instead of raw JSON

Returns (with { parsed: true }, via parse_standings):

col_nametypedescription
group_namecharacter
group_abbreviationcharacter
team_idcharacterESPN team id
team_namecharacter
team_abbreviationcharacterTeam abbreviation
team_display_namecharacterTeam display name
team_locationcharacter
team_logocharacter
avg_points_againstnumber
avg_points_fornumber
clincherinteger
differentialinteger
division_win_percentnumber
games_behindinteger
league_win_percentnumber
lossesinteger
playoff_seedinteger
point_differentialinteger
pointsinteger
points_againstinteger
points_forinteger
streakinteger
win_percentnumber
winsinteger
games_aheadinteger
overallcharacter
homecharacter
roadcharacter
vs_divcharacter
vs_confcharacter
last_ten_gamescharacter

Example:

await sdv.laliga.espnLaligaStandings({});
// snake_case alias (py/R parity): sdv.laliga.espn_laliga_standings(...)

espnLaligaStatisticsLeague

LALIGA — statistics league (ESPN site.api.espn.com).

Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/soccer/esp.1/statistics

API paramJSrequireddescription
parsednoreturn tidy rows instead of raw JSON

Returns (with { parsed: true }, via parse_items):

col_nametypedescription
$refcharacterCore v2 $ref URL to the resource

Example:

await sdv.laliga.espnLaligaStatisticsLeague({});
// snake_case alias (py/R parity): sdv.laliga.espn_laliga_statistics_league(...)

espnLaligaSummary

LALIGA — summary (ESPN site.api.espn.com).

Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/soccer/esp.1/summary

API paramJSrequireddescription
eventevent_idnoquery parameter
parsednoreturn tidy rows instead of raw JSON
sectionnowith parsed, return one named sub-frame (e.g. boxscore, plays, winprobability) instead of all

Returns: raw ESPN Dict by default. With { parsed: true } the summary dispatcher returns an object of 21 sub-frames keyed by section ({ parsed: true, section: '<name>' } for one); see ESPN parsed returns.

Example:

await sdv.laliga.espnLaligaSummary({});
// snake_case alias (py/R parity): sdv.laliga.espn_laliga_summary(...)

espnLaligaTeam

LALIGA — team (ESPN site.api.espn.com).

Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/soccer/esp.1/teams/{team_id}

API paramJSrequireddescription
{team_id}team_idyespath parameter
parsednoreturn tidy rows instead of raw JSON

Returns: raw ESPN Dict by default. With { parsed: true } the payload is routed through its parser (parse_single_entity); the column set varies by league — see ESPN parsed returns.

Example:

await sdv.laliga.espnLaligaTeam({ team_id: '…' });
// snake_case alias (py/R parity): sdv.laliga.espn_laliga_team(...)

espnLaligaTeamDepthcharts

LALIGA — team depthcharts (ESPN site.api.espn.com).

Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/soccer/esp.1/teams/{team_id}/depthcharts

API paramJSrequireddescription
{team_id}team_idyespath parameter
parsednoreturn tidy rows instead of raw JSON

Returns (with { parsed: true }, via parse_items):

col_nametypedescription
$refcharacterCore v2 $ref URL to the resource

Example:

await sdv.laliga.espnLaligaTeamDepthcharts({ team_id: '…' });
// snake_case alias (py/R parity): sdv.laliga.espn_laliga_team_depthcharts(...)

espnLaligaTeamHistory

LALIGA — team history (ESPN site.api.espn.com).

Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/soccer/esp.1/teams/{team_id}/history

API paramJSrequireddescription
{team_id}team_idyespath parameter
parsednoreturn tidy rows instead of raw JSON

Returns (with { parsed: true }, via parse_items):

col_nametypedescription
$refcharacterCore v2 $ref URL to the resource

Example:

await sdv.laliga.espnLaligaTeamHistory({ team_id: '…' });
// snake_case alias (py/R parity): sdv.laliga.espn_laliga_team_history(...)

espnLaligaTeamInjuries

LALIGA — team injuries (ESPN site.api.espn.com).

Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/soccer/esp.1/teams/{team_id}/injuries

API paramJSrequireddescription
{team_id}team_idyespath parameter
parsednoreturn tidy rows instead of raw JSON

Returns (with { parsed: true }, via parse_injuries):

col_nametypedescription
idcharacter
display_namecharacter
injuriescharacter

Example:

await sdv.laliga.espnLaligaTeamInjuries({ team_id: '…' });
// snake_case alias (py/R parity): sdv.laliga.espn_laliga_team_injuries(...)

espnLaligaTeamLeaders

LALIGA — team leaders (ESPN site.api.espn.com).

Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/soccer/esp.1/teams/{team_id}/leaders

API paramJSrequireddescription
{team_id}team_idyespath parameter
parsednoreturn tidy rows instead of raw JSON

Returns (with { parsed: true }, via parse_items):

col_nametypedescription
$refcharacterCore v2 $ref URL to the resource

Example:

await sdv.laliga.espnLaligaTeamLeaders({ team_id: '…' });
// snake_case alias (py/R parity): sdv.laliga.espn_laliga_team_leaders(...)

espnLaligaTeamNews

LALIGA — team news (ESPN site.api.espn.com).

Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/soccer/esp.1/teams/{team_id}/news

API paramJSrequireddescription
{team_id}team_idyespath parameter
limitlimitnoquery parameter (default 50)
parsednoreturn tidy rows instead of raw JSON

Returns (with { parsed: true }, via parse_news):

col_nametypedescription
idinteger
now_idcharacter
content_keycharacter
data_source_identifiercharacter
typecharacter
headlinecharacter
descriptioncharacter
last_modifiedcharacter
publishedcharacter
imagescharacter
categoriescharacter
premiumlogical
links_web_hrefcharacter
links_mobile_hrefcharacter
links_api_self_hrefcharacter
links_app_sportscenter_hrefcharacter
bylinecharacter

Example:

await sdv.laliga.espnLaligaTeamNews({ team_id: '…' });
// snake_case alias (py/R parity): sdv.laliga.espn_laliga_team_news(...)

espnLaligaTeamRecord

LALIGA — team record (ESPN site.api.espn.com).

Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/soccer/esp.1/teams/{team_id}/record

API paramJSrequireddescription
{team_id}team_idyespath parameter
parsednoreturn tidy rows instead of raw JSON

Returns (with { parsed: true }, via parse_items):

col_nametypedescription
$refcharacterCore v2 $ref URL to the resource

Example:

await sdv.laliga.espnLaligaTeamRecord({ team_id: '…' });
// snake_case alias (py/R parity): sdv.laliga.espn_laliga_team_record(...)

espnLaligaTeamRoster

LALIGA — team roster (ESPN site.api.espn.com).

Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/soccer/esp.1/teams/{team_id}/roster

API paramJSrequireddescription
{team_id}team_idyespath parameter
parsednoreturn tidy rows instead of raw JSON

Returns (with { parsed: true }, via parse_team_roster):

col_nametypedescription
idcharacter
uidcharacter
guidcharacter
alternate_ids_sdrcharacter
first_namecharacter
last_namecharacter
full_namecharacter
display_namecharacter
short_namecharacter
weightinteger
display_weightcharacter
heightinteger
display_heightcharacter
ageinteger
date_of_birthcharacter
debut_yearinteger
linkscharacter
birth_place_citycharacter
birth_place_countrycharacter
college_idcharacter
college_guidcharacter
college_mascotcharacter
college_namecharacter
college_short_namecharacter
college_abbrevcharacter
college_logoscharacter
slugcharacter
headshot_hrefcharacter
headshot_altcharacter
jerseycharacter
position_idcharacter
position_namecharacter
position_display_namecharacter
position_abbreviationcharacter
position_leaflogical
injuriescharacter
teamscharacter
contractscharacter
experience_yearsinteger
contract_bird_statusinteger
contract_base_year_compensation_activelogical
contract_poison_pill_provision_activelogical
contract_incoming_trade_valueinteger
contract_outgoing_trade_valueinteger
contract_minimum_salary_exceptionlogical
contract_option_typeinteger
contract_salaryinteger
contract_salary_remaininginteger
contract_years_remaininginteger
contract_season_yearinteger
contract_season_start_datecharacter
contract_season_end_datecharacter
contract_trade_kicker_activelogical
contract_trade_kicker_percentageinteger
contract_trade_kicker_valueinteger
contract_trade_kicker_trade_valueinteger
contract_trade_restrictionlogical
contract_unsigned_foreign_picklogical
contract_activelogical
status_idcharacter
status_namecharacter
status_typecharacter
status_abbreviationcharacter
citizenshipcharacter
birth_place_statecharacter
hand_typecharacter
hand_abbreviationcharacter
hand_display_valuecharacter

Example:

await sdv.laliga.espnLaligaTeamRoster({ team_id: '…' });
// snake_case alias (py/R parity): sdv.laliga.espn_laliga_team_roster(...)

espnLaligaTeamSchedule

LALIGA — team schedule (ESPN site.api.espn.com).

Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/soccer/esp.1/teams/{team_id}/schedule

API paramJSrequireddescription
{team_id}team_idyespath parameter
seasonseasonnoquery parameter
parsednoreturn tidy rows instead of raw JSON

Returns: raw ESPN Dict by default. With { parsed: true } the payload is routed through its parser (parse_team_schedule); the column set varies by league — see ESPN parsed returns.

Example:

await sdv.laliga.espnLaligaTeamSchedule({ team_id: '…' });
// snake_case alias (py/R parity): sdv.laliga.espn_laliga_team_schedule(...)

espnLaligaTeamTransactions

LALIGA — team transactions (ESPN site.api.espn.com).

Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/soccer/esp.1/teams/{team_id}/transactions

API paramJSrequireddescription
{team_id}team_idyespath parameter
parsednoreturn tidy rows instead of raw JSON

Returns (with { parsed: true }, via parse_items):

col_nametypedescription
$refcharacterCore v2 $ref URL to the resource

Example:

await sdv.laliga.espnLaligaTeamTransactions({ team_id: '…' });
// snake_case alias (py/R parity): sdv.laliga.espn_laliga_team_transactions(...)

espnLaligaTeamsSite

LALIGA — teams site (ESPN site.api.espn.com).

Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/soccer/esp.1/teams

API paramJSrequireddescription
limitlimitnoquery parameter (default 1000)
parsednoreturn tidy rows instead of raw JSON

Returns: raw ESPN Dict by default. With { parsed: true } the payload is routed through its parser (parse_teams); the column set varies by league — see ESPN parsed returns.

Example:

await sdv.laliga.espnLaligaTeamsSite({});
// snake_case alias (py/R parity): sdv.laliga.espn_laliga_teams_site(...)

espnLaligaTransactions

LALIGA — transactions (ESPN site.api.espn.com).

Endpoint URL: GET https://site.api.espn.com/apis/site/v2/sports/soccer/esp.1/transactions

API paramJSrequireddescription
parsednoreturn tidy rows instead of raw JSON

Returns (with { parsed: true }, via parse_items):

col_nametypedescription
$refcharacterCore v2 $ref URL to the resource

Example:

await sdv.laliga.espnLaligaTransactions({});
// snake_case alias (py/R parity): sdv.laliga.espn_laliga_transactions(...)