Skip to main content

Soccer (all) — FotMob data API (fotmob.com, unofficial)

sportsdataverse.soccer — 14 endpoints.

fotmob_all_leagues​

Every league FotMob covers, grouped as popular / international / by country.

Endpoint URL: GET https://www.fotmob.com/api/data/allLeagues

Valid URL: https://www.fotmob.com/api/data/allLeagues

API ParameterPythonPatternRequiredNullableDescription

Returns​

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

col_nametypedescription
popularString
internationalString
countriesString

return_parsed=False — the decoded JSON body (a page object, a one-list envelope, an id-keyed map or a list; {} or null for an unknown id).

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. FotMob answered HTTP 404 (route withdrawn).
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​

fotmob_all_leagues()

fotmob_audio_matches​

Matches with audio commentary available, with their languages.

Endpoint URL: GET https://www.fotmob.com/api/data/audio-matches

Valid URL: https://www.fotmob.com/api/data/audio-matches

API ParameterPythonPatternRequiredNullableDescription

Returns​

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

col_nametypedescription
idStringProvider identifier for the entity (Utf8 join key).
langsString

return_parsed=False — the decoded JSON body (a page object, a one-list envelope, an id-keyed map or a list; {} or null for an unknown id).

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. FotMob answered HTTP 404 (route withdrawn).
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​

fotmob_audio_matches()

fotmob_leagues​

League page: details, tabs, current table, fixtures, stats, transfers (one wide row).

Endpoint URL: GET https://www.fotmob.com/api/data/leagues

Valid URL: https://www.fotmob.com/api/data/leagues?id=47&tab=overview&type=league&timeZone=UTC

API ParameterPythonPatternRequiredNullableDescription
ididYRequired. League, team or player id (numeric string).
tabtabYPage tab, e.g. overview, table, fixtures, stats.
typetypeYleague or team.
timeZonetime_zoneYIANA zone for kickoff times.

Returns​

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

col_nametypedescription
tabsString
all_available_seasonsString
seostrString
qa_dataString
tableString
playoffStringWhether the league entry is a playoff competition; null when Fotmob ships no flag.
seasonsStringNested list (stringified) of the seasons the source publishes for the league.
details_idString
details_typeString
details_nameString
details_selected_seasonString
details_latest_seasonString
details_short_nameString
details_countryString
details_genderString
details_national_team_idString
details_faq_jsonldString
details_breadcrumb_jsonldString
details_can_sync_calendarBoolean
details_has_fixture_difficultyBoolean
details_league_colorString
details_data_providerString
details_seopathString
transfers_typeString
transfers_dataString
overview_seasonString
overview_selected_seasonString
overview_tableString
overview_top_playersString
overview_has_totwBoolean
overview_league_overview_matchesString
overview_has_ongoing_matchBoolean
overview_shot_mapString
overview_matchesString
stats_playersString
stats_teamsString
stats_season_stat_linksString
stats_seasons_with_linksString
fixtures_first_unplayed_matchString
fixtures_all_matchesString
fixtures_has_ongoing_matchBoolean
fixtures_fixture_infoString

return_parsed=False — the decoded JSON body (a page object, a one-list envelope, an id-keyed map or a list; {} or null for an unknown id).

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. FotMob answered HTTP 404 (route withdrawn).
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​

fotmob_leagues(id='47', tab='overview', time_zone='UTC', type='league')

fotmob_match_details​

Match page: general info, header, lineups, events, stats (one wide row).

Endpoint URL: GET https://www.fotmob.com/api/data/matchDetails

Valid URL: https://www.fotmob.com/api/data/matchDetails?matchId=4813647

API ParameterPythonPatternRequiredNullableDescription
matchIdmatch_idYRequired. Match id (from /matches).

Returns​

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

col_nametypedescription
navString
ongoingBooleanWhether the match was in progress when the payload was fetched.
has_pending_varBoolean
general_match_idString
general_match_nameString
general_match_roundString
general_team_colorsString
general_league_idString
general_league_nameString
general_league_round_nameString
general_parent_league_idString
general_country_codeString
general_home_teamString
general_away_teamString
general_coverage_levelString
general_match_time_utcString
general_match_time_utc_dateString
general_startedBoolean
general_finishedBoolean
general_genderString
header_teamsString
header_statusString
header_eventsString
content_match_factsString
content_livetickerString
content_superliveString
content_buzzString
content_statsString
content_player_statsString
content_shotmapString
content_weatherString
content_lineupString
content_has_playoffBoolean
content_tableString
content_h2hString
content_momentumString
content_highlight_storiesString
content_heatmap_urlString
seo_pathString
seo_event_jsonldString
seo_breadcrumb_jsonldString
seo_faq_jsonldString

return_parsed=False — the decoded JSON body (a page object, a one-list envelope, an id-keyed map or a list; {} or null for an unknown id).

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. FotMob answered HTTP 404 (route withdrawn).
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​

fotmob_match_details(match_id='4813647')

fotmob_matches​

All matches on a date, one row per league with that league's matches nested.

Endpoint URL: GET https://www.fotmob.com/api/data/matches

Valid URL: https://www.fotmob.com/api/data/matches?date=20260301&timezone=UTC

API ParameterPythonPatternRequiredNullableDescription
datedateYYYYYMMDD.
timezonetimezoneYIANA zone.

Returns​

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

col_nametypedescription
ccodeString
idStringProvider identifier for the entity (Utf8 join key).
primary_idString
nameStringDisplay name.
matchesString
internal_rankInt64
simple_leagueBoolean
local_rankInt64

return_parsed=False — the decoded JSON body (a page object, a one-list envelope, an id-keyed map or a list; {} or null for an unknown id).

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. FotMob answered HTTP 404 (route withdrawn).
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​

fotmob_matches(date='20260301', timezone='UTC')

fotmob_player_data​

Player page: bio, primary team, career history, recent matches, stats (one wide row).

Endpoint URL: GET https://www.fotmob.com/api/data/playerData

Valid URL: https://www.fotmob.com/api/data/playerData?id=1077894

API ParameterPythonPatternRequiredNullableDescription
ididYRequired. League, team or player id (numeric string).

Returns​

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

col_nametypedescription
idStringProvider identifier for the entity (Utf8 join key).
nameStringDisplay name.
is_coachBoolean
is_captainBoolean
genderStringPlayer's gender as Fotmob ships it (e.g. 'male').
injury_informationString
international_dutyString
player_informationString
recent_matchesString
matches_urlString
coach_statsString
stat_seasonsString
statusStringPlayer's status as Fotmob ships it (e.g. 'active').
data_providerString
birth_date_utc_timeString
birth_date_timezoneString
contract_end_utc_timeString
contract_end_timezoneString
primary_team_team_idString
primary_team_team_nameString
primary_team_on_loanBoolean
primary_team_team_colorsString
position_description_positionsString
position_description_primary_positionString
position_description_non_primary_positionsString
main_league_league_idString
main_league_league_nameString
main_league_seasonString
main_league_statsString
trophies_player_trophiesString
trophies_coach_trophiesString
match_filters_teamsString
match_filters_leaguesString
career_history_show_footnoteBoolean
career_history_career_itemsString
career_history_full_careerBoolean
traits_keyString
traits_titleString
traits_itemsString
meta_seopathString
meta_pageurlString
meta_faq_jsonldString
meta_person_jsonldString
meta_breadcrumb_jsonldString
first_season_stats_section_orderString
first_season_stats_shotmapString
first_season_stats_stats_sectionString
first_season_stats_top_stat_cardString
first_season_stats_heatmapString
first_season_stats_keeper_shotmapString
first_season_stats_shotmap_team_colorsString
market_values_valuesString
related_links_data_teammatesString
related_links_data_mens_national_teamString
related_links_data_womens_national_teamString
next_match_match_idString
next_match_home_idString
next_match_away_idString
next_match_home_nameString
next_match_away_nameString
next_match_match_dateString
next_match_status_idString
next_match_league_idString
next_match_parent_league_idString
next_match_league_nameString
next_match_statusString
next_match_stadiumString
next_match_match_urlString
initial_matches_page_matchesString
initial_matches_page_previousString

return_parsed=False — the decoded JSON body (a page object, a one-list envelope, an id-keyed map or a list; {} or null for an unknown id).

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. FotMob answered HTTP 404 (route withdrawn).
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​

fotmob_player_data(id='1077894')

fotmob_search_suggest​

Search suggestions for a term, one row per result group (players, teams, leagues).

Endpoint URL: GET https://www.fotmob.com/api/data/search/suggest

Valid URL: https://www.fotmob.com/api/data/search/suggest?term=haaland&lang=en

API ParameterPythonPatternRequiredNullableDescription
termtermYRequired. Search text.
langlangYLanguage code.

Returns​

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

col_nametypedescription
suggestionsString
title_keyString
title_valueString

return_parsed=False — the decoded JSON body (a page object, a one-list envelope, an id-keyed map or a list; {} or null for an unknown id).

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. FotMob answered HTTP 404 (route withdrawn).
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​

fotmob_search_suggest(lang='en', term='haaland')

