Skip to main content

Soccer (all) — FIFA public API v3 (api.fifa.com)

sportsdataverse.soccer — 9 endpoints.

fifa_calendar_matches​

Match calendar of a competition season (first page; results and fixtures).

Endpoint URL: GET https://api.fifa.com/api/v3/calendar/matches

Valid URL: https://api.fifa.com/api/v3/calendar/matches?idCompetition=17&idSeason=285023&language=en&count=3

API ParameterPythonPatternRequiredNullableDescription
idCompetitionid_competitionYRequired. Competition id; 17 = FIFA World Cup (see /competitions).
idSeasonid_seasonYRequired. Season id; 285023 = FIFA World Cup 2026 (see /seasons?idCompetition=17).
languagelanguageYContent language, e.g. en, es, fr.
countcountYPage size. List routes return ContinuationToken / ContinuationHash in the body; the request parameter that takes the token back is unverified.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
id_competitionStringFIFA competition id (17 = FIFA World Cup; Utf8 join key).
id_seasonStringFIFA season id (285023 = FIFA World Cup 2026; Utf8 join key).
id_stageStringStage id within the season (Utf8 join key).
id_groupStringGroup id within the stage (Utf8 join key).
attendanceStringAttendance.
id_matchStringFIFA match id (Utf8 join key).
match_dayStringMatch day (round) within the stage.
stage_nameStringLocalised stage name (e.g. First Stage), JSON list of {Locale, Description} objects.
group_nameStringLocalised group name (e.g. Group A), JSON list of {Locale, Description} objects.
competition_nameStringLocalised competition name, JSON list of {Locale, Description} objects.
season_nameStringLocalised season name, JSON list of {Locale, Description} objects.
season_short_nameStringLocalised short season name, JSON list of {Locale, Description} objects (often empty).
dateStringKick-off in UTC (ISO 8601).
local_dateStringKick-off in venue local time (ISO 8601; the trailing Z is not a UTC marker).
home_team_scoreInt64Home team: goals scored.
away_team_scoreInt64Away team: goals scored.
aggregate_home_team_scoreStringHome team aggregate score over two legs (null for a single-leg tie).
aggregate_away_team_scoreStringAway team aggregate score over two legs (null for a single-leg tie).
home_team_penalty_scoreStringHome team: penalty shoot-out score (null when there was no shoot-out).
away_team_penalty_scoreStringAway team: penalty shoot-out score (null when there was no shoot-out).
last_period_updateStringTime of the last period change (null in the captures).
legStringLeg number of a two-legged tie (null for a single-leg match).
is_home_matchStringIsHomeMatch flag from the API (null in the captures).
is_ticket_sales_allowedStringIsTicketSalesAllowed flag from the API (null in the captures).
match_timeStringMatch clock as displayed, e.g. 98'.
second_half_timeStringSecond-half timing field (null in the captures).
first_half_timeStringFirst-half timing field (null in the captures).
first_half_extra_timeStringStoppage time added to the first half, in minutes.
second_half_extra_timeStringStoppage time added to the second half, in minutes.
winnerStringTeam id of the winner (Utf8; null for a draw or an unplayed match).
match_report_urlStringURL of the match report (null in the captures).
place_holder_aStringDraw placeholder for the home slot, e.g. A1 (group A, position 1).
place_holder_bStringDraw placeholder for the away slot, e.g. A2 (group A, position 2).
ball_possessionStringBall-possession block (null when not tracked).
officialsStringMatch officials, JSON list (OfficialId, OfficialType, IdCountry, localised Name / NameShort).
match_statusInt64Match status code (FIFA integer enum: 0 = played, 1 = to be played).
result_typeInt64Result-type code (FIFA integer enum).
match_numberInt64Match number within the season.
time_definedBooleanWhether the kick-off time is confirmed.
officiality_statusInt64Officiality code of the result (FIFA integer enum).
match_leg_infoStringTwo-legged tie details (null in the captures).
is_updateableStringIsUpdateable flag from the API (null in the captures).
weather_humidityStringWeather: humidity (null in the captures).
weather_temperatureStringWeather: temperature (null in the captures).
weather_wind_speedStringWeather: wind speed (null in the captures).
weather_typeStringWeather: condition code (null in the captures).
weather_type_localizedStringWeather: localised condition, JSON list of {Locale, Description} objects.
home_scoreInt64Home team: goals scored.
home_sideStringHome team: side marker (null in the captures).
home_id_teamStringHome team: FIFA team id (Utf8 join key).
home_picture_urlStringHome team: image URL template with {format} and {size} placeholders.
home_id_countryStringHome team: three-letter FIFA country code, e.g. ARG.
home_tacticsStringHome team: formation, e.g. 4-2-3-1.
home_team_typeInt64Home team: team-type code (FIFA integer enum: 0 = club, 1 = national team).
home_age_typeInt64Home team: age-category code (FIFA integer enum; 7 = senior).
home_team_nameStringHome team: localised name, JSON list of {Locale, Description} objects.
home_abbreviationStringHome team: abbreviation (e.g. ARG, FWC 2026).
home_short_club_nameStringHome team: short English team name.
home_football_typeInt64Home team: football discipline code (FIFA integer enum; 0 = eleven-a-side football).
home_genderInt64Home team: gender code (FIFA integer enum: 1 = men, 2 = women).
home_id_associationStringHome team: three-letter code of the member association, e.g. ARG.
away_scoreInt64Away team: goals scored.
away_sideStringAway team: side marker (null in the captures).
away_id_teamStringAway team: FIFA team id (Utf8 join key).
away_picture_urlStringAway team: image URL template with {format} and {size} placeholders.
away_id_countryStringAway team: three-letter FIFA country code, e.g. ARG.
away_tacticsStringAway team: formation, e.g. 4-2-3-1.
away_team_typeInt64Away team: team-type code (FIFA integer enum: 0 = club, 1 = national team).
away_age_typeInt64Away team: age-category code (FIFA integer enum; 7 = senior).
away_team_nameStringAway team: localised name, JSON list of {Locale, Description} objects.
away_abbreviationStringAway team: abbreviation (e.g. ARG, FWC 2026).
away_short_club_nameStringAway team: short English team name.
away_football_typeInt64Away team: football discipline code (FIFA integer enum; 0 = eleven-a-side football).
away_genderInt64Away team: gender code (FIFA integer enum: 1 = men, 2 = women).
away_id_associationStringAway team: three-letter code of the member association, e.g. ARG.
stadium_id_stadiumStringStadium: FIFA stadium id (Utf8 join key).
stadium_nameStringStadium: localised name, JSON list of {Locale, Description} objects.
stadium_capacityStringStadium: seating capacity.
stadium_web_addressStringStadium: website URL.
stadium_builtStringStadium: year built, as an ISO 8601 date.
stadium_roofBooleanStadium: whether the stadium is roofed.
stadium_turfStringStadium: pitch surface (null in the captures).
stadium_id_cityStringStadium: city id (Utf8 join key).
stadium_city_nameStringStadium: localised city name, JSON list of {Locale, Description} objects.
stadium_id_countryStringStadium: three-letter FIFA country code, e.g. ARG.
stadium_postal_codeStringStadium: postal code.
stadium_streetStringStadium: street address.
stadium_emailStringStadium: contact e-mail.
stadium_faxStringStadium: contact fax number.
stadium_phoneStringStadium: contact phone number.
stadium_affiliation_countryStringStadium: affiliation country (null in the captures).
stadium_affiliation_regionStringStadium: affiliation region (null in the captures).
stadium_latitudeStringStadium: latitude in decimal degrees.
stadium_longitudeStringStadium: longitude in decimal degrees.
stadium_lengthStringStadium: pitch length (null in the captures).
stadium_widthStringStadium: pitch width (null in the captures).
stadium_properties_id_ifesStringStadium: IFES cross-reference id (Utf8).
stadium_is_updateableStringStadium: isUpdateable flag from the API (null in the captures).
properties_id_ifesStringIFES cross-reference id (Utf8).

return_parsed=False — the raw JSON Dict (paginated routes return the first page; the API's paging request parameter is undocumented, see the spec's x-pagination).

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. The FIFA API returned 404 (unknown competition or team id).
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.

Example​

fifa_calendar_matches(count='3', id_competition='17', id_season='285023', language='en')

fifa_competition​

One competition by id.

Endpoint URL: GET https://api.fifa.com/api/v3/competitions/{id_competition}

Valid URL: https://api.fifa.com/api/v3/competitions/17?language=en

API ParameterPythonPatternRequiredNullableDescription
id_competitionid_competitionYCompetition id; 17 = FIFA World Cup (see /competitions).
languagelanguageYContent language, e.g. en, es, fr.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
id_competitionStringFIFA competition id (17 = FIFA World Cup; Utf8 join key).
nameStringLocalised name, JSON list of {Locale, Description} objects.
id_confederationStringConfederation code (e.g. UEFA, CONMEBOL); a JSON list on competitions and seasons.
id_member_associationStringMember-association codes (e.g. ENG), JSON list.
id_ownerStringCode of the body that owns the competition (FIFA or a confederation).
genderInt64Gender code (FIFA integer enum: 1 = men, 2 = women).
football_typeInt64Football discipline code (FIFA integer enum; 0 = eleven-a-side football).
team_typeInt64Team-type code (FIFA integer enum: 0 = club, 1 = national team).
competition_typeInt64Competition-type code (FIFA integer enum).
age_typeInt64Age-category code (FIFA integer enum; 7 = senior).
display_orderStringSort order for display.
is_updateableStringIsUpdateable flag from the API (null in the captures).
properties_id_ifesStringIFES cross-reference id (Utf8).

return_parsed=False — the raw JSON Dict (paginated routes return the first page; the API's paging request parameter is undocumented, see the spec's x-pagination).

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. The FIFA API returned 404 (unknown competition or team id).
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.

Example​

fifa_competition(id_competition='17', language='en')

fifa_competitions​

All FIFA competitions (first page).

Endpoint URL: GET https://api.fifa.com/api/v3/competitions

Valid URL: https://api.fifa.com/api/v3/competitions?language=en&count=3

API ParameterPythonPatternRequiredNullableDescription
languagelanguageYContent language, e.g. en, es, fr.
countcountYPage size. List routes return ContinuationToken / ContinuationHash in the body; the request parameter that takes the token back is unverified.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
id_competitionStringFIFA competition id (17 = FIFA World Cup; Utf8 join key).
nameStringLocalised name, JSON list of {Locale, Description} objects.
id_confederationStringConfederation code (e.g. UEFA, CONMEBOL); a JSON list on competitions and seasons.
id_member_associationStringMember-association codes (e.g. ENG), JSON list.
id_ownerStringCode of the body that owns the competition (FIFA or a confederation).
genderInt64Gender code (FIFA integer enum: 1 = men, 2 = women).
football_typeInt64Football discipline code (FIFA integer enum; 0 = eleven-a-side football).
team_typeInt64Team-type code (FIFA integer enum: 0 = club, 1 = national team).
competition_typeInt64Competition-type code (FIFA integer enum).
age_typeInt64Age-category code (FIFA integer enum; 7 = senior).
display_orderInt64Sort order for display.
is_updateableStringIsUpdateable flag from the API (null in the captures).
properties_id_stats_performStringStats Perform (Opta) id of the record (Utf8 cross-reference).

return_parsed=False — the raw JSON Dict (paginated routes return the first page; the API's paging request parameter is undocumented, see the spec's x-pagination).

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. The FIFA API returned 404 (unknown competition or team id).
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.

Example​

fifa_competitions(count='3', language='en')

fifa_live_football​

Matches live right now across FIFA competitions.

Endpoint URL: GET https://api.fifa.com/api/v3/live/football

Valid URL: https://api.fifa.com/api/v3/live/football?language=en

