Historical Football Data API: 975,000+ Matches Since 1999
A historical football data API with 975,000+ matches since 1999 — results, standings, lineups, stats and events for datasets, backtests and archive features.
GOAL API

Models need history. So do backtests, trend pieces, club almanacs and "on this day" features. The GOAL API historical football data API gives you more than 975,000 matches going back to June 1999 — results, standings, lineups, match stats and events — as a licensed archive you can query like any other endpoint.
What the historical football data API holds
The numbers below come from GOAL API's coverage page, which is counted from the database rather than estimated:
- 975,000+ matches across 1,019 competitions and 184 countries
- Match history from 1999-06-02 through to scheduled fixtures in 2027
- 11.8M+ lineup records — who actually started and came on
- 5.5M+ match-statistics records and 1.8M+ match events
- 444,000+ players and 27,900+ teams
- Standings for 456 leagues and top scorers for 140
That's roughly a quarter-century of football, in one schema, with the same auth and the same response shapes as the live endpoints.
Pulling history
There's no separate "archive" API to learn — historical data comes through the same endpoints, just pointed at past dates and seasons:
# A competition's fixtures and results for a past date
curl "https://api.goal-api.com/v1/fixtures/date/2014-05-11?leagueId=LEAGUE_ID&limit=100" \
-H "Authorization: Bearer YOUR_API_KEY"# A competition's table
curl "https://api.goal-api.com/v1/standings/LEAGUE_ID" \
-H "Authorization: Bearer YOUR_API_KEY"To build a dataset, find the competition with /v1/leagues?search=, read its season range from the coverage page, then walk the dates you need and page through the results. Each fixture carries its teams, score and status, and links on to lineups, events and match statistics.
What it's good for
- Training and backtesting — assemble a labelled dataset of results and match stats to train or validate a model
- Analytics and research — season-over-season trends, club histories, league comparisons
- Editorial — "on this day", anniversary pieces, head-to-head records, long-run form
- Product features — career pages, historical H2H tabs, archive browsing
Honest about depth
Breadth and depth aren't the same thing. Every competition has its own season range and its own data types — standings exist for 456 leagues, top scorers for 140, and stat depth thins out as you go further back and further down the pyramid. The coverage page lists exactly which seasons and which data each league holds. Check it for the specific competitions and years your dataset needs before you build around them — that's cheaper than discovering a gap halfway through a backfill.
Practical notes for a backfill
- Cache aggressively. Historical results don't change, so fetch once and store your own copy rather than re-querying.
- Mind the rate limits. Every response carries rate-limit headers; back off on them rather than hammering, and spread a large backfill over time.
- Pricing follows matches, not requests. Paid plans are billed per match, so a one-off historical pull is priced by the football you actually read — see pricing.
Why GOAL API
- Licensed — an archive you have the right to use in a product, not scraped data.
- One schema — history and live data share endpoints, auth and response shapes, so the same code reads both.
- Developer-first — bearer keys, rate-limit headers, a public OpenAPI spec, five official SDKs (JavaScript, Python, Go, Dart, PHP).
- Free to start — a permanent free tier, no credit card, on the same endpoints as paid plans.
Start pulling
Grab a free key and query a past season today. Building the live side too? See the football fixtures API and the football player stats API.
FAQ
What is a historical football data API? A historical football data API serves past matches — results, standings, lineups and stats — so you can build datasets, backtests and archive features. GOAL API holds 975,000+ matches with history from June 1999.
How far back does the data go? Match history starts at 1999-06-02 and runs through to scheduled fixtures in 2027. Each competition has its own season range, listed on the coverage page.
Can I use it to train a model? Yes — results, match statistics, lineups and events give you labelled historical data for training or backtesting. Confirm on the coverage page that the competitions and seasons you need hold the stats your model depends on.
Is historical data a separate product? No. It comes through the same endpoints as live data, pointed at past dates and seasons, with the same API key.


