Football-Data.org API
Football (soccer) competitions, fixtures, standings and scorers.
What it does
football-data.org is a clean, well-documented API for the major European soccer competitions plus the World Cup, Euros and Champions League: standings, matches with scores, teams and squads, top scorers, and head-to-head, updated live.
Base URL
Authentication
Register for a free API token and send it as the X-Auth-Token header.
Code examples
curl -s "https://api.football-data.org/v4/competitions/PL/standings" \ -H "X-Auth-Token: $FOOTBALLDATA_TOKEN"
import requests
r = requests.get("https://api.football-data.org/v4/matches",
headers={"X-Auth-Token": TOKEN}, timeout=10)
for m in r.json()["matches"]:
s = m["score"]["fullTime"]
print(m["homeTeam"]["shortName"], s["home"], "-", s["away"], m["awayTeam"]["shortName"])Rate limits & quotas
Free tier: 10 requests/minute and a curated set of about 12 competitions (Premier League, La Liga, Bundesliga, Serie A, Ligue 1, Eredivisie, Primeira Liga, Championship, plus the big internationals). Response headers (X-Requests-Available-Minute) track your budget; over the limit returns HTTP 429. Historical seasons and more competitions need a paid plan.
Key response fields
| (standings) standings[].table[].position / team.name / points / goalDifference | League table rows |
| (matches) matches[].utcDate / status / score.fullTime | Fixture time, state and score |
| (matches) matches[].competition.code | e.g. PL, CL, PD |
| (scorers) scorers[].player.name / goals / assists | Top-scorer table |
| (team) squad[].name / position / nationality | Squad list |
Common errors
| 400 | Bad filter (e.g. malformed dateFrom/dateTo, which must span ≤ 10 days on free). |
| 403 | Requested a competition or season not in your plan. |
| 429 | Over 10 requests/minute — the message says when to retry. |
When to use it (and alternatives)
The nicest free API if you only need the big leagues — excellent docs, sensible schema, live scores. For obscure leagues or deep match statistics, API-Football or Sportmonks go further (with tighter free limits).
FAQ
Which competitions are free?
Roughly a dozen — the top-five European leagues, a few more domestic leagues, and the major international/continental tournaments. The full free list is in the docs; anything else returns 403.
How do I get matches for a date range?
/matches?dateFrom=2026-01-01&dateTo=2026-01-07. The free tier caps the range at 10 days per request.
Is live score data included on free?
Yes — match status and score update through a game. Just respect the 10 requests/minute limit; don’t poll every few seconds.
New to APIs?
Short guides for working with this API — and any other.