Football-Data.co.uk Scraper - Results, Stats & Betting Odds
Pricing
$2.00 / 1,000 matches
Football-Data.co.uk Scraper - Results, Stats & Betting Odds
Historical football results, match statistics and pre-closing and closing betting odds (1X2, over/under 2.5, Asian handicap) for 22 European leagues since 1993, from football-data.co.uk. One clean row per match, 20+ bookmakers. Export to JSON, CSV or Excel.
Pricing
$2.00 / 1,000 matches
Rating
0.0
(0)
Developer
Peter Tomko
Maintained by CommunityActor stats
1
Bookmarked
9
Total users
0
Monthly active users
16 days ago
Last modified
Categories
Features
Share
Football-Data.co.uk Scraper – Results, Stats & Betting Odds
Download historical football match data from football-data.co.uk as clean, structured JSON, CSV or Excel: results, match statistics, and pre-closing and closing betting odds for 22 leagues in 11 countries, going back to 1993/1994 for most top divisions.
Each match is one row with consistent field names across all leagues and seasons. Missing values are null. Use it to build prediction models, backtest betting strategies, study closing-line value, or feed a football analytics database that you refresh on a schedule.
What data you get
- Results: date, kick-off time, home and away team, full-time and half-time score and result.
- Match statistics (where the source has them): shots, shots on target, corners, fouls, yellow and red cards, offsides, woodwork, booking points, attendance, referee, expected goals (xG, from 2026/2027).
- Betting odds: pre-closing and closing odds for match result (1X2), over/under 2.5 goals and Asian handicap. They come from up to 21 bookmakers plus the market average and the market maximum. The Asian handicap line is included.
- League catalogue: every available league with its first and latest season.
Leagues
| Country | Leagues (code) |
|---|---|
| England | Premier League (E0), Championship (E1), League One (E2), League Two (E3), National League (EC) |
| Scotland | Premiership (SC0), Championship (SC1), League One (SC2), League Two (SC3) |
| Germany | Bundesliga (D1), 2. Bundesliga (D2) |
| Italy | Serie A (I1), Serie B (I2) |
| Spain | La Liga (SP1), Segunda Division (SP2) |
| France | Ligue 1 (F1), Ligue 2 (F2) |
| Netherlands | Eredivisie (N1) |
| Belgium | Pro League (B1) |
| Portugal | Primeira Liga (P1) |
| Turkey | Super Lig (T1) |
| Greece | Super League (G1) |
How to use
- Pick one or more Leagues. If you leave the list empty, the Actor downloads all 22.
- Optionally set From season to skip older seasons. For example,
2024returns 2024/2025 and the current season. - Click Start. A Premier League full history (about 12,700 matches) finishes in under a minute.
- Open the Output tab. It has three views: Overview, Match statistics and Betting odds. Download the data as JSON, CSV, Excel or XML, or read it through the API.
To keep your data current, schedule the Actor weekly with From season set to the current season.
Input example
{"league": ["E0", "SP1"],"fromSeason": 2020,"includeMatches": true}
| Field | Type | Default | Description |
|---|---|---|---|
league | array of league codes | ["E0"] | Leagues to download. An empty list means all leagues. |
fromSeason | integer | (none) | First season to include, by starting year. Leave empty for the full history. |
includeMatches | boolean | true | Set to false to only refresh the league catalogue. No matches are downloaded or charged. |
Output
Matches (dataset)
One item per match. This example is shortened; the full item has 211 fields.
{"generated_id": "3da4a0e8a0972524592a33097d636a028fff3c02af036dca259dfe06fc886155","league": "E0","country": "England","league_name": "Premier League","season": "2627","season_label": "2026/2027","date": "21/08/2026","match_date": "2026-08-21","kick_off_time": "20:00","home_team": "Arsenal","away_team": "Coventry","referee": "T Bramall","fulltime_home_goals": 3,"fulltime_away_goals": 0,"fulltime_result": "H","halftime_home_goals": 2,"halftime_away_goals": 0,"halftime_result": "H","home_expected_goals": 1.88,"away_expected_goals": 0.2,"home_shots": 20,"away_shots": 4,"home_shots_on_target": 6,"away_shots_on_target": 1,"home_corners": 8,"away_corners": 2,"home_yellow_cards": 1,"away_yellow_cards": 1,"asian_handicap_line__preclosing": -2.0,"b365_home_win_odds__preclosing": 1.2,"b365_draw_odds__preclosing": 7.0,"b365_away_win_odds__preclosing": 13.0,"b365_home_win_odds__closing": 1.18,"market_average_home_win_odds__preclosing": 1.19,"market_average_more_25_goals_odds__preclosing": 1.55,"attendance": null,"refresh_timestamp": "2026-11-06 21:59:29"}
Odds field names follow the pattern {bookmaker}_{market}__{preclosing|closing}:
- markets:
home_win_odds,draw_odds,away_win_odds,more_25_goals_odds,less_25_goals_odds,home_asian_handicap,away_asian_handicap - bookmakers with all markets, pre-closing and closing:
b365,pinnacle,betfair_exchange,market_average,market_maximum - 1X2 pre-closing and closing:
betwin,betfair,betmgm,betvictor,corals,interwetten,william_hill,betfred,one_xbet,paddy_power,skybet,landbrokes(also pre-closing Asian handicap) - 1X2 pre-closing only (historical bookmakers):
stan_james,stanleybet,sporting,sportingbet,blue_square,gamebookers(also totals and Asian handicap)
The source collects pre-closing odds on Friday afternoon for weekend games and on Tuesday afternoon for midweek games. Closing odds are the last odds before kick-off. Not every bookmaker covers every season or league; when a value is missing it is null.
League catalogue (key-value store record LEAGUES)
[{"league_code": "E0","country": "England","league_name": "Premier League","seasons_available": 34,"first_season": "1993/1994","latest_season": "2026/2027","source_url": "https://football-data.co.uk/englandm.php"}]
Run summary (key-value store record OUTPUT)
This record has the number of matches and files processed, any files that failed to download, and whether the run stopped at your maximum charge limit.
Pricing
The Actor uses pay-per-event pricing: you pay for each match saved to the dataset, at the price shown on the Pricing tab. The league catalogue is free, and filtered-out seasons are never charged. If you set a maximum cost per run, the Actor stops cleanly when it reaches that limit and keeps what it already saved.
Typical sizes:
| Selection | Matches |
|---|---|
| One Premier League season | ~380 |
| Premier League, full history | ~12,700 |
| English leagues E0–EC, full history | ~77,500 |
| All 22 leagues, full history | ~250,000 |
FAQ
How do I avoid duplicates when I run it repeatedly? Each match has a stable generated_id, a hash of the date and the two teams. Use it as the key when you merge runs.
Why are some fields null? The source does not publish every statistic or bookmaker for every league and season. For example, xG only starts in 2026/2027, and Paddy Power and Sky Bet odds only appear in recent seasons.
Can I get the data through the API? Yes. Use the run-sync-get-dataset-items endpoint, or read the dataset of the last run from https://api.apify.com/v2/acts/tomko5peter~football-data-co-uk/runs/last/dataset/items. Integrations such as Make, Zapier and webhooks work the same way.
Is this legal? The Actor downloads the CSV files that football-data.co.uk publishes for free. It doesn't log in, and it sends only a few requests. Check football-data.co.uk's terms before you redistribute the data commercially.
Changelog
November 2026
- Matches are now saved to the run's default dataset, so they show up in the Output tab, the API and integrations. Earlier versions wrote to the named datasets
historical-matches-summaryandleague-summary, which kept growing across runs. - Missing values are
null. Earlier versions used-1. - Fixed closing odds that were copied from pre-closing columns. Free kicks now come from the free-kicks-conceded columns instead of the fouls columns.
- Removed 140 odds fields that the source never publishes, so they were always empty. All other field names are unchanged.
- New fields:
fulltime_result,halftime_result,kick_off_time,match_date(ISO),season_label,country,league_name, xG, Asian handicap line, market average and maximum odds, Paddy Power and Sky Bet. - All 22 leagues are selectable, and the new From season filter skips older seasons.
- The league catalogue moved to the
LEAGUESkey-value store record.
Development
uv sync./local-run.sh # runs with actor_input/local_input.json via the Apify CLI
The scraper logic is in utils/football_data_co_uk.py. It maps each output field to its source columns, following the source's column notes. The Actor entry point is src/main.py.
License
MIT