{"api":{"id":"api_d3d3ed63fd3413b33cc01fbd","slug":"football-results-odds-history","name":"Football Results & Closing Odds API","description":"Football match results with half-time scores, xG, shots, cards and betting odds (1X2, over/under, Asian handicap, closing odds) for 22 European leagues, season by season, as typed rows.","kind":"ready_made","visibility":"public","domain":"football-data.co.uk","source_url":"https://football-data.co.uk/data.php","category":"sports","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":30,"created_at":"2026-12-06T03:57:27.654Z","updated_at":"2026-12-06T03:57:27.654Z","runnable":true},"version":"1.0","contract_hash":"77f581d96a83e8ea72bf74c182bec290bca7f01310905264225b3b19ec91902d","fields":[{"name":"id","type":"string","description":"Match id built from division, season, date and teams.","required":true,"coverage":1,"example":"E0-2627-2026-08-21-arsenal-coventry"},{"name":"url","type":"url","description":"Page of the source where the file is listed.","required":false,"coverage":1,"example":"https://football-data.co.uk/englandm.php"},{"name":"season","type":"string","description":"Season code, such as 2627.","required":false,"coverage":1,"example":"2627"},{"name":"division","type":"string","description":"Division code, such as E0.","required":false,"coverage":1,"example":"E0"},{"name":"date","type":"date","description":"Match day.","required":false,"coverage":1,"example":"2026-08-21"},{"name":"time","type":"string","description":"Kick-off time (UK time) when published.","required":false,"coverage":1,"example":"20:00"},{"name":"home_team","type":"string","description":"Home team.","required":false,"coverage":1,"example":"Arsenal"},{"name":"away_team","type":"string","description":"Away team.","required":false,"coverage":1,"example":"Coventry"},{"name":"ft_home_goals","type":"integer","description":"Full-time home goals.","required":false,"coverage":1,"example":3},{"name":"ft_away_goals","type":"integer","description":"Full-time away goals.","required":false,"coverage":1,"example":0},{"name":"ft_result","type":"string","description":"Full-time result: H, D or A.","required":false,"coverage":1,"example":"H"},{"name":"ht_home_goals","type":"integer","description":"Half-time home goals.","required":false,"coverage":1,"example":2},{"name":"ht_away_goals","type":"integer","description":"Half-time away goals.","required":false,"coverage":1,"example":0},{"name":"referee","type":"string","description":"Referee when published.","required":false,"coverage":1,"example":"T Bramall"},{"name":"home_xg","type":"number","description":"Home expected goals when published.","required":false,"coverage":1,"example":1.88},{"name":"away_xg","type":"number","description":"Away expected goals when published.","required":false,"coverage":1,"example":0.2},{"name":"home_shots","type":"integer","description":"Home shots.","required":false,"coverage":1,"example":20},{"name":"away_shots","type":"integer","description":"Away shots.","required":false,"coverage":1,"example":4},{"name":"home_shots_on_target","type":"integer","description":"Home shots on target.","required":false,"coverage":1,"example":6},{"name":"home_corners","type":"integer","description":"Home corners.","required":false,"coverage":1,"example":8},{"name":"home_yellow","type":"integer","description":"Home yellow cards.","required":false,"coverage":1,"example":1},{"name":"home_red","type":"integer","description":"Home red cards.","required":false,"coverage":1,"example":0},{"name":"b365_home","type":"number","description":"Bet365 decimal odds for a home win.","required":false,"coverage":1,"example":1.2},{"name":"b365_draw","type":"number","description":"Bet365 decimal odds for a draw.","required":false,"coverage":1,"example":7},{"name":"b365_away","type":"number","description":"Bet365 decimal odds for an away win.","required":false,"coverage":1,"example":13},{"name":"max_home","type":"number","description":"Highest home-win odds across the books tracked.","required":false,"coverage":1,"example":1.23},{"name":"avg_home","type":"number","description":"Average home-win odds across the books tracked.","required":false,"coverage":1,"example":1.19},{"name":"over_25_avg","type":"number","description":"Average odds for over 2.5 goals.","required":false,"coverage":1,"example":1.55},{"name":"asian_handicap","type":"number","description":"Asian handicap line for the home team.","required":false,"coverage":1,"example":-2},{"name":"closing_odds","type":"object","description":"Closing 1X2 odds as home, draw, away and bookmaker.","required":false,"coverage":1,"example":{"home":1.18,"draw":7.5,"away":13,"bookmaker":"bet365"}}],"inputs":[{"name":"leagues","type":"array","description":"Division codes such as E0 (Premier League), E1, SP1, D1, I1, F1. Default E0.","example":["E0"]},{"name":"seasons","type":"array","description":"Seasons as start and end year, such as 2627 for 2026-27. Default 2627.","example":["2627"]},{"name":"teams","type":"array","description":"Only matches where the home or away team name contains one of these words.","example":["Arsenal"]}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"asian_handicap":{"description":"Asian handicap line for the home team.","type":"number"},"avg_home":{"description":"Average home-win odds across the books tracked.","type":"number"},"away_shots":{"description":"Away shots.","type":"integer"},"away_team":{"description":"Away team.","type":"string"},"away_xg":{"description":"Away expected goals when published.","type":"number"},"b365_away":{"description":"Bet365 decimal odds for an away win.","type":"number"},"b365_draw":{"description":"Bet365 decimal odds for a draw.","type":"number"},"b365_home":{"description":"Bet365 decimal odds for a home win.","type":"number"},"closing_odds":{"description":"Closing 1X2 odds as home, draw, away and bookmaker.","type":"object"},"date":{"description":"Match day.","format":"date","type":"string"},"division":{"description":"Division code, such as E0.","type":"string"},"ft_away_goals":{"description":"Full-time away goals.","type":"integer"},"ft_home_goals":{"description":"Full-time home goals.","type":"integer"},"ft_result":{"description":"Full-time result: H, D or A.","type":"string"},"home_corners":{"description":"Home corners.","type":"integer"},"home_red":{"description":"Home red cards.","type":"integer"},"home_shots":{"description":"Home shots.","type":"integer"},"home_shots_on_target":{"description":"Home shots on target.","type":"integer"},"home_team":{"description":"Home team.","type":"string"},"home_xg":{"description":"Home expected goals when published.","type":"number"},"home_yellow":{"description":"Home yellow cards.","type":"integer"},"ht_away_goals":{"description":"Half-time away goals.","type":"integer"},"ht_home_goals":{"description":"Half-time home goals.","type":"integer"},"id":{"description":"Match id built from division, season, date and teams.","type":"string"},"max_home":{"description":"Highest home-win odds across the books tracked.","type":"number"},"over_25_avg":{"description":"Average odds for over 2.5 goals.","type":"number"},"referee":{"description":"Referee when published.","type":"string"},"season":{"description":"Season code, such as 2627.","type":"string"},"time":{"description":"Kick-off time (UK time) when published.","type":"string"},"url":{"description":"Page of the source where the file is listed.","format":"uri","type":"string"}},"required":["id"],"title":"Football Results & Closing Odds API","type":"object"},"samples":[{"id":"E0-2627-2026-08-21-arsenal-coventry","url":"https://football-data.co.uk/englandm.php","season":"2627","division":"E0","date":"2026-08-21","time":"20:00","home_team":"Arsenal","away_team":"Coventry","ft_home_goals":3,"ft_away_goals":0,"ft_result":"H","ht_home_goals":2,"ht_away_goals":0,"referee":"T Bramall","home_xg":1.88,"away_xg":0.2,"home_shots":20,"away_shots":4,"home_shots_on_target":6,"home_corners":8,"home_yellow":1,"home_red":0,"b365_home":1.2,"b365_draw":7,"b365_away":13,"max_home":1.23,"avg_home":1.19,"over_25_avg":1.55,"asian_handicap":-2,"closing_odds":{"home":1.18,"draw":7.5,"away":13,"bookmaker":"bet365"}},{"id":"E0-2627-2026-08-22-hull-man-united","url":"https://football-data.co.uk/englandm.php","season":"2627","division":"E0","date":"2026-08-22","time":"12:30","home_team":"Hull","away_team":"Man United","ft_home_goals":2,"ft_away_goals":0,"ft_result":"H","ht_home_goals":2,"ht_away_goals":0,"referee":"D England","home_xg":1.01,"away_xg":1.83,"home_shots":8,"away_shots":21,"home_shots_on_target":4,"home_corners":1,"home_yellow":2,"home_red":0,"b365_home":8.5,"b365_draw":5,"b365_away":1.36,"max_home":9,"avg_home":8.37,"over_25_avg":1.64,"asian_handicap":1.5,"closing_odds":{"home":9,"draw":5,"away":1.33,"bookmaker":"bet365"}},{"id":"E0-2627-2026-08-22-everton-crystal-palace","url":"https://football-data.co.uk/englandm.php","season":"2627","division":"E0","date":"2026-08-22","time":"15:00","home_team":"Everton","away_team":"Crystal Palace","ft_home_goals":2,"ft_away_goals":0,"ft_result":"H","ht_home_goals":1,"ht_away_goals":0,"referee":"P Tierney","home_xg":1.12,"away_xg":1.96,"home_shots":16,"away_shots":11,"home_shots_on_target":5,"home_corners":4,"home_yellow":0,"home_red":0,"b365_home":2.15,"b365_draw":3.5,"b365_away":3.3,"max_home":3.2,"avg_home":2.23,"over_25_avg":1.93,"asian_handicap":-0.25,"closing_odds":{"home":2.38,"draw":3.4,"away":3,"bookmaker":"bet365"}}],"validation":{"checked_at":"2026-12-06T03:57:27.599Z","field_coverage":{"asian_handicap":1,"avg_home":1,"away_shots":1,"away_team":1,"away_xg":1,"b365_away":1,"b365_draw":1,"b365_home":1,"closing_odds":1,"date":1,"division":1,"ft_away_goals":1,"ft_home_goals":1,"ft_result":1,"home_corners":1,"home_red":1,"home_shots":1,"home_shots_on_target":1,"home_team":1,"home_xg":1,"home_yellow":1,"ht_away_goals":1,"ht_home_goals":1,"id":1,"max_home":1,"over_25_avg":1,"referee":1,"season":1,"time":1,"url":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"changelog":[{"version":"1.0","change_kind":"initial","note":"Imported from the ready-made source catalog.","created_at":"2026-12-06T03:57:27.654Z","activated_at":"2026-12-06T03:57:27.654Z","active":true,"contract_hash":"77f581d96a83e8ea72bf74c182bec290bca7f01310905264225b3b19ec91902d","fields_count":30}]}