La Liga Live Scores

फ्रीमियम
द्वारा Simone | अपडेट किया गया 4일 전 | Sports
लोकप्रियता

8.1 / 10

लेटेंसी

536ms

सेवा का स्तर

100%

Health Check

N/A

रीडमी

La Liga Live Scores is already, without any doubt, in so little time from its birth, the best API available on the web for the top professional Spanish football league and don’t believe we have finished, indeed we are only at the start.
You too can help us to make even better this API asking on the API Support tab for the features you dream, our developers will try to make them real.
In the meantime give a look at the always growing list of its unique features.
Have fun!

La Liga Ninja Team
You don’t need to be a developer or to recruit one to use this API, thanks to his easy integration with the Talend Open Studio suite.
At the Talend marketplace you can now download for free the tFootballDataInput component that let you to easily consume the mashape La Liga API into your integration jobs in a blink just using your Mashape key and without writing a single line of code!
The component is now released in beta version v.04 that integrates only some features now available on Mashape, but we count to release new versions with weekly schedule to add more.
The component let you either to easily access other European Football Leagues Mashape API that is, Premier League, Ligue 1, Bundesliga and Serie A.
For any trouble using the component the preferred mode to get support is to ask to the community at the Talend Forum, instead for any bug or new features request is better to open a ticket on the API Support.
For a demo on how using Talend and the tFootballDataInput component take a look at this YouTube demo here.
It’s possible to retrieve all the 2016-17 season matches calling the endpoint
/api/laliga
You can call the API
-without submitting any parameter, to get all the matches for the day (if there isn’t any match for the day you will get a 500 server error, that it isn’t count as an API call)
-submitting the parameter date, to retrieve the matches for that date (in the format mmddyyyy)
-submitting the parameter team1, to retrieve the matches that the team has played at home (together with team2 return that very match)
-submitting the parameter team2, to retrieve the matches that the team has played away (together with team1 return that very match)
-submitting the parameter matchday, to retrieve the matches for that round

If matches are already played, the API will give you data about red cards number if any, referee, final and first half scores too, otherwise only the matches schedule.
Here it is an example response for a call wit a match day already played (matchday=1)

 {"matches":[
   {"team1":{"teamScore":0,"teamName":"Malaga","firstHalfScore":0},
     "team2":{"teamScore":0,"teamName":"Sevilla","firstHalfScore":0,"redCards":1},
     "time":"FT","referee":"Alfonso Alvarez Izquierdo","when":"Friday, Aug 21 2015"},
   {"team1":{"teamScore":1,"teamName":"Espanyol","firstHalfScore":1},
     "team2":{"teamScore":0,"teamName":"Getafe","firstHalfScore":0,"redCards":1},
     "time":"FT","referee":"Jesús Gil Manzano","when":"Saturday, Aug 22 2015"},
   .....
   .....
 ]}

and here it is an example response for a call wit a match day not yet played (matchday=22)

 {"matches":[
   {"team1":{"teamName":"Sevilla"},"team2":{"teamName":"Levante"},"when":"Sunday, Jan 31 2016"},
   {"team1":{"teamName":"Barcelona"},"team2":{"teamName":"Atletico Madrid"},"when":"Sunday, Jan 31 2016"},
   {"team1":{"teamName":"Eibar"},"team2":{"teamName":"Malaga"},"when":"Sunday, Jan 31 2016"},
   .....
   {"team1":{"teamName":"Celta Vigo"},"team2":{"teamName":"Sevilla"},"when":"Sunday, Feb 7 2016"}
 ]}

Take in mind that this API returns only final results ("time":"FT") or not already played matches, and the final ones only after a while the matches are really finished (however always within 24 hours); if you need live updates you have to set thelive parameter to true (in this case time returns the minute for the match), if there isn’t any playing match for the parameters specified, the API give you the 500 error message ‘No games found’.
Take in mind that a live request can continue to give you the result even after a while, usually some hours, a match is finished; as soon as the API stop to give you the result for the match, you can get the result again removing the live parameter.

You can get historical results either setting the optional parameter season (default value 2016-17); for now you can get results from the season 2010-11.
Historical data are only available with the MEGA plan.
It’s possible to get data about teams players and coaches for a game using the following API
/api/laliga/formations
The API requires two mandatory attributes, team1 and team2 to select the game of interest.
The result is a JSON object with two properties, team1 and team2, where each team property is an object containing the teamName and the players properties, where the first one is the name of the team (equals to the one in the request) and the second one an object with the arrays lineups and substitutes with each array item equals to an object containing the playerNamber, that is the shirt number for the player and the playerName attribute.
Captain players are identified by the property isCaptain.
Following an example response for the request
team1=Real+Madrid&team2=Getafe

 {"team1":
   {"teamName":"Real Madrid",
   "players":{
     "substitutes":[
       {"playerNumber":"13","playerName":"Kiko Casilla"},
       {"playerNumber":"14","playerName":"Casemiro"},
       {"playerNumber":"16","playerName":"Mateo Kovacic"},
       {"playerNumber":"17","playerName":"Álvaro Arbelos"},
       {"playerNumber":"20","playerName":"Jesé"},
       {"playerNumber":"21","playerName":"Denis Cheryshev"},
       {"playerNumber":"28","playerName":"Marcos Llorente"}
      ],
     "lineups":[
       {"playerNumber":"1","playerName":"Keylor Navas"},
       {"playerNumber":"18","playerName":"Lucas Vázquez"},
       {"playerNumber":"23","playerName":"Danilo"},
       {"playerNumber":"8","playerName":"Toni Kroos"},
       {"playerNumber":"3","playerName":"Pepe"},
       {"playerNumber":"6","playerName":"Nacho"},
       {"playerNumber":"19","playerName":"Luka Madrid"},
       {"playerNumber":"10","playerName":"James Rodríguez"},
       {"playerNumber":"9","playerName":"Karim Benzema"},
       {"playerNumber":"11","playerName":"Gareth Bale"},
       {"playerNumber":"7","playerName":"Cristiano Ronaldo"}
     ]},
   "coach":"Rafael Benítez"},
 "team2":{
   "teamName":"Getafe",
   "players":{
     "substitutes":[
       {"playerNumber":"1","playerName":"Balazs Megyeri"},
       {"playerNumber":"5","playerName":"Santiago Vergini"},
       {"playerNumber":"11","playerName":"Yoda"},
       {"playerNumber":"12","playerName":"Stefan Scepovic"},
       {"playerNumber":"14","playerName":"Pedro León"},
       {"playerNumber":"17","playerName":"Bernard Mensah"},
       {"playerNumber":"21","playerName":"Moi Gómez"}
     ],
     "lineups":[
       {"playerNumber":"13","playerName":"Vicente Guaita"},
       {"playerNumber":"19","playerName":"Damián Suárez"},
       {"playerNumber":"3","playerName":"Roberto Lago"},
       {"playerNumber":"8","playerName":"Mehdi Lacen"},
       {"playerNumber":"6","playerName":"Cala"},
       {"playerNumber":"2","playerName":"Alexis"},
       {"playerNumber":"10","playerName":"Pablo Sarabia"},
       {"playerNumber":"18","playerName":"Víctor Rodríguez"},
       {"playerNumber":"9","playerName":"Álvaro Vázquez"},
       {"playerNumber":"30","playerName":"Wanderson"},
       {"playerNumber":"7","playerName":"Ángel Lafita"}
     ]},
   "coach":"Fran Escribá"}}

The lineups players are ordered from goalkeeper to forward, to get more insight on how players are on the pitch see the events Module-Start and Module-Change you can get from the match events API without forgetting the attribute position returned by the player match statistics API.

You can get the formations starting from 30 minutes before a match start using thelive parameter set to true, if the API give you the 500 error message, that means the game is already finished from a while or it’s not playing or not going to play.
Take in mind that a live request can continue to give you the result even after a while, usually some hours, a match is finished; as soon as the API stop to give you the result for the match, you can get the result again removing the live parameter.

The APIs can either respond with a 500 error if doesn’t exist a match in the 2016-17 season for them team1 and team2 parameters in the request (values are case sensitive, use the season results requests to find out valid values to use).

For now the API returns results for the current season only.
Using the endpoint API /api/laliga/table you will get the current table for the league.
The current table is compute considering all the finished games returned by the season results API (the one with no live updates).
The API let you to restrict the games considered using the following three optional parameters
from to include all the games played from (default the first played game returned by the no live version of the season results API)
to to include all the games played till to (default the last played game return by the no live version of the season results API)
mode set to home to consider only home games, to away to consider only away games (default all games)
time to compute the table considering only the first half (FH) or the second half (SH). Default is full time (FT)

The JSON response give you data about the team name the game played, win, loss, goalsFor, goalsAgainst and points.
The API at the moment don’t take into account any penalization a team could have to compute the total points number.
It’s possible to get all the scorers for a match with a single API call.
There are two version for this API, one without live update /api/laliga/scores that get you the answer after a while the game is finished (usually between few hours, and however always within 24 hours), and the other /api/live/laliga/scorers with live updates, so you can get the answer even while the match is still playing (check the season results API live version to know the games with goals).
All two versions require two mandatory parameters
team1 that is the home team name
and
team2 that is the away team name
(always the ones returned by the season results API).
The JSON response contains the player name who scored the goal and the minute it was scored, more it can contains other attributes either that qualify better the kind of goal.
At the moment the attributes handled by the API are:
isPenalty true if the goal is scored from a penalty, default false
isOwn true if the goal is an own goal, default false
isFromCorner true if the goal is scored from a corner, default false
isFreekick true if the goal is scored from a free kick, default false
isLeftFoot true if the goal is scored by left, default false
isRightFoot * true if the goal is scored by right, default false*
isHead true if the goal is scored by head, default false

Here it is a JSON response for the following query string
team1=Sevilla&team2=Barcelona

{"team1":{
"teamName":"Sevilla",
  "goals":[
    {"player":"Michael Krohn-Dehli","minute":"52'"},
    {"player":"Vicente Iborra","minute":"57'"}
]},
"team2":{
  "teamName":"Barcelona",
  "goals":[
    {"player":"Neymar","minute":"73'"}
]}}

The API give you an answer even if there isn’t any goal for a match, in that case the goals attribute will be an empty array.

For now the API returns results for the current season only.
The /api/laliga/table/scorers let you the get the top five scorers for the league.
The JSON result give you the player name, the number of goals scored in order from the first till the fifth and the number of ones scored by penalty.
You can either use optional parameters to query for a different set of games, that is
from to consider only the games played from the match day specified (default 1)
to to consider only the games played till to the match day specified (default last final match day returned by the season results API no live version)
mode to consider only goals scored at home or away (default all)
player to get the result only for the player name specified (useful to get the number of goals scored by those players that aren’t in top 5).
team *to consider only goals scored for the specified team *
If you specify a player name that hasn’t scored any goal yet, you will get an empty response, that is:

{"scorers":[]}

otherwise, like for example querying for
player=Karim+Benzema

{"scorers":[{"playerName":"Karim Benzema","goals":22","penalties":0}]}

or for for example with
mode=away&to=15

{"scorers":[
  {"playerName":"Imanol Agirretxe","goals":9","penalties":0},
  {"playerName":"Cristiano Ronaldo","goals":8","penalties":2},
  {"playerName":"Lucas Pérez","goals":7","penalties":0},
  {"playerName":"Aduriz","goals":7","penalties":1},
  {"playerName":"Rubén Castro","goals":6","penalties":2}
]}

or maybe simply without any parameter

{"scorers":[
  {"playerName":"Cristiano Ronaldo","goals":31","penalties":6},
  {"playerName":"Luis Suárez","goals":26","penalties":0},
  {"playerName":"Lionel Messi","goals":22","penalties":3},
  {"playerName":"Karim Benzema","goals":22","penalties":0},
  {"playerName":"Neymar","goals":21","penalties":4}
]}

For now the API returns results for the current season only.
The API requires two mandatory parameters
team1 the home team name for the match
team2 the away team name for the match
In the JSON response you can find the following impressive amount of statistics for each team of the match selected:
totalSaves touches aerialsWon passesTotal passesSuccessful cornersTotal cornersAccurate tackleSuccessful throwInsTotal

aerialsTotal offensiveAerials defensiveAerials shotsOffTarget tacklesTotal dribblesLost shotsTotal shotsBlocked

dribblesAttempted dribbledPast dispossessed foulsCommited shotsOnTarget offsidesCaught tackleUnsuccesful interceptions dribblesWon clearances possession

goals foulsWon penatyWon penaltyCommited

Here it is an example response for the query string team1=Real+Madrid&team2=Barcelona

{"team1":{
  "teamName":"Real Madrid",
  "teamStats":{
    "tackleSuccessful":22,"cornersTotal":14,"dribbledPast":12,"throwInsTotal":19,"aerialsTotal":14,"offensiveAerials":10,"dispossessed":7,"foulsCommited":13,
    "passesTotal":430,"offsidesCaught":3,"shotsOnTarget":7,"tackleUnsuccesful":12,"interceptions":17,"defensiveAerials":4,"shotsOffTarget":2,"touches":594,
    "tacklesTotal":34,"dribblesWon":8,"dribblesLost":7,"shotsTotal":13,"shotsBlocked":4,"dribblesAttempted":15,"aerialsWon":7,"clearances":13}},
"team2":{
  "teamName":"Barcelona",
  "teamStats":{
    "tackleSuccessful":14,"cornersTotal":14,"dribbledPast":8,"throwInsTotal":15,"aerialsTotal":14,"offensiveAerials":4,"dispossessed":15,"foulsCommited":10,
    "passesTotal":648,"shotsOnTarget":7,"tackleUnsuccesful":8,"interceptions":12,"defensiveAerials":10,"shotsOffTarget":7,"touches":802,"tacklesTotal":22,
    "dribblesWon":12,"dribblesLost":7,"shotsTotal":18,"shotsBlocked":4,"dribblesAttempted":19,"aerialsWon":7,"clearances":14}}}

Take in mind that this API exists in two version, the one without live update /api/laliga/match/stats and the one with live update /api/live/laliga/match/stats with the second one one giving you real time statistics updates during the game and the first one giving you only the final statistics after a while the match is finished, after this point in time all the two API give you the same answer.

For now the API returns results for the current season only.
La Liga Live Scores API let you trace two different kind of events (eventName)
Team events
Module-Start (tell you the team module, that is how players are on the pitch, as soon as the match start)
Module-Change (tell you each module change occurred during the match)
Players events
Yellow-Card
Red-Card
In and Out (substitutions)
Missed-Penalty (penalty failed)
Saved-Penalty (keeper save a penalty)
Saved-Goal (player avoid an already done goal clearance off the line)
Shot-On-Post
Error-Goal (player error that lead to a goal)
Assist-Goal (when a player intentionally do an assist that lead to a goal)
Goal-Disallowed
Penalty-Won (the player that won the penalty)
Penalty-Commited (the player that committed a penalty foul)
Changed-Captain (the new captain player if the previous goes out)

All teams and players events give you the minute the eventName occurred,
teams events have a value attribute more to get the value for the event (at the moment the only team event handled is the formation module, so value is the module for the team),
players events, instead, a list of players name related to the event.

For example

 ....
{"eventName":"Module-Start","value":"4411","minute":"0'"}     *value is the formation module 4-4-1-1
....
{"players":[{"playerName":"Cristiano Ronaldo"}],"eventName":"Shot-On-Post","minute":"19'"}
....

There are two version for this API, with (/api/live/laliga/match/events) or without live updates (/api/laliga/match/events).
The version with live updates with you match events in real time, instead the one without live update give you the data only after a while the match is finished (usually within few hours), after this point in time, all two APIs will give you the same answer.
All the two API versions require two parameters
team1 that is the home team name
and
team2 that is the away team name
and returns all the handled events for the two teams
for example with
team1= Real+Madrid&team2=Barcelona
you will get

{"team1":{
  "teamName":"Real Madrid",
  "events":[
    {"eventName":"Module-Start","value":"4231","minute":"0'"},
    {"eventName":"Module-Change","value":"442","minute":"10"},
    {"players":[{"playerName":"James Rodríguez"}],"eventName":"Yellow-Card","minute":"22'"},
    {"players":[{"playerName":"Sergio Ramos"}],"eventName":"Yellow-Card","minute":"50'"},
    {"players":[{"playerName":"James Rodríguez"}],"eventName":"Out","minute":"55'"},
    {"players":[{"playerName":"Isco"}],"eventName":"In","minute":"55'"},
    {"players":[{"playerName":"Marcelo"}],"eventName":"Out","minute":"58'"},
    {"players":[{"playerName":"Daniel Carvajal"}],"eventName":"In","minute":"58'"},
    {"players":[{"playerName":"Daniel Carvajal"}],"eventName":"Yellow-Card","minute":"82'"},
    {"players":[{"playerName":"Isco"}],"eventName":"Red-Card","minute":"84'"}
]},
"team2":{
  "teamName":"Barcelona",
  "events":[
    {"eventName":"Module-Start","value":"433","minute":"0'"},
    {"players":[{"playerName":"Javier Mascherano"}],"eventName":"Out","minute":"27'"},
    {"players":[{"playerName":"Jeremy Mathieu"}],"eventName":"In","minute":"27'"},
    {"players":[{"playerName":"Dani Alves"}],"eventName":"Yellow-Card","minute":"31'"},
    {"players":[{"playerName":"Ivan Rakitic"}],"eventName":"Out","minute":"56'"},
    {"players":[{"playerName":"Lionel Messi"}],"eventName":"In","minute":"56'"},
    {"players":[{"playerName":"Andrés Iniesta"}],"eventName":"Out","minute":"77'"},
    {"players":[{"playerName":"Munir El Haddadi"}],"eventName":"In","minute":"77'"},
    {"players":[{"playerName":"Sergio Busquets"}],"eventName":"Yellow-Card","minute":"91'"}
]}}

For now the API returns results for the current season only.
It’s possible to get all the player statistics for a match using one of the two API version, the no live and the live one, with the first giving you the result only after a while the game is finished (usually within few hours and however always within 24 hours) and the second you giving you the result starting from the first minute match, that is with live updates.
The API requires three mandatory parameters
team1 the home team name for the match
team2 the away team name for the match
player the player name you want to know statistics

The result is a JSON format response containing player infos like data age, weight, height and player match stats like dribble won, fouls committed.
The complete data list handle at the moment from the API follows:
player info
isManOfTheMatch, shirtNo, name, weight, age, height, isFirstEleven, position
player match stats
totalSaves, touches, aerialsWon, passesTotal, passesSuccessful, cornersTotal, cornersAccurate, tackleSuccessful,

throwInsTotal, aerialsTotal, offensiveAerials, defensiveAerials, shotsOffTarget, tacklesTotal,

dribblesLost, shotsTotal, shotsBlocked, dribblesAttempted, dribbledPast, dispossessed,

foulsCommited, shotsOnTarget, offsidesCaught, tackleUnsuccesful, interceptions, dribblesWon,

clearances, possession, goals, foulsWon, penaltyWon, penaltyCommited

Follow an example for
player=Cristiano+Ronaldo&team1=Real+Madrid&team2=Getafe

{"isFirstEleven":true,"isManOfTheMatch":false,"stats":
  {"tackleSuccessful":2,"cornersTotal":2,"dribbledPast":1,"aerialsTotal":1,"dispossessed":1,"passesTotal":42,"offsidesCaught":1,
  "shotsOnTarget":2,"tackleUnsuccesful":1,"defensiveAerials":1,"shotsOffTarget":1,"touches":57,"tacklesTotal":3,
  "dribblesWon":2,"shotsTotal":5,"shotsBlocked":2,"aerialsWon":1,"clearances":1,"dribblesAttempted":2},
"shirtNo":"7","name":"Cristiano Ronaldo","weight":80,"position":"FWL","age":30,"height":185}

For the position attribute you can get the following values:
GK = Goalkeeper
DM = Defensive Midfielder (1)
D = Defender (1)
M = Midfielder (1)
AM = Attacking Midfielder (1)
FW = Forward
Sub = substitute player

(1) the attribute value can have one letter more to specify better the field position, that is C for Center, L for Left and R for Right.

For now the API returns results for the current season only.
Missing players for a match
The API Missing players for a match requires two parameters
team1 and team2,
and returns a response a few days before a match with continue updates till the match starts.
Even after a match is played, the API continue to give you the last answer.
The response returns for each team the player name who will miss with the reason.
If there is any doubt about the player will play the match the reason will be inside square brackets, otherwise the reason will be with no bracket.
Typical reasons are * Injured, Suspended, Unfit, Other*.
For example calling the API with
team1=Granada&team2=Leganes
you will have the following response

For now the API returns results for the current season only.

League players
The API League players requires only a mandatory parameter
team
and returns all the players for the team name specified.
In the response you will get
playerName
age
position
isActive that is if the player is still in the team or less.

Players details
The API Player details requires two mandatory parameters
team
player
and returns all data for the player name specified (the player name must by one returned by the previous API for that team name).
In the response you will get ah huge amount of data for the player, following a list of attribute you can find the the response (not all the attribute are applicable or available for all the players)
completeName you can find this when the player name is usually a nickname
nameInCountry you can find this when the player is named different in his country
birthDate
birthPlace
nationalities
shirtNo
foot right, left or both
marketValue the current value for the player, usually this value change during a season (ex. 2,00 Mill. € )
playerAgent
inTeamSince
contractUntil
lastContractExtension
presences in the current season
asFirstEleven presences in the current season in the first eleven
minsPlayed in the current season
yellowCard
redCard
goal
goalOwn
formerNational if the player has been a national but now no more
currentNational
nationalPresences
nationalGoals
outfitter
twitter
facebook
instangram
isActive that is if the player is still in the team or less.

You can query the API submitting the optional honours parameter (default false), in that case the API give you only the titles award by the players in his career.
Take in mind that at the moment the API is available only with ULTRA and MEGA plans.

फॉलोवर: 281
संसाधन:
उपयोग की शर्तें
API निर्माता:
Rapid account: Simone
Simone
heisenbug
API को रेट करने के लिए लॉग इन करें
रेटिंग: 5 - वोट: 2