fotmob_table​

A data.fotmob.com league table file: legend, filters and the all/home/away/xg tables.

Endpoint URL: GET https://www.fotmob.com/api/data/table

Valid URL: https://www.fotmob.com/api/data/table?url=http%3A%2F%2Fdata.fotmob.com%2Ftables.ext.47.fot.gz

API ParameterPythonPatternRequiredNullableDescription
urlurlYRequired. The data.fotmob.com table file to return, e.g. http://data.fotmob.com/tables.ext.47.fot.gz.

Returns​

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

col_nametypedescription
ccodeString
league_idStringFotmob league id of the table, as a string.
page_urlString
league_nameStringFotmob league name of the table (e.g. 'Premier League').
legendString
ongoingStringStringified list of the team's ongoing matches at capture; empty when none.
table_filter_typesString
compositeBoolean
table_allString
table_homeString
table_awayString
table_xgString

return_parsed=False — the decoded JSON body (a page object, a one-list envelope, an id-keyed map or a list; {} or null for an unknown id).

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. FotMob answered HTTP 404 (route withdrawn).
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​

fotmob_table(url='http://data.fotmob.com/tables.ext.47.fot.gz')

fotmob_teams​

Team page: details, squad, table, fixtures, stats, transfers, history (one wide row).

Endpoint URL: GET https://www.fotmob.com/api/data/teams

Valid URL: https://www.fotmob.com/api/data/teams?id=8650&tab=overview&type=team&timeZone=UTC

API ParameterPythonPatternRequiredNullableDescription
ididYRequired. League, team or player id (numeric string).
tabtabYPage tab, e.g. overview, table, fixtures, stats.
typetypeYleague or team.
timeZonetime_zoneYIANA zone for kickoff times.

Returns​

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

col_nametypedescription
tabsString
all_available_seasonsString
seostrString
qa_dataString
tableString
details_idString
details_typeString
details_nameString
details_latest_seasonString
details_short_nameString
details_countryString
details_genderString
details_national_team_idString
details_faq_jsonldString
details_sports_team_jsonldString
details_breadcrumb_jsonldString
details_can_sync_calendarBoolean
details_has_fixture_difficultyBoolean
details_primary_league_idString
details_primary_league_nameString
details_team_colorString
details_seopathString
transfers_typeString
transfers_dataString
transfers_all_transfersString
transfers_all_rumoursString
transfers_max_feeInt64
transfers_our_team_idString
overview_seasonString
overview_selected_seasonString
overview_tableString
overview_top_playersString
overview_venueString
overview_coach_historyString
overview_overview_fixturesString
overview_next_matchString
overview_last_matchString
overview_team_formString
overview_has_ongoing_matchBoolean
overview_previous_fixtures_urlString
overview_team_colorsString
overview_last_lineup_statsString
overview_news_summaryString
overview_featured_articleString
overview_fixture_difficultyString
overview_squadString
overview_transfersString
stats_team_idString
stats_primary_league_idString
stats_primary_season_idString
stats_playersString
stats_teamsString
stats_tournament_idString
stats_tournament_seasonsString
fixtures_all_fixturesString
fixtures_primary_tournament_idString
fixtures_previous_fixtures_urlString
fixtures_has_ongoing_matchBoolean
squad_squadString
squad_is_national_teamBoolean
history_trophy_listString
history_historical_table_dataString
history_team_color_mapString
history_tablesString
history_coach_historyString
history_team_colorsString

return_parsed=False — the decoded JSON body (a page object, a one-list envelope, an id-keyed map or a list; {} or null for an unknown id).

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. FotMob answered HTTP 404 (route withdrawn).
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​

fotmob_teams(id='8650', tab='overview', time_zone='UTC', type='team')

fotmob_tlnews​

News timeline for a league or team, one row per story.

Endpoint URL: GET https://www.fotmob.com/api/data/tlnews

Valid URL: https://www.fotmob.com/api/data/tlnews?id=47&type=league&startIndex=0

API ParameterPythonPatternRequiredNullableDescription
ididYRequired. League, team or player id (numeric string).
typetypeYRequired. league or team.
startIndexstart_indexYRequired. Paging offset for the news timeline.

Returns​

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

col_nametypedescription
idStringProvider identifier for the entity (Utf8 join key).
image_urlStringURL of the article's lead image.
titleStringDisplay title.
gmt_timeString
source_strString
source_icon_urlString
languageStringLanguage code of the article (e.g. 'en').
page_urlString

return_parsed=False — the decoded JSON body (a page object, a one-list envelope, an id-keyed map or a list; {} or null for an unknown id).

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. FotMob answered HTTP 404 (route withdrawn).
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​

fotmob_tlnews(id='47', start_index='0', type='league')

fotmob_top_transfers​

Top transfers across FotMob, one row per transfer.

Endpoint URL: GET https://www.fotmob.com/api/data/top-transfers

Valid URL: https://www.fotmob.com/api/data/top-transfers

API ParameterPythonPatternRequiredNullableDescription

Returns​

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

col_nametypedescription
nameStringDisplay name.
player_idStringFotmob player id of the transferred player, as a string.
transfer_dateStringTimestamp the transfer was recorded (ISO-8601 UTC).
transfer_textString
from_clubString
from_club_full_nameString
from_club_idString
to_clubString
to_club_full_nameString
to_club_idString
amount_euro_estimatedInt64
contract_extensionBoolean
on_loanBoolean
from_dateString
to_dateString
market_valueInt64
position_labelString
position_keyString
from_club_colors_light_modeString
from_club_colors_dark_modeString
to_club_colors_light_modeString
to_club_colors_dark_modeString
fee_fee_textString
fee_localized_fee_textString
transfer_type_textString
transfer_type_localization_keyString
fee_valueInt64

return_parsed=False — the decoded JSON body (a page object, a one-list envelope, an id-keyed map or a list; {} or null for an unknown id).

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. FotMob answered HTTP 404 (route withdrawn).
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​

fotmob_top_transfers()

fotmob_totw_rounds​

Team-of-the-week rounds for a league season, one row per round.

Endpoint URL: GET https://www.fotmob.com/api/data/team-of-the-week/rounds

Valid URL: https://www.fotmob.com/api/data/team-of-the-week/rounds?leagueId=47&season=2025%2F2026

API ParameterPythonPatternRequiredNullableDescription
leagueIdleague_idYRequired. League id.
seasonseasonYe.g. 2025/2026.

Returns​

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

col_nametypedescription
localized_keyString
round_idStringComposite id of the round.
linkStringFotmob API URL of the round's team-of-the-week payload.
is_completedBoolean

return_parsed=False — the decoded JSON body (a page object, a one-list envelope, an id-keyed map or a list; {} or null for an unknown id).

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. FotMob answered HTTP 404 (route withdrawn).
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​

fotmob_totw_rounds(league_id='47', season='2025/2026')

Trending news stories (host-root route), one row per story.

Endpoint URL: GET https://www.fotmob.com/api/trendingnews

Valid URL: https://www.fotmob.com/api/trendingnews?lang=en

API ParameterPythonPatternRequiredNullableDescription
langlangYLanguage code.

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

col_nametypedescription
idStringProvider identifier for the entity (Utf8 join key).
image_urlStringURL of the article's lead image.
titleStringDisplay title.
gmt_timeString
source_strString
source_icon_urlString
page_urlString

return_parsed=False — the decoded JSON body (a page object, a one-list envelope, an id-keyed map or a list; {} or null for an unknown id).

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. FotMob answered HTTP 404 (route withdrawn).
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.
fotmob_trending_news(lang='en')

fotmob_tvlistings​

TV listings for a country, one row per broadcast with the match id in id.

Endpoint URL: GET https://www.fotmob.com/api/data/tvlistings

Valid URL: https://www.fotmob.com/api/data/tvlistings?countryCode=GB

API ParameterPythonPatternRequiredNullableDescription
countryCodecountry_codeYRequired. ISO country for TV listings.

Returns​

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

col_nametypedescription
idStringProvider identifier for the entity (Utf8 join key).
start_timeStringBroadcast start as an ASP.NET-style '/Date()/' string (milliseconds since the Unix epoch).
end_timeStringBroadcast end as an ASP.NET-style '/Date()/' string; a large negative value is Fotmob's 'unset' sentinel.
qualifiersStringStringified list of listing qualifiers (e.g. ['Live']).
station_idString
match_idString
league_idStringFotmob league id of the listing's competition, as a string.
parent_league_idString
bet365_match_idString
external_idStringProvider-side identifier for the media item, matching the play id it accompanies.
affiliatesString
tagsStringContent tags, JSON-encoded.
station_call_signString
station_station_idString
station_affiliate_idString
station_affiliate_call_signString
station_nameString
station_typeString
station_blocked_country_codesString
program_root_idString
program_teamsString

return_parsed=False — the decoded JSON body (a page object, a one-list envelope, an id-keyed map or a list; {} or null for an unknown id).

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. FotMob answered HTTP 404 (route withdrawn).
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​

fotmob_tvlistings(country_code='GB')