| Collector / route | What you get (tested) |
20182020202220242026
| Load | |
|---|---|---|---|---|
| Event data | ||||
| StatsBomb Hudl | ||||
| ✅ | └GitHub open-data ★ | 80 comp-seasons · World Cups, Euros, AFCON 23, Copa 24, Leverkusen 23/24 · 5 women's leagues 23/24 · 360 frames Full 2015/16 league seasons (Nov 26): Premier League 2/27 380 · La Liga 11/27 380 · Serie A 12/27 380 · Ligue 1 7/27 377 · Bundesliga 9/27 34 only. PL season = 1.1 GB of events, parses in under 10 s. | Jul 2025 | sb.competitions() # statsbombpy |
| Wyscout Hudl | ||||
| ✅ | └figshare (Pappalardo) ★ | Full 17/18 season · top 5 leagues + WC 2018 + Euro 2016 | Jul 2018 | figshare 4415000 · events.zip 77 MB |
| Impect | ||||
| ✅ | └GitHub open-data ★ | Bundesliga 23/24 events · packing (bypassed opponents) | May 2024 | impect.load_open_data(122838) # kloppy |
| Opta / Stats Perform | ||||
| ✅ | ├FotMob (scrape) ★ | Shot xG/xGOT, momentum, lineups · 46 leaderboards incl. distance, top speed, sprints · back to 2010/11 | live | see FotMob section |
| ❌ | └FBref | Advanced stats removed Jan 20, 2026 · scripts get HTTP 403 | basic only | |
| Understat own xG model | ||||
| ❌ | └understat.com | Site down: every page returns "We will come back soon" | down | use FotMob |
| Tracking data | ||||
| DFL / Sportec Bundesliga | ||||
| ✅ | └IDSSE (Hugging Face) ★ | 7 matches 22/23 · 25 fps optical tracking + synced events · CC-BY | May 2023 | sportec.load_open_tracking_data("J03WPY") |
| SkillCorner broadcast CV | ||||
| ✅ | └GitHub opendata ★ | A-League 24/25 · 10 fps · 90 MB/match · dynamic events · season physical aggregates | May 2025 | data/matches/{id}/{id}_tracking_extrapolated.jsonl |
| Metrica Sports | ||||
| ✅ | └GitHub sample-data ★ | 3 anonymized matches · tracking + events | anon. sample | metrica.load_open_data(match_id=1) # kloppy |
| PFF FC / Gradient | ||||
| ⚠️ | └form-gated release ★ | All 64 WC 2022 matches · tracking + events + grades | Dec 2022 | pff.load_tracking() # kloppy |
| FIFA Training Centre optical tracking reports | ||||
| ✅ | └Alamyy/Worldcup26 ★ | WC 2026 · 104 match reports → 21 CSVs: shots, line breaks, physical, passing networks · CC BY 4.0 | Jul 2026 | data/csv/attempts_at_goal.csv |
| Results · fixtures · odds · ratings | ||||
| football-data.co.uk | ||||
| ✅ | └CSV downloads ★ | ~22 leagues since 1993 · results + odds + match xG (HxG, AxG) 26/27 (Nov 26): PP* = Paddy Power, not Pinnacle; no Pinnacle columns this season. Sharpest close = Betfair Exchange BFECH/BFECD/BFECA (0.6% overround vs ~7% Paddy Power). Also referee, shots, fouls, cards. HxG matches FPL-summed Opta xG at r = 0.996. | Nov 2, 2026 | mmz4281/2627/E0.csv # latin-1, set UA |
| openfootball volunteers | ||||
| ✅ | └GitHub JSON ★ | Public-domain fixtures/results · WC 2026 complete (104/104) | live | worldcup.json/master/2026/worldcup.json |
| UEFA | ||||
| ✅ | └match API (unofficial) ★ | All 71 European Cup / UCL seasons · lineups, scorers, venues | live | match.uefa.com/v5/matches?competitionId=1&seasonYear=2027 |
| FIFA match centre | ||||
| ✅ | └Kaggle mominullptr ★ | WC 2026 · 104 matches · 1,248 players · events, lineups, xG · CC0 · SQLite | Oct 18 | match_events.csv |
| martj42 volunteer | ||||
| ✅ | ├men's internationals ★ | 49,940 matches since 1872 · 225 tournaments · 47,914 goals with minute + assist (to Jul 19) · 700 shootouts | Oct 6, 2026 | international_results/master/results.csv |
| ✅ | └women's internationals ★ | 11,816 matches since 1956 · same schema | Oct 13, 2026 | womens-international-results/master/results.csv |
| Fjelstul | ||||
| ⚠️ | └GitHub worldcup ★ | Men's WC 1930-2022 · 27 tables · no WWC 2023, no WC 2026 | Dec 2022 | worldcup/master/data-csv/matches.csv |
| Bookmakers Pinnacle · Singbet · SBOBET · Bet365 | ||||
| ✅ | └Kaggle archangel0x01 ★ | 63,597 matches · 37M timestamped price moves · 1X2, Asian handicap, O/U · 542 MB | Jun 2026 | Kaggle download |
| ClubElo | ||||
| ❌ | └api.clubelo.com | API returns HTTP 502 | down | |
| Players · transfers · values | ||||
| Transfermarkt | ||||
| ✅ | ├direct scrape ★ | Squads, market values, transfers, injuries, tables, match sheets · 26/27 | live | see Transfermarkt section |
| ⚠️ | └dcaribou DuckDB | 89k games · 50k players · 1.9M appearances · pipeline paused | Jul 6 | duckdb transfermarkt-datasets.duckdb |
| Premier League Fantasy | ||||
| ✅ | └FPL API ★ | 670 players · 109 cols incl. xG · GW9 (Oct 31) · no key | live | fantasy.premierleague.com/api/bootstrap-static/ |
| ✅ | └FPL per gameweek ★ | Nov 26: /api/event/{gw}/live/ = per-player per-GW xG, xA, xGC, defensive contribution · /api/fixtures/ = all 380 fixtures, scores, finished · sum players by team = per-match team xG (within 0.4 of FotMob season totals per team) · photos resources.premierleague.com/premierleague25/photos/players/110x140/{code}.png | live | fantasy.premierleague.com/api/event/{gw}/live/ |
| Definitions · metric formulas and provider schemas | ||||
| football-docs withqwerty · MCP server | ||||
| ✅ | └npm football-docs ★ | 0.17.10 · 3,587 chunks · 32 providers (StatsBomb, Opta, Wyscout, Impect, SkillCorner, kloppy, mplsoccer, FBref...) · metric cards with variant IDs, formulas, reference code and test values (PPDA, progressive passes, field tilt, xG, xA, xT) · paper search · no match data. Nov 26: 22 / 22 card test values reproduced on StatsBomb open data. Applied: Same season, different rulebook | Nov 2026 | claude mcp add football-docs -- npx -y football-docs |
| Identity · player ID crosswalk | ||||
| Reep Wikidata + custom | ||||
| ✅ | └GitHub CSV ★ | 445k people · 41 provider ID columns · CC0 | 2026 | data/people.csv |
| Data | URL path (www.transfermarkt.com) | Parse |
|---|---|---|
| Squad + MV | /x/kader/verein/{club_id}/saison_id/2026/plus/1 | td.hauptlink a, td.rechts.hauptlink |
| League table | /x/tabelle/wettbewerb/{comp}/saison_id/2026 | table.items tbody tr |
| Transfers | /x/transfers/wettbewerb/{comp}/saison_id/2026 | div.responsive-table table · 611 EPL rows |
| Fixtures | /x/gesamtspielplan/wettbewerb/{comp}/saison_id/2026 | HTML, 860 KB |
| Injuries | /x/verletztespieler/wettbewerb/{comp} | table.items > tbody > tr |
| Match sheet | /spielbericht/index/spielbericht/{match_id} | HTML |
| MV history JSON | /ceapi/marketValueDevelopment/graph/{player_id} | .json()["list"] |
| Transfer history JSON | /ceapi/transferHistory/list/{player_id} | .json()["transfers"] |
GB1 EPLES1 LaLigaIT1 Serie AL1 BundesligaFR1 Ligue 1saison_id 2026 = 26/27Arsenal 11 · Liverpool 31 · Real Madrid 418Saka 433177import time, random, requests from bs4 import BeautifulSoup H = {"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0 Safari/537.36", "Accept-Language": "en-US,en;q=0.9"} def get(url, tries=6): for i in range(1, tries + 1): r = requests.get(url, headers=H, timeout=30) if r.status_code == 200 and "Human Verification" not in r.text[:600]: return r time.sleep(10 * i + random.random() * 5) raise RuntimeError(f"blocked: {url}") TM = "https://www.transfermarkt.com" # squad + market values s = BeautifulSoup(get(f"{TM}/fc-arsenal/kader/verein/11/saison_id/2026/plus/1").text, "lxml") for tr in s.select("table.items > tbody > tr"): name, mv = tr.select_one("td.hauptlink a"), tr.select_one("td.rechts.hauptlink") if name and mv: print(name.text.strip(), mv.text.strip()) # market value history (JSON) hist = get(f"{TM}/ceapi/marketValueDevelopment/graph/433177").json()["list"] print([(p["datum_mw"], p["mw"]) for p in hist[-3:]]) # → David Raya €30.00M ... [('09/03/2026', '€120.00M'), ('03/06/2026', '€110.00M')]
| Data | URL (www.fotmob.com) | Key fields |
|---|---|---|
| Day's matches | /api/data/matches?date=20261101 | leagues[].matches[].id |
| League | /api/data/leagues?id={league}&ccode3=USA | table, fixtures, transfers, stats, seasons |
| Past season | …&season=2019%2F2020 | back to 2010/11 |
| Match ★ | /api/data/matchDetails?matchId={id} | content.shotmap.shots (x, y, expectedGoals), momentum, lineup, stats, playerStats |
| Player | /api/data/playerData?id={player_id} | career, contract, season stats |
| Leaderboard | data.fotmob.com/stats/{league}/season/{season_id}/{stat}.json | gzip · TopLists[0].StatList · StatValue = per 90; SubStatValue = % or total by list (pass % on accurate_pass, dribble % on won_contest) · players with 0 are left out, treat as 0 · EPL ~300 players per list · phys_tdc_per_90 only 500+ min · team lists incl. squad_value_team |
| Squad ★ | /api/data/teams?id={team_id}&ccode3=USA | Nov 26: squad.squad[].members[] · positionIdsDesc (CB, LB, CDM...) · ccode, cname nationality · splits centre-backs from full-backs |
| Player photo | images.fotmob.com/image_resources/playerimages/{player_id}.png | id = leaderboard ParticiantId (sic) |
| Flag | images.fotmob.com/image_resources/logo/teamlogo/{ccode3 lowercase}.png | eng, esp · uppercase = 403 |
47 EPL · 3678187 LaLiga · 3884355 Serie A · 3607254 Bundesliga · 4004053 Ligue 1 · 3729842 UCL · 477609227 WSL · 37894league id · 26/27 season idexpected_goalsexpected_assistsphys_tsphys_tdcphys_sprintsgoalsstat slugs: take fetchAllUrl from league JSON| xG | Barry 7.3 · Haaland 6.7 · Calvert-Lewin 4.4 |
| Top speed | Barnes 36.2 · Barcola 35.9 · Semenyo 35.7 km/h |
| Distance | Ampadu 116.3 · Armstrong 115.0 · Justin 114.0 km |
data.fotmob.com files: --compressedimport requests H = {"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) Chrome/130.0"} F = "https://www.fotmob.com/api/data" # all finished matches on a date day = requests.get(f"{F}/matches?date=20261101", headers=H).json() ids = [m["id"] for L in day["leagues"] for m in L["matches"] if m["status"].get("finished")] # shot-level xG for one match m = requests.get(f"{F}/matchDetails?matchId={ids[0]}", headers=H).json() shots = m["content"]["shotmap"]["shots"] for s in shots: print(s["min"], s["playerName"], s["x"], s["y"], s["expectedGoals"], s["eventType"]) # season leaderboard (URL comes from league JSON) lg = requests.get(f"{F}/leagues?id=47&ccode3=USA", headers=H).json() url = {p["header"]: p["fetchAllUrl"] for p in lg["stats"]["players"]}["Expected goals (xG)"] xg = requests.get(url, headers=H).json()["TopLists"][0]["StatList"] # → Liverpool 0-1 Arsenal: 27 shots · xG 1.05 v 0.98
TM 433177FBref bc7dc64dFotMob 961995Sofascore 934235Opta 8tc7dcuw…WhoScored 367185Understat 7322Wyscout 520291SkillCorner 20208Impect 32672UEFA 250106939PL 49481worldfootballR · FBref↔TM, big 5FPL-ID-Map · FPL→Opta/FBref/TMglass_onion · within-match syncWikidata · P2446 TM, P5750 FBrefimport pandas as pd R = "https://raw.githubusercontent.com/withqwerty/reep/main/data/" people = pd.read_csv(R + "people.csv", dtype=str, low_memory=False) # one TM id → every provider id saka = people[people.key_transfermarkt == "433177"] ids = saka.filter(like="key_").dropna(axis=1).T # FotMob leaderboard → Transfermarkt xg = pd.DataFrame(fotmob_statlist) # TopLists[0].StatList xg["fotmob"] = xg["ParticiantId"].astype(str) # sic: FotMob typo j = xg.merge(people[["key_fotmob", "key_transfermarkt"]], left_on="fotmob", right_on="key_fotmob", how="left") # → 239 / 365 matched (65%)
| Source | URL pattern | ID from |
|---|---|---|
| FotMob | images.fotmob.com/image_resources/logo/teamlogo/{team_id}.png | FotMob league JSON · Arsenal 9825 |
| Transfermarkt | tmssl.akamaized.net/images/wappen/big/{club_id}.png | TM club id · Arsenal 11 · Reep key_transfermarkt |
| Wikipedia | upload.wikimedia.org/wikipedia/en/5/53/Arsenal_FC.svg | page title |
| football-logos.cc | assets.football-logos.cc/logos/{country}/700x700/{club}.{hash}.png | club page (hash in file name) |
| ESPN | a.espncdn.com/i/teamlogos/soccer/500/{id}.png | site.api.espn.com/apis/site/v2/sports/soccer/eng.1/teams · older variant |
| TheSportsDB | thesportsdb.com/api/v1/json/123/searchteams.php?t={name} → strBadge | name search · free key 123 |
| luukhopman/football-logos | github.com/luukhopman/football-logos · logos/{League}/{Club}.png | top 25 European leagues by season since 21/22 · same files as Transfermarkt |
| ❌ Sofascore | api.sofascore.app/api/v1/team/{id}/image | HTTP 403 |
| Source | URL pattern | What you get |
|---|---|---|
| Guardian football RSS | theguardian.com/football/rss | Recent headlines, dates and links · no API key |
| Guardian author archive | theguardian.com/profile/{slug}/rsstheguardian.com/profile/{slug}?page=2 | Recent posts via RSS · older posts via archive pages · Jonathan Wilson: jonathanwilson · check byline |
| BBC Sport | feeds.bbci.co.uk/sport/football/rss.xml | Football headlines, dates and links · RSS |
| ESPN FC | espn.com/espn/rss/soccer/news | Soccer headlines, dates and links · RSS |
| Opta Analyst | theanalyst.com/competition/football/articles | Stats analysis · direct Python request returned 403 |
| Spielverlagerung | spielverlagerung.com/feed/ | Tactics · feed request returned 403 |
| Guardian article HTML | [data-gu-name="body"] pmain figure img + figcaption | Beautiful Soup · text, image variants (srcset), captions and credits |
Authors to follow: Jonathan Wilson · tactics; Sid Lowe · Spain; Nicky Bandini · Italy; Julien Laurens · France (archive), Get French Football News · recent Ligue 1; Raphael Honigstein · Germany (archive), Andy Brassell · recent Bundesliga coverage.
from urllib.request import urlopen
from xml.etree import ElementTree as ET
from time import sleep
from bs4 import BeautifulSoup # pip install beautifulsoup4
base = "https://www.theguardian.com"
feeds = {
"wilson": base + "/profile/jonathanwilson/rss",
"guardian": base + "/football/rss",
"bbc": "https://feeds.bbci.co.uk/sport/football/rss.xml",
"espn": "https://www.espn.com/espn/rss/soccer/news",
}
source = "wilson"
feed = feeds[source]
with urlopen(feed, timeout=20) as response:
items = ET.parse(response).findall("./channel/item")
for item in items[:10]:
url = item.findtext("link")
if source in {"bbc", "espn"}:
print(item.findtext("pubDate"), item.findtext("title"), url)
continue
if not url or "/audio/" in url or "/live/" in url:
continue
with urlopen(url, timeout=20) as response:
page = BeautifulSoup(response.read(), "html.parser")
sleep(1)
body = page.select_one('[data-gu-name="body"]')
if not body:
continue
photos = [
{"url": img["src"], "caption_and_credit": caption.get_text(" ", strip=True)}
for figure in page.select("main figure")
if (img := figure.select_one("img[src]"))
and (caption := figure.select_one("figcaption"))
]
print({
"title": item.findtext("title"), "url": url,
"text": "\n\n".join(p.get_text(" ", strip=True) for p in body.select("p")),
"photos": photos,
})