API ParameterPythonPatternRequiredNullableDescription
languagelanguageYContent language, e.g. en, es, fr.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
id_matchStringFIFA match id (Utf8 join key).
id_stageStringStage id within the season (Utf8 join key).
id_groupStringGroup id within the stage (Utf8 join key).
id_seasonStringFIFA season id (285023 = FIFA World Cup 2026; Utf8 join key).
coverage_levelInt64Data-coverage level of the match (integer).
id_competitionStringFIFA competition id (17 = FIFA World Cup; Utf8 join key).
competition_nameStringLocalised competition name, JSON list of {Locale, Description} objects.
season_nameStringLocalised season name, JSON list of {Locale, Description} objects.
season_short_nameStringLocalised short season name, JSON list of {Locale, Description} objects (often empty).
result_typeInt64Result-type code (FIFA integer enum).
match_dayStringMatch day (round) within the stage.
match_numberStringMatch number within the season.
home_team_penalty_scoreStringHome team: penalty shoot-out score (null when there was no shoot-out).
away_team_penalty_scoreStringAway team: penalty shoot-out score (null when there was no shoot-out).
aggregate_home_team_scoreStringHome team aggregate score over two legs (null for a single-leg tie).
aggregate_away_team_scoreStringAway team aggregate score over two legs (null for a single-leg tie).
weatherStringWeather block (null when not reported).
attendanceStringAttendance.
dateStringKick-off in UTC (ISO 8601).
local_dateStringKick-off in venue local time (ISO 8601; the trailing Z is not a UTC marker).
match_timeStringMatch clock as displayed, e.g. 98'.
second_half_timeStringSecond-half timing field (null in the captures).
first_half_timeStringFirst-half timing field (null in the captures).
first_half_extra_timeInt64Stoppage time added to the first half, in minutes.
second_half_extra_timeInt64Stoppage time added to the second half, in minutes.
winnerStringTeam id of the winner (Utf8; null for a draw or an unplayed match).
periodInt64Match period code (FIFA integer enum).
territorial_possesionStringTerritorial possession block (sic: the API's spelling; null in the captures).
territorial_third_possesionStringTerritorial possession by third (sic: the API's spelling; null in the captures).
officialsStringMatch officials, JSON list (OfficialId, OfficialType, IdCountry, localised Name / NameShort).
match_statusInt64Match status code (FIFA integer enum: 0 = played, 1 = to be played).
group_nameStringLocalised group name (e.g. Group A), JSON list of {Locale, Description} objects.
stage_nameStringLocalised stage name (e.g. First Stage), JSON list of {Locale, Description} objects.
officiality_statusInt64Officiality code of the result (FIFA integer enum).
time_definedBooleanWhether the kick-off time is confirmed.
is_updateableStringIsUpdateable flag from the API (null in the captures).
stadium_id_stadiumStringStadium: FIFA stadium id (Utf8 join key).
stadium_nameStringStadium: localised name, JSON list of {Locale, Description} objects.
stadium_capacityInt64Stadium: seating capacity.
stadium_web_addressStringStadium: website URL.
stadium_builtStringStadium: year built, as an ISO 8601 date.
stadium_roofBooleanStadium: whether the stadium is roofed.
stadium_turfStringStadium: pitch surface (null in the captures).
stadium_id_cityStringStadium: city id (Utf8 join key).
stadium_city_nameStringStadium: localised city name, JSON list of {Locale, Description} objects.
stadium_id_countryStringStadium: three-letter FIFA country code, e.g. ARG.
stadium_postal_codeStringStadium: postal code.
stadium_streetStringStadium: street address.
stadium_emailStringStadium: contact e-mail.
stadium_faxStringStadium: contact fax number.
stadium_phoneStringStadium: contact phone number.
stadium_affiliation_countryStringStadium: affiliation country (null in the captures).
stadium_affiliation_regionStringStadium: affiliation region (null in the captures).
stadium_latitudeFloat64Stadium: latitude in decimal degrees.
stadium_longitudeFloat64Stadium: longitude in decimal degrees.
stadium_lengthStringStadium: pitch length (null in the captures).
stadium_widthStringStadium: pitch width (null in the captures).
stadium_is_updateableStringStadium: isUpdateable flag from the API (null in the captures).
home_team_scoreInt64Home team: goals scored.
home_team_sideStringHome team: side marker (null in the captures).
home_team_id_teamStringHome team: FIFA team id (Utf8 join key).
home_team_picture_urlStringHome team: image URL template with {format} and {size} placeholders.
home_team_id_countryStringHome team: three-letter FIFA country code, e.g. ARG.
home_team_team_typeInt64Home team: team-type code (FIFA integer enum: 0 = club, 1 = national team).
home_team_age_typeInt64Home team: age-category code (FIFA integer enum; 7 = senior).
home_team_tacticsStringHome team: formation, e.g. 4-2-3-1.
home_team_team_nameStringHome team: localised team name, JSON list of {Locale, Description} objects.
home_team_abbreviationStringHome team: abbreviation (e.g. ARG, FWC 2026).
home_team_coachesStringHome team: coaches, JSON list (IdCoach, IdCountry, Role, localised Name / Alias, ...).
home_team_playersStringHome team: line-up, JSON list (IdPlayer, ShirtNumber, Status, Captain, Position, localised PlayerName, ...).
home_team_bookingsStringHome team: cards, JSON list (Card, Period, Minute, IdPlayer, IdTeam, ...).
home_team_goalsStringHome team: goals, JSON list (Type, Period, Minute, IdPlayer, IdAssistPlayer, IdTeam, ...).
home_team_substitutionsStringHome team: substitutions, JSON list (Period, Minute, IdPlayerOff, IdPlayerOn, Reason, ...).
home_team_staffsStringHome team: team staff, JSON list (empty in the captures).
home_team_football_typeInt64Home team: football discipline code (FIFA integer enum; 0 = eleven-a-side football).
home_team_genderInt64Home team: gender code (FIFA integer enum: 1 = men, 2 = women).
home_team_id_associationStringHome team: three-letter code of the member association, e.g. ARG.
home_team_short_club_nameStringHome team: short English team name.
away_team_scoreInt64Away team: goals scored.
away_team_sideStringAway team: side marker (null in the captures).
away_team_id_teamStringAway team: FIFA team id (Utf8 join key).
away_team_picture_urlStringAway team: image URL template with {format} and {size} placeholders.
away_team_id_countryStringAway team: three-letter FIFA country code, e.g. ARG.
away_team_team_typeInt64Away team: team-type code (FIFA integer enum: 0 = club, 1 = national team).
away_team_age_typeInt64Away team: age-category code (FIFA integer enum; 7 = senior).
away_team_tacticsStringAway team: formation, e.g. 4-2-3-1.
away_team_team_nameStringAway team: localised team name, JSON list of {Locale, Description} objects.
away_team_abbreviationStringAway team: abbreviation (e.g. ARG, FWC 2026).
away_team_coachesStringAway team: coaches, JSON list (IdCoach, IdCountry, Role, localised Name / Alias, ...).
away_team_playersStringAway team: line-up, JSON list (IdPlayer, ShirtNumber, Status, Captain, Position, localised PlayerName, ...).
away_team_bookingsStringAway team: cards, JSON list (Card, Period, Minute, IdPlayer, IdTeam, ...).
away_team_goalsStringAway team: goals, JSON list (Type, Period, Minute, IdPlayer, IdAssistPlayer, IdTeam, ...).
away_team_substitutionsStringAway team: substitutions, JSON list (Period, Minute, IdPlayerOff, IdPlayerOn, Reason, ...).
away_team_staffsStringAway team: team staff, JSON list (empty in the captures).
away_team_football_typeInt64Away team: football discipline code (FIFA integer enum; 0 = eleven-a-side football).
away_team_genderInt64Away team: gender code (FIFA integer enum: 1 = men, 2 = women).
away_team_id_associationStringAway team: three-letter code of the member association, e.g. ARG.
away_team_short_club_nameStringAway team: short English team name.
ball_possession_intervalsStringBall possession: possession per interval, JSON list.
ball_possession_last_xStringBall possession: possession over the most recent stretch, JSON list.
ball_possession_overall_homeFloat64Ball possession: home team share of possession, percent.
ball_possession_overall_awayFloat64Ball possession: away team share of possession, percent.
properties_id_stats_performStringStats Perform (Opta) id of the record (Utf8 cross-reference).
ball_possessionStringBall-possession block (null when not tracked).

return_parsed=False — the raw JSON Dict (paginated routes return the first page; the API's paging request parameter is undocumented, see the spec's x-pagination).

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. The FIFA API returned 404 (unknown competition or team id).
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.

Example​

fifa_live_football(language='en')

Players matching a name (first page).

Endpoint URL: GET https://api.fifa.com/api/v3/players/search

Valid URL: https://api.fifa.com/api/v3/players/search?name=Messi&language=en

API ParameterPythonPatternRequiredNullableDescription
namenameYRequired. Search text.
languagelanguageYContent language, e.g. en, es, fr.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
id_playerStringFIFA player id (Utf8 join key).
nameStringLocalised name, JSON list of {Locale, Description} objects.
aliasStringLocalised alias, JSON list of {Locale, Description} objects.
birth_dateStringDate of birth (ISO 8601).
weightFloat64Weight in kilograms.
heightFloat64Height in centimetres.
birth_placeStringPlace of birth (a city name or a country code).
id_countryStringThree-letter FIFA country code, e.g. ARG.
international_capsInt64International appearances (caps).
international_debutStringDate of the international debut (ISO 8601).
top_competition_debutStringDebut date in a top competition (null in the captures).
picture_urlStringImage URL template with {format} and {size} placeholders.
thumbnail_urlStringThumbnail image URL (null in the captures).
twitter_accountStringTwitter / X handle (null in the captures).
preferred_footInt64Preferred-foot code (FIFA integer enum; 9999 when unset).
media_contentStringMedia content entries, JSON list (empty in the captures).
localized_twitter_accountsStringLocalised Twitter / X handles (null in the captures).
goalsInt64Goals credited to the player.
player_pictureStringPlayer picture block (null in the captures).
is_updateableStringIsUpdateable flag from the API (null in the captures).
properties_id_ifesStringIFES cross-reference id (Utf8).
properties_id_stats_performStringStats Perform (Opta) id of the record (Utf8 cross-reference).
properties_stats_perform_ifes_idStringIFES id as carried by the Stats Perform feed (Utf8).

return_parsed=False — the raw JSON Dict (paginated routes return the first page; the API's paging request parameter is undocumented, see the spec's x-pagination).

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. The FIFA API returned 404 (unknown competition or team id).
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.

Example​

fifa_players_search(language='en', name='Messi')

fifa_seasons​

Seasons of a competition (first page).

Endpoint URL: GET https://api.fifa.com/api/v3/seasons

Valid URL: https://api.fifa.com/api/v3/seasons?idCompetition=17&language=en&count=3

API ParameterPythonPatternRequiredNullableDescription
idCompetitionid_competitionYRequired. Competition id; 17 = FIFA World Cup (see /competitions).
languagelanguageYContent language, e.g. en, es, fr.
countcountYPage size. List routes return ContinuationToken / ContinuationHash in the body; the request parameter that takes the token back is unverified.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
id_seasonStringFIFA season id (285023 = FIFA World Cup 2026; Utf8 join key).
nameStringLocalised name, JSON list of {Locale, Description} objects.
short_nameStringLocalised short name, JSON list of {Locale, Description} objects (often empty).
abbreviationStringAbbreviation (e.g. ARG, FWC 2026).
id_member_associationStringMember-association codes (e.g. ENG), JSON list.
id_confederationStringConfederation code (e.g. UEFA, CONMEBOL); a JSON list on competitions and seasons.
id_competitionStringFIFA competition id (17 = FIFA World Cup; Utf8 join key).
start_dateStringStart date (ISO 8601).
end_dateStringEnd date (ISO 8601).
picture_urlStringImage URL template with {format} and {size} placeholders.
mascot_picture_urlStringMascot image URL template with {format} and {size} placeholders.
match_ball_picture_urlStringMatch-ball image URL template with {format} and {size} placeholders.
host_teamsStringHost teams, JSON list of {IdTeam} objects.
sport_typeInt64Sport code (FIFA integer enum; 0 = football).
is_updateableStringIsUpdateable flag from the API (null in the captures).
properties_id_ifesStringIFES cross-reference id (Utf8).
properties_providersStringData-provider tag of the record.

return_parsed=False — the raw JSON Dict (paginated routes return the first page; the API's paging request parameter is undocumented, see the spec's x-pagination).

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. The FIFA API returned 404 (unknown competition or team id).
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.

Example​

fifa_seasons(count='3', id_competition='17', language='en')

fifa_stadiums​

Stadiums (first page).

Endpoint URL: GET https://api.fifa.com/api/v3/stadiums

Valid URL: https://api.fifa.com/api/v3/stadiums?language=en&count=3

API ParameterPythonPatternRequiredNullableDescription
languagelanguageYContent language, e.g. en, es, fr.
countcountYPage size. List routes return ContinuationToken / ContinuationHash in the body; the request parameter that takes the token back is unverified.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
id_stadiumStringFIFA stadium id (Utf8 join key).
nameStringLocalised name, JSON list of {Locale, Description} objects.
capacityStringSeating capacity.
web_addressStringWebsite URL.
builtStringYear built, as an ISO 8601 date.
roofBooleanWhether the stadium is roofed.
turfStringPitch surface (null in the captures).
id_cityStringCity id (Utf8 join key).
city_nameStringLocalised city name, JSON list of {Locale, Description} objects.
id_countryStringThree-letter FIFA country code, e.g. ARG.
postal_codeStringPostal code.
streetStringStreet address.
emailStringContact e-mail.
faxStringContact fax number.
phoneStringContact phone number.
affiliation_countryStringAffiliation country (null in the captures).
affiliation_regionStringAffiliation region (null in the captures).
latitudeStringLatitude in decimal degrees.
longitudeStringLongitude in decimal degrees.
lengthStringPitch length (null in the captures).
widthStringPitch width (null in the captures).
is_updateableStringIsUpdateable flag from the API (null in the captures).
properties_id_ifesStringIFES cross-reference id (Utf8).

return_parsed=False — the raw JSON Dict (paginated routes return the first page; the API's paging request parameter is undocumented, see the spec's x-pagination).

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. The FIFA API returned 404 (unknown competition or team id).
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.

Example​

fifa_stadiums(count='3', language='en')

fifa_team​

One team by id.

Endpoint URL: GET https://api.fifa.com/api/v3/teams/{id_team}

Valid URL: https://api.fifa.com/api/v3/teams/43922?language=en

API ParameterPythonPatternRequiredNullableDescription
id_teamid_teamYTeam id (see /teams/search).
languagelanguageYContent language, e.g. en, es, fr.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
id_teamStringFIFA team id (Utf8 join key).
id_confederationStringConfederation code (e.g. UEFA, CONMEBOL); a JSON list on competitions and seasons.
active_statusInt64Activity-status code (FIFA integer enum).
typeInt64Team-type code (FIFA integer enum: 0 = club, 1 = national team).
age_typeInt64Age-category code (FIFA integer enum; 7 = senior).
football_typeInt64Football discipline code (FIFA integer enum; 0 = eleven-a-side football).
genderInt64Gender code (FIFA integer enum: 1 = men, 2 = women).
nameStringLocalised name, JSON list of {Locale, Description} objects.
id_associationStringThree-letter code of the member association, e.g. ARG.
id_cityStringCity id (Utf8 join key).
headquartersStringHeadquarters (null in the captures).
training_centreStringTraining centre (null in the captures).
official_siteStringOfficial website (null in the captures).
cityStringCity of the team's headquarters.
id_countryStringThree-letter FIFA country code, e.g. ARG.
postal_codeStringPostal code.
region_nameStringRegion name (null in the captures).
short_club_nameStringShort English team name.
abbreviationStringAbbreviation (e.g. ARG, FWC 2026).
streetStringStreet address.
foundation_yearInt64Year the team or association was founded.
stadiumStringHome stadium block (null in the captures).
picture_urlStringImage URL template with {format} and {size} placeholders.
thumbnail_urlStringThumbnail image URL (null in the captures).
display_nameStringLocalised display name (e.g. ARG), JSON list of {Locale, Description} objects.
contentStringEditorial content entries, JSON list (empty in the captures).
is_updateableStringIsUpdateable flag from the API (null in the captures).
properties_id_ifesStringIFES cross-reference id (Utf8).
properties_stats_perform_ifes_idStringIFES id as carried by the Stats Perform feed (Utf8).
properties_id_stats_performStringStats Perform (Opta) id of the record (Utf8 cross-reference).

return_parsed=False — the raw JSON Dict (paginated routes return the first page; the API's paging request parameter is undocumented, see the spec's x-pagination).

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. The FIFA API returned 404 (unknown competition or team id).
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.

Example​

fifa_team(id_team='43922', language='en')

Teams matching a name (first page).

Endpoint URL: GET https://api.fifa.com/api/v3/teams/search

Valid URL: https://api.fifa.com/api/v3/teams/search?name=Argentina&language=en

API ParameterPythonPatternRequiredNullableDescription
namenameYRequired. Search text.
languagelanguageYContent language, e.g. en, es, fr.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
id_teamStringFIFA team id (Utf8 join key).
id_confederationStringConfederation code (e.g. UEFA, CONMEBOL); a JSON list on competitions and seasons.
active_statusInt64Activity-status code (FIFA integer enum).
typeInt64Team-type code (FIFA integer enum: 0 = club, 1 = national team).
age_typeInt64Age-category code (FIFA integer enum; 7 = senior).
football_typeInt64Football discipline code (FIFA integer enum; 0 = eleven-a-side football).
genderInt64Gender code (FIFA integer enum: 1 = men, 2 = women).
nameStringLocalised name, JSON list of {Locale, Description} objects.
id_associationStringThree-letter code of the member association, e.g. ARG.
id_cityStringCity id (Utf8 join key).
headquartersStringHeadquarters (null in the captures).
training_centreStringTraining centre (null in the captures).
official_siteStringOfficial website (null in the captures).
cityStringCity of the team's headquarters.
id_countryStringThree-letter FIFA country code, e.g. ARG.
postal_codeStringPostal code.
region_nameStringRegion name (null in the captures).
short_club_nameStringShort English team name.
abbreviationStringAbbreviation (e.g. ARG, FWC 2026).
streetStringStreet address.
foundation_yearInt64Year the team or association was founded.
stadiumStringHome stadium block (null in the captures).
picture_urlStringImage URL template with {format} and {size} placeholders.
thumbnail_urlStringThumbnail image URL (null in the captures).
display_nameStringLocalised display name (e.g. ARG), JSON list of {Locale, Description} objects.
contentStringEditorial content entries, JSON list (empty in the captures).
is_updateableStringIsUpdateable flag from the API (null in the captures).
properties_id_ifesStringIFES cross-reference id (Utf8).
properties_stats_perform_ifes_idStringIFES id as carried by the Stats Perform feed (Utf8).
properties_id_stats_performStringStats Perform (Opta) id of the record (Utf8 cross-reference).

return_parsed=False — the raw JSON Dict (paginated routes return the first page; the API's paging request parameter is undocumented, see the spec's x-pagination).

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. The FIFA API returned 404 (unknown competition or team id).
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.

Example​

fifa_teams_search(language='en', name='Argentina')