APIYard
Back to APIs
SportsAPI KeyFree tier

API-Football

Real-time football data: live scores, fixtures, standings, player statistics, and odds across 1,000+ leagues.

Base URL

https://v3.football.api-sports.io
live scoresfixturesstandingsstatisticsodds

Endpoints

GET/fixtures

Get fixtures for a league and season.

const response = await fetch("https://v3.football.api-sports.io/fixtures?league=39&season=2023", {
  method: "GET",
  headers: {
  "Content-Type": "application/json",
  "x-apisports-key": "YOUR_API_KEY"
  }
});

const data = await response.json();
console.log(data);

Response Preview

{
  "results": 380,
  "response": [{
    "fixture": { "id": 867946, "date": "2023-08-11T19:00:00+00:00", "status": { "short": "FT" } },
    "teams": { "home": { "name": "Arsenal" }, "away": { "name": "Nottingham Forest" } },
    "goals": { "home": 2, "away": 1 }
  }]
}