API Directory › ⚽ Sports › Football-Data.org
API KeyHTTPSCORS

Football-Data.org API

Football (soccer) competitions, fixtures, standings and scorers.

Category
Auth
API Key
HTTPS
Yes
CORS
Yes
Open Football-Data.org docs ↗

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

https://api.football-data.org/v4

Authentication

Register for a free API token and send it as the X-Auth-Token header.

Code examples

curl
curl -s "https://api.football-data.org/v4/competitions/PL/standings" \
  -H "X-Auth-Token: $FOOTBALLDATA_TOKEN"
Python (today's matches)
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 / goalDifferenceLeague table rows
(matches) matches[].utcDate / status / score.fullTimeFixture time, state and score
(matches) matches[].competition.codee.g. PL, CL, PD
(scorers) scorers[].player.name / goals / assistsTop-scorer table
(team) squad[].name / position / nationalitySquad list

Common errors

400Bad filter (e.g. malformed dateFrom/dateTo, which must span ≤ 10 days on free).
403Requested a competition or season not in your plan.
429Over 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.

🛠️ Handy LarzOS tools

Free tools to help you work with this API.

JSON Formatter

Related Sports APIs

← Back

More Sports APIs · All 196 APIs