RapidAPI logo

Premier League Live Scores

FREEMIUM
By heisenbug
Updated 2 months ago
Sports
7.4/10
Popularity Score
732ms
Latency
99%
Success Rate

Premier League Live Scores API Documentation

Premier League Live Scores API allows to retrieve historical data as well as current season results, scorers, lineups, substitutes, events, statistics, odds and much more all with live updates, for the top professional English football league. And more is coming…

View API Details
Premier League
GETSeason matches results
GETMatch scorers
GETLineups and substitutes for a game
GETMatch events
GETMatch statistics
GETPlayer stats for a match
GETLeague Table
GETTop scorers
GETMissing players for a match
GETLeague Players
GETPlayer details
GETPlayers Statistic Table
GETTeams Statistic Table
GETReferees Statistics
Betting
GETBet Stats
GETBookmakers List
GETOdds List
GETOdd quotas
Webhooks
GETActivate webhook
GETEvents subscribed
POSTSubscribe
GETSeason matches results

Return season matches results for a match day

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Optional Parameters
matchdaySTRING
OPTIONALReturn all matches results for the specified match day
seasonSTRING
OPTIONALSeason code (default 2017-18)
dateSTRING
OPTIONALReturns all match in the date (format mmddyyyy)
liveBOOLEAN
OPTIONALReturns results for playing matches (live) (default false, overwrite others parameters)
team1STRING
OPTIONALReturns all matches with team1
team2STRING
OPTIONALReturns all matches with team2
Code Snippet
unirest.get("https://heisenbug-premier-league-live-scores-v1.p.rapidapi.com/api/premierleague?matchday=1&season=2014-15")
.header("X-RapidAPI-Host", "heisenbug-premier-league-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-premier-league-live-scores-v1.p.rapidapi.com/api/premierleague
Request Method: GET
Response Headers
"content-type": "application/json;charset=UTF-8"
"date": "Sun, 16 Jun 2019 09:33:37 GMT"
"server": "RapidAPI-1.0.16"
"via": "1.1 vegur"
"x-rapidapi-region": "AWS - eu-central-1"
"x-rapidapi-version": "1.0.16"
"x-ratelimit-premier-league-limit": "2500"
"x-ratelimit-premier-league-remaining": "2499"
"content-length": "1785"
"connection": "Close"
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-premier-league-live-scores-v1.p.rapidapi.com/api/premierleague?matchday=1&season=2014-15")
.header("X-RapidAPI-Host", "heisenbug-premier-league-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