Sign Up

Log In

API-FOOTBALL

FREEMIUM
By api-sports
Updated 6 hours ago
Sports
9.8/10
Popularity Score
767ms
Latency
100%
Success Rate

API-FOOTBALL API Overview

We cover 100 football major and minor leagues and many more to come. Livescore, pre-matchs odds, events, line-ups, standings, statistics. PROMOTIONAL PRICES IN PROGRESS, HURRY UP :-) Check our demo => https://www.api-football.com/demo/

API - COVERAGE

To know all the leagues available, click on the link : OUR COVERAGE

Livescore, Events, LineUps

The livescore is functional on all the leagues proposed, it is however delaying 1 to 3 minutes depending on the league.

Events available :

  • yellow cards
  • second yellow cards
  • red cards
  • goals
  • own goals
  • penalty

Line ups :

  • Formation (4-3-3)
  • Coach
  • Start 11
  • Substitutes

Pre-match Odds

We provide pre-match odds between 1 and 3 days before the match. Here is overview of available odds. (non-exhaustive list)

  • Win the match (Regulatory time)
  • Handicap
  • Half Time 1X2
  • Exact score (Regulatory time)
  • Exact Score (Half Time)
  • Double chance (Regulatory time)
  • Double chance (Half Time)
  • Face to Face
  • Result & The 2 teams score
  • Both teams score (Regulatory time)
  • Both teams score (Half Time)
  • Over / Under (Regulatory time)
  • Over / Under (Half Time)
  • Result & Over/Under
  • Scorer
  • First Scorer
  • 1st Team goal
  • HT/FT 1X2

(Odds are not available for all leagues.)

Standings / Rankings

We update the rankings of all leagues every 4 hours.

Some leagues do not yet have rankings. (Soon we promise)

  • Champions League
  • Europe League
  • 2018 Russia World Cup

API - NEWS

For the news of our API, new competitions, features etc … NEWS

API - SUPPORT

For a better support, contact us at : apifootball.contact@gmail.com

API - DEMO

A demo version of the API is available at this url : https://www.api-football.com/demo.

Here are the leagues present in the demo version :

2018 Russia World Cup
Champions League (2016-2017)
Brazil - Serie A (2016-2017-2018)
England - Premier League (2016-2017-2018)
Netherlands - Eredivisie (2016-2017-2018)

You can use it without restriction in your development environment.

This is a demo and does not represent the entire API. The data is limited and not up to date and serves only as an example. For production environement use : https://api-football-v1.p.mashape.com.

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/fixtures/date/{date}")
.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 freeto 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