The Spanish La Liga API

Take the first step and start building your La Liga football website now.

Spanish teams are dominating Europe.

Real Madrid, Atletico Madrid and FC Barcelona are always competitive. The top of the La Liga table is often close with a minimum point difference. In the 2020/2021 season, the competition champion was decided on the final matchday!

These top-tier teams are not only dominating their national competition. Football clubs from Spain are dominating the European competitions as well. Not only the teams as mentioned earlier in the UEFA Champions League, but also in the UEFA Europa League.

Sevilla and Villareal perform excellently in the Europa League and sometimes even in the Champions League. This often results in up to 6(!) Spanish teams competing in the European competitions.

Social media dominance
The Spanish teams are not only dominating the football grounds. Los Blancos have the biggest following on social media platforms. The rivals from Catalonia are closing in with second place despite the disappointing results in the 2021/2022 La Liga rankings.

History of the La Liga

The Spanish La Liga was founded in 1929 with ten football clubs involved. Nowadays, the number of clubs in the competition has reached 20 professional football clubs. Real Madrid and FC Barcelona have dominated the competition from the start. Together they have won 60 league trophies since the beginning of the league.

Are you interested in this kind of information? Our La Liga API offers historical data for up to 15 years.


  • Founded in 1929
  • Most championships won by Real Madrid (34)
  • Real Madrid, FC Barcelona and Athletic Bilbao participated in the most seasons: 89(!)
  • Andoni Zubizarreta is the player with the most performances (622 appearances)
  • Lionel Messi is the all-time top scorer with 474 goals

Detailed La Liga data

Sportmonks is a multi-sports data provider to fulfill your wishes and needs. Provide your users with all the scores, results, standings, club and player information of the historical and current La Liga season.

  • 14,000 Happy API users
  • 15+ Years of historical data
  • 20 La Liga teams with detailed season stats

Developers love Sportmonks’ API’s

Implementing your favourite La Liga data will feel like a breeze thanks to extensive documentation, including how-to guides, tutorials, and a complete API endpoint overview. Next to that, our support team is always happy to help with any questions you might have.

“Our La Liga API helps you make an attractive website.”

Thousands of users have built a Football application with Sportmonks La Liga API.
Start with a free 14-day trial to test and experience the data first-hand.

Start Now


Retrieve statistics

"stats": {
    "data": [
            "team_id": 3468,
            "fixture_id": 18165980,
            "shots": {
                "total": 21,
                "ongoal": 10,
                "blocked": 6,
                "offgoal": 11,
                "insidebox": 8,
                "outsidebox": 10
            "passes": {
                "total": 657,
                "accurate": 590,
                "percentage": 89.8
            "attacks": {
                "attacks": 156,
                "dangerous_attacks": 109
            "fouls": 12,
            "corners": 7,
            "offsides": 3,
            "possessiontime": 64,
            "yellowcards": 0,
            "redcards": 0,
            "yellowredcards": 0,
            "saves": 0,
            "substitutions": 5,
            "goal_kick": null,
            "goal_attempts": 13,
            "free_kick": null,
            "throw_in": null,
            "ball_safe": 94,
            "goals": 4,
            "penalties": 1,
            "injuries": 0,
            "tackles": 12


and create your own website


Build your own application

La Liga teams

Real Madrid is also known as Los Blancos or Galácticos. The team was founded in 1902 and is located in Madrid. The home games are being played in the Santiago Bernabéu which has a capacity of 81,004. Raúl is the player with the most appearances for the club with 741 matches played. Cristiano Ronaldo is the all-time top scorer of Real Madrid with 450 goals scored.

FC Barcelona was founded in 1899. Camp Nou is the home ground where 99,354 supporters can watch the home games. Lionel Messi is the player with the most official games played for the club (778). He is the all-time top scorer as well with 643 goals for FC Barcelona.

Sevilla FC was founded in 1890. The home matches are being played in Estadio Ramón Sánchez Pizjuán with a capacity of 42,714. Jesús Navas has played most matches for the club. Campanal is the all-time top scorer with 218 goals for Sevilla.

Atlético Madrid are also known as Colchoneros which means Mattress Makers. The club was founded in 1903 and is located in Madrid. Therefore, the club developed a rivalry with Real. Wanda Metropolitano is the home ground of Atlético. It has a capacity of 68,456. Adelardo Rodriguez has the most appearances with 553 matches played. However, Koke is closing in on him with 542 matches played at the time of writing. Luis Aragonés is the all-time top scorer with 172 goals.

Real Betis also known as Los Verdiblancos (The Green and Whites) was founded in 1907. The home ground is the Estadio Benito Villamarín with a capacity of 60,720. Joaquín has played the most matches for Real Betis with 494 appearances at the time of writing. Rubén Castro is the all-time top scorer with 148 goals.

Real Sociedad also known as The White and Blues, was founded in 1909. The home games are being played in the Anoeta Stadium with a capacity of 39,500. Alberto Górriz played 599 matches for Sociedad and is the player with the most appearances. Jesús Maria Satrústegui is the player with the most goals scored for the club with 162 goals.

Villarreal CF also known as The Yellow Submarine. The club plays in Estadio de la Cerámica which has a capacity of 23,500. Bruno Soriano (425) is the player with the most matches played. However, Mario Gaspar (422) and Manu Trigueros (421) are really close. Remember this is the number of matches played at the time of writing. Gerard Moreno is the all-time top scorer for the club. Giuseppe Rossi is number 2 with 82 goals.

Athletic Bilbao is known as the Lions and was founded in 1898.  The home ground is San Memés which has a capacity of 53,289. José Ángel Iribar has played the most matches with 614 appearances, while Telmo Zarra scored the most goals with 367 goals.

Club Atlético Osasuna is also known as Gorritxoak and was founded in 1920. The home ground is El Sadar with a capacity of 23,576. Patxi Puñal played the most matches for the club with 458 appearances, while Roberto Torres is the all-time top scorer with 60 goals.

Valencia is also known as the Bats. The club was founded in 1919 and plays its home games in Mestalla. The stadium has a capacity of 48,600. Fernando has the most appearances for the club with 553 matches played, Mundo scored 238 goals and is the all-time top scorer.

Celta de Vigo, also known as The Sky Blues, was formed in 1923 as Club Celta, the result of a merger of two Vigo-based clubs. Balados Stadium, which seats 29,000 people, is the club’s home stadium. The name of the club is taken from the Celts, a people that historically inhabited in the area. Its biggest opponent is Deportivo La Corua, with whom it competes in the Galician derby.

Rayo Vallecano was formed on May 29, 1924, and they now play in La Liga after being promoted from the 2020-21 Segunda División. The 14,708-seat Campo de Futbol de Vallecas stadium hosts home games. Rayo has only participated in one European competition, the UEFA Cup, in the 2000-01 season. The team advanced to the quarter-finals before losing 4-2 on aggregate to fellow Spanish club Alavés. Rayo is the third best club in the Comunidad de Madrid, behind Real Madrid and Atlético Madrid.

RCD Espanyol was formed in Barcelona in 1900. Espanyol currently plays its home games in the RCDE Stadium, which has a capacity of 40,000 people. Espanyol has won the Copa del Rey four times in Spain, most recently in 2006. In international tournaments, the club reached the final of the UEFA Cup in 1988 and 2007. It has a lengthy history with FC Barcelona.

Getafe CF was established in 1946 and reestablished in 1983. The club’s home stadium is the Coliseum Alfonso Pérez, was opened in 1998 and has a capacity of 17,393 people. Since being promoted to La Liga for the first time in 2004, Getafe has spent a total of twelve years in the top flight of Spanish football, from 2004 to 2016, and again since 2017. The club’s major rivalry is with neighbouring Leganés, who are based close Getafe, as well as a friendly rivalry with Atlético Madrid and Real Madrid.

Cádiz CF was formed in 1910 and participates in La Liga, with home games held at Nuevo Mirandilla, which has a seating capacity of 20,724. Cádiz competed in either the second or third flight of Spanish football between 1929 and 1977. Cádiz was promoted to La Liga for the first time in 1977. Since then, Cádiz has spent fourteen seasons in the top flight, as well as numerous in the second.

Real Mallorca was established on March 5, 1916. They play their home games at the Visit Mallorca Stadium, which has a capacity of 23,142 people. The club was at its pinnacle in the late 1990s and early 2000s, finishing third in La Liga for the first time in 1999 and 2001 and winning the Copa del Rey in 2003 after final defeats in 1991 and 1998. Mallorca also won the Supercopa de España in 1998 and reached the 1999 UEFA Cup Winners’ Cup Final.

Elche CF was formed in 1923 as a result of a merger of all of the town’s teams. Elche entered the league system in 1929, reaching Segunda División in 1934 and La Liga in 1959, ranking sixth in the latter in 1963-64. In 1969, the club finished second in the Copa del Rey. In the 2014-15 season, Elche became the first and only team in La Liga history to be demoted due to unpaid tax bills.

UD Almería was founded on July 26, 1989. The team now competes in Spain’s Primera División after winning the Segunda División in 2022, and its home games are held at the 15,274-seat Power Horse Stadium.

Girona FC was formed on July 23, 1930, and now plays in La Liga, having achieved promotion in the 2022 Segunda División play-offs. Girona’s home games are played in the 11,810-seat Estadi Montilivi.