Skip to content
FootballAPI
Architecture Guide · 50+ Global Leagues8 min read·Updated 2026-11-26

Football API Developer Guide (2026): Live Scores, Standings, Lineups & xG JSON

Quick Answer (BLUF)

FootballAPI unifies 50+ global competitions—including Premier League (epl), Champions League (ucl), LaLiga (laliga), Serie A (seriea), Bundesliga (bundesliga), Ligue 1 (ligue1), and MLS (mls)—behind 5 normalized REST endpoints at https://api.footballapi.dev/v1/*. Developers receive 3,000 Free Credits ($0.30) on sign-up with zero card required, billing 2 Credits/match ($0.08–$0.15/1K) and 10 Credits per full match detail dossier.

Gateway p50 Latency22ms cached (<280ms warm · 1.8s live)
Concurrency & Rate Limit60 – 600 RPM (Dual-Rail Failover)Need 1,000+ RPM? Dedicated Enterprise Key Pool available
Deterministic Unit Price$0.08–$0.15 / 1,000 matches

Instant fb_live_... key in 3s (3,000 Free Credits · $0.30) · $1 = 10,000 Credits · 0 Credits on empty queries · Top up anytime via 0%-fee Multi-Chain Crypto (+5% bonus credits, never-expiring PAYG)

Instant Quickstart · Copy & Run in 30 Seconds

Fetch Live Premier League Scores & xG Telemetry

import requests

res = requests.get(
    "https://api.footballapi.dev/v1/matches/live",
    params={"league": "epl", "limit": 5},
    headers={"x-api-key": "fb_live_your_api_key"},
    timeout=15,
)
for m in res.json()["data"]["matches"]:
    print(m["home_team"]["name"], m["home_team"]["score"], "-", m["away_team"]["score"], m["away_team"]["name"])
Want to inspect real live MLS & valuation JSON before creating an account?Try 3 Free Live Runs in Browser Playground (No Login) →

Key Engineering Takeaways (TL;DR)

  • ✓5 unified REST endpoints + 5 Remote MCP tools covering live scores, fixtures, standings, starting XI formations, key events, rosters, and xG.
  • ✓Sub-25ms warm cache responses backed by Redis DB 12 tiered TTLs (30s live scores, 120s fixtures, 600s standings).
  • ✓Zero enterprise lock-in: $9 non-expiring Indie Starter Micro-Pack (90,000 Credits) and $0.00 charged on empty matchdays or 404s.
  • ✓100% pure sports analytics payloads cleanly structured for web apps, mobile clients, and AI agents.

1. The Five-Endpoint Football Data Architecture

Avoid juggling incompatible schemas across separate sports vendors by mapping every UI view directly to one of FootballAPI's five normalized routes.

  • GET /v1/matches/live: Poll active matchdays every 30 seconds for live scores, match clocks, possession %, shots, corners, cards, and Expected Goals (xG).
  • GET /v1/matches/fixtures: Render upcoming schedules and historical results by league code and YYYYMMDD date.
  • GET /v1/leagues/standings: Display full league tables with W/D/L, goal difference, points per game, and qualification zones.
  • GET /v1/matches/detail: Hydrate match detail drawers with starting XI formations, substitutes, goal/card/VAR events, and play-by-play commentary.
  • GET /v1/teams/roster: Fetch complete club squads by numeric team_id or club name with jersey numbers, positions, appearances, and goals.

Fetch Live Premier League Scores & xG Telemetry

Cost: 2 Credits per match returned (0 Credits if empty).

curl -sS "https://api.footballapi.dev/v1/matches/live?league=epl&limit=5" \
  -H "x-api-key: fb_live_your_api_key"
Test this exact endpoint right now in your browser (3 free anonymous runs):Run 3 Free Live Queries in Playground →

Interactive Football Analytics Underwriting Terminal · GET /v1/matches/live

Verify real-time latency, parcel credit math & JSON schema

10,000 matches/day
2,000 dossiers/day
5,000 records/day
HTTP Calls / Day
2,750
5 Unified Routes
Credit Unit
$1 = 10,000
$9 Indie Pack Ready
Empty / 404 Fee
0 Credits
$0.00 on 0 matches
Estimated Monthly Pipeline Cost (30 Days)
$60.00/ mo on Business ($86.25 on Pro)
Monthly consumption: 1,500,000 Credits (50,000 Credits/day)
FootballAPI (Business $0.08/1K records):$60.00 / mo
RealEstateAPI / API-Football ($20/1K records):$10200.00 / mo
Empty ZIP search / unfound property fee:$0.00 (0 Credits)

Frequently Asked Questions

Which league codes are accepted in the ?league= parameter?
Use short slugs such as epl, ucl, laliga, seriea, bundesliga, ligue1, mls, eredivisie, libertadores, europa, worldcup, championship, or all.
How fresh are live football scores?
/v1/matches/live uses a 30-second live TTL cache (with ?fresh=1 bypass on paid plans) so live goals, cards, and match clocks update in near real time.