RapidAPI logo

Ligue 1 Live Scores

FREEMIUM
By heisenbug
Updated 2 months ago
Sports
4.2/10
Popularity Score
650ms
Latency
100%
Success Rate

Ligue 1 Live Scores API Documentation

The Ligue1 Live Scores API allows to retrieve historical data as well as current season results, scorers, lineups, substitutes, events, statistics and much more all with live updates, for the top professional French football league. And more features are coming…

View API Details
Ligue1
GETSeason matches results
GETMatch scorers
GETLineups and substitutes for a match
GETLeague Table
GETTop Scorers
GETMatch events
GETMatch statistics
GETPlayer stats for a match
GETLeague Players
GETMissing players for a match
GETPlayer details
Betting
GETBet Stats
GETBookmakers List
GETOdds List
GETOdd quotas
Webhooks
GETActivate webhook
GETEvents subscribed
POSTSubscribe
GETSeason matches results

Returns season matches results for a match day

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Optional Parameters
matchdaySTRING
OPTIONALReturns all matches results for the match day specified
seasonSTRING
OPTIONALSeason code (default 2016-17)
dateSTRING
OPTIONALReturns all matches for the date (format mmddyyyy)
team1STRING
OPTIONALReturns all matches with team1
team2STRING
OPTIONALReturns all matches with team2
liveBOOLEAN
OPTIONALReturns only playing matches with live updates (default false)
Code Snippet
unirest.get("https://heisenbug-ligue-1-live-scores-v1.p.rapidapi.com/api/ligue1?matchday=1")
.header("X-RapidAPI-Host", "heisenbug-ligue-1-live-scores-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://heisenbug-ligue-1-live-scores-v1.p.rapidapi.com/api/ligue1
Request Method: GET
Response Headers
Response Body
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://heisenbug-ligue-1-live-scores-v1.p.rapidapi.com/api/ligue1?matchday=1")
.header("X-RapidAPI-Host", "heisenbug-ligue-1-live-scores-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication