claude conversation

Football data

Every source below was downloaded and parsed on Nov 7, 2026. Rows and notes marked Nov 26 were tested on Nov 26.
22collectors
19working
3caveat
3broken

Sources · collector → route → mirrors

★ canonical route↳ mirror / copylivestatic releasestale / down✅ works · ⚠️ catch · ❌ broken
Collector / routeWhat 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
❌└FBrefAdvanced stats removed Jan 20, 2026 · scripts get HTTP 403
basic only
Understat own xG model
❌└understat.comSite 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
↳ results.csv↳ goalscorers.csv↳ shootouts.csv↳ former_names.csv↳ Kaggle mirror · Oct 7
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.comAPI 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 DuckDB89k 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

Scraping Transfermarkt

23 measured requests
35%
blocked (HTTP 405)
100%
success with retry, ≤4 tries
Rapid burst
60 s pause
ok   "Human Verification"
DataURL path (www.transfermarkt.com)Parse
Squad + MV/x/kader/verein/{club_id}/saison_id/2026/plus/1td.hauptlink a, td.rechts.hauptlink
League table/x/tabelle/wettbewerb/{comp}/saison_id/2026table.items tbody tr
Transfers/x/transfers/wettbewerb/{comp}/saison_id/2026div.responsive-table table · 611 EPL rows
Fixtures/x/gesamtspielplan/wettbewerb/{comp}/saison_id/2026HTML, 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 433177
HeadersReal Chrome User-Agent + Accept-Language
Detect blockHTTP 405 or title "Human Verification"
Backoffsleep 10·i s + jitter, up to 6 tries
Pace≥6 s between pages, ~15 min for top 5 squads
Burst blockedPause 60 s, then resume
import 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')]

Scraping FotMob

115 requests in 2 rapid bursts · 1 square ≈ 2 requests
·
100%
HTTP 200
0
blocks · no token · no backoff
JSON
every endpoint
DataURL (www.fotmob.com)Key fields
Day's matches/api/data/matches?date=20261101leagues[].matches[].id
League/api/data/leagues?id={league}&ccode3=USAtable, fixtures, transfers, stats, seasons
Past season…&season=2019%2F2020back 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
Leaderboarddata.fotmob.com/stats/{league}/season/{season_id}/{stat}.jsongzip · 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=USANov 26: squad.squad[].members[] · positionIdsDesc (CB, LB, CDM...) · ccode, cname nationality · splits centre-backs from full-backs
Player photoimages.fotmob.com/image_resources/playerimages/{player_id}.pngid = leaderboard ParticiantId (sic)
Flagimages.fotmob.com/image_resources/logo/teamlogo/{ccode3 lowercase}.pngeng, esp · uppercase = 403
47 EPL · 3678187 LaLiga · 3884355 Serie A · 3607254 Bundesliga · 4004053 Ligue 1 · 3729842 UCL · 477609227 WSL · 37894league id · 26/27 season id
expected_goalsexpected_assistsphys_tsphys_tdcphys_sprintsgoalsstat slugs: take fetchAllUrl from league JSON
EPL 26/27 leaderboards, pulled Nov 7
xGBarry 7.3 · Haaland 6.7 · Calvert-Lewin 4.4
Top speedBarnes 36.2 · Barcola 35.9 · Semenyo 35.7 km/h
DistanceAmpadu 116.3 · Armstrong 115.0 · Justin 114.0 km
HeadersAny browser User-Agent
Gzipdata.fotmob.com files: --compressed
UnofficialEndpoints can change without notice
import 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

Player identity · Reep

444,707
people (401k players · 44k coaches)
41
provider ID columns
30
IDs for Saka from one TM ID
CC0
66 MB CSV · GitHub raw
ID coverage (non-null rows)
Wikidata429,785
Transfermarkt207,873
FBref116,365
Sofascore83,820
Opta50,498
Wyscout47,902
SkillCorner45,916
FotMob4,515
WhoScored2,494
Understat2,412
FotMob → Reep · all 2,273 top-5 players, 26/27
A · 1,327 · 58% direct key_fotmob
B · 2,138 · 94.1% + FotMob birthDate + fuzzy name ≥80
C · 2,163 · 95.2% + name ≥90, DOB 2 of 3 parts (25 flagged review)
Minutes-weighted 96.6% · TM id on 95.9% of matches · 946 DOBs fetched in 3 min, 0 blocks
Match rate by league
Premier League98.2% · 456
Serie A97.2% · 493
Bundesliga95.9% · 416
LaLiga93.2% · 488
Ligue 191.0% · 420
Reep DOB errors: Gvardiol, Schlager (fixed by pass C) · not in Reep: Grimaldo, Trafford, Pepelu · 110 left
Saka, resolved from TM 433177
TM 433177FBref bc7dc64dFotMob 961995Sofascore 934235Opta 8tc7dcuw…WhoScored 367185Understat 7322Wyscout 520291SkillCorner 20208Impect 32672UEFA 250106939PL 49481
Other crosswalks
worldfootballR · FBref↔TM, big 5FPL-ID-Map · FPL→Opta/FBref/TMglass_onion · within-match syncWikidata · P2446 TM, P5750 FBref
import 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%)

Club crests

FotMobFotMob191 px PNG
TransfermarktTransfermarkt180 px PNG
WikipediaWikipediaSVG
football-logos.ccfootball-logos.cc700 px PNG
ESPNESPN500 px PNG
TheSportsDBTheSportsDB512 px PNG
SourceURL patternID from
FotMobimages.fotmob.com/image_resources/logo/teamlogo/{team_id}.pngFotMob league JSON · Arsenal 9825
Transfermarkttmssl.akamaized.net/images/wappen/big/{club_id}.pngTM club id · Arsenal 11 · Reep key_transfermarkt
Wikipediaupload.wikimedia.org/wikipedia/en/5/53/Arsenal_FC.svgpage title
football-logos.ccassets.football-logos.cc/logos/{country}/700x700/{club}.{hash}.pngclub page (hash in file name)
ESPNa.espncdn.com/i/teamlogos/soccer/500/{id}.pngsite.api.espn.com/apis/site/v2/sports/soccer/eng.1/teams · older variant
TheSportsDBthesportsdb.com/api/v1/json/123/searchteams.php?t={name} → strBadgename search · free key 123
luukhopman/football-logosgithub.com/luukhopman/football-logos · logos/{League}/{Club}.pngtop 25 European leagues by season since 21/22 · same files as Transfermarkt
❌ Sofascoreapi.sofascore.app/api/v1/team/{id}/imageHTTP 403

Football articles

SourceURL patternWhat you get
Guardian football RSStheguardian.com/football/rssRecent headlines, dates and links · no API key
Guardian author archivetheguardian.com/profile/{slug}/rss
theguardian.com/profile/{slug}?page=2
Recent posts via RSS · older posts via archive pages · Jonathan Wilson: jonathanwilson · check byline
BBC Sportfeeds.bbci.co.uk/sport/football/rss.xmlFootball headlines, dates and links · RSS
ESPN FCespn.com/espn/rss/soccer/newsSoccer headlines, dates and links · RSS
Opta Analysttheanalyst.com/competition/football/articlesStats analysis · direct Python request returned 403
Spielverlagerungspielverlagerung.com/feed/Tactics · feed request returned 403
Guardian article HTML[data-gu-name="body"] p
main 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,
    })