Sign Up

Log In

API-FOOTBALL

FREEMIUM
By api-sports
Updated 17 days ago
Sports
9.9/10
Popularity Score
461ms
Latency
100%
Success Rate

API-FOOTBALL API Documentation

We cover 132 football major and minor leagues and many more to come. Livescore, pre-matchs odds, events, line-ups, standings, statistics. Check our demo => https://www.api-football.com/demo/

View API Details

Supercharge your App

Discover and connect to thousands of APIs in the world's largest API Hub
fixtures
GET/fixtures/date/{date}
GET/fixtures/live
GET/fixtures/league/{league_id}
GET/fixtures/team/{team_id}
GET/fixtures/id/{fixture_id}
GET/fixtures/h2h/{team_1}/{team_2}
teams
GET/teams/team/{team_id}
GET/teams/league/{league_id}
seasons
GET/seasons
countries
GET/countries
leagues
GET/leagues
GET/leagues/league/{league_id}
GET/leagues/season/{season}
GET/leagues/country/{country_name}/{season}
odds
GET/odds/{fixture_id}
events
GET/events/{fixture_id}
standings
GET/standings/{league_id}
GET/leagueTable/{league_id}
statistics
GET/statistics/{league_id}/{team_id}
GET/statistics/{league_id}/{team_id}/{date}
GET/statistics/fixture/{fixture_id}
lineups & players
GET/lineups/{fixture_id}
GET/players/{season}/{team_id}
GET/events/{fixture_id}

Get all available events from one fixture | Match events are updated at half-time and at the end of the match.

FreemiumThis API has a free, limited plan and paid plans. You can subscribe directly to it from RapidAPI.
Sign up to test this endpoint
Log in
Header Parameters
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
fixture_idNUMBER
REQUIRED
Request Snippet
unirest.get("https://api-football-v1.p.rapidapi.com/events/{fixture_id}")
.header("X-RapidAPI-Key", "undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response

loading...

Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://api-football-v1.p.rapidapi.com/events/{fixture_id}")
.header("X-RapidAPI-Key", "undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication

Sign up for free

to test this endpoint

Join the world’s largest API marketplace with over half a million developers and thousands of APIs.
DiscoverAPIs
Testfrom the browser
Connectusing code snippets
Managefrom one dashboard