LaLiga API

LaLiga data as JSON for developers: the 2026-27 table, fixtures and results, live scores every 30 seconds, lineups, match events and per-player statistics. One REST call per question, through RapidAPI, with a free tier.

Get a key for LaLiga

What the API holds for the LaLiga

This season
2026-27: 20 clubs, 119 of 192 matches played.
Match detail
Lineups with formations and player ratings for 119 of 119 finished matches, 53 statistics per player (xG, passes, duels, saves) for 119, and the timeline of goals, cards and substitutions for 119.
History
2025-26, 2026-27: 499 finished matches stored. Earlier seasons answer through the same endpoints with ?season=.
Live
Score, minute, lineups and events refresh every 30 seconds while a match is on. Next: Athletic Bilbao v Espanyol, 20 Nov.
Price
Free for 500 calls a month, no card. Then $5 for 5,000, $10 for 50,000 or $20 for 500,000. Every plan reaches every endpoint, live scores included.

A real response

The latest LaLiga match, Atletico Madrid 1–2 FC Barcelona on 8 Nov, exactly as the API returns it, cut to one player, one event and eight of that player's statistics.

curl -H "X-RapidAPI-Key: YOUR_KEY" \
  -H "X-RapidAPI-Host: la-liga2.p.rapidapi.com" \
  "https://la-liga2.p.rapidapi.com/matches/82774403"
{
  "data": {
    "id": 82774403,
    "competition": "la-liga",
    "season": "2026-27",
    "stage": null,
    "round": 12,
    "kickoff": "2026-11-08T20:00:00.000Z",
    "status": "finished",
    "minute": 90,
    "homeTeam": {
      "id": 1940358960,
      "slug": "atletico-madrid",
      "name": "Atletico Madrid",
      "shortName": "Atl. Madrid",
      "code": "ATM",
      "crestUrl": "https://football-api.yuvron.online/images/team/1940358960.png"
    },
    "awayTeam": {
      "id": 128891256,
      "slug": "barcelona",
      "name": "FC Barcelona",
      "shortName": "Barcelona",
      "code": "BAR",
      "crestUrl": "https://football-api.yuvron.online/images/team/128891256.png"
    },
    "score": {
      "home": 1,
      "away": 2
    },
    "venue": "Riyadh Air Metropolitano",
    "referee": "Javier Alberola Rojas",
    "playedMinutes": 97,
    "lineups": {
      "home": {
        "formation": "4-4-2",
        "starting": [
          {
            "player": {
              "id": 521559311,
              "slug": "giuliano-simeone",
              "name": "Giuliano Simeone",
              "photoUrl": "https://football-api.yuvron.online/images/player/521559311.png"
            },
            "shirtNumber": 20,
            "position": "RW",
            "minutes": 90,
            "rating": 7.4,
            "goals": 1,
            "assists": 0,
            "stats": {
              "expectedGoals": 0.69,
              "shots": 1,
              "shotsOnTarget": 1,
              "keyPasses": 1,
              "expectedAssists": 0.11,
              "passesCompleted": 28,
              "passesAttempted": 37,
              "tacklesWon": 5,
              "…": "45 more fields"
            }
          },
          "… 10 more starters"
        ],
        "bench": [
          "… 12 substitutes, the same shape"
        ]
      },
      "away": "… the same, for FC Barcelona"
    },
    "events": [
      {
        "minute": 10,
        "addedTime": 0,
        "type": "goal",
        "subtype": null,
        "label": "Goal",
        "teamId": 1940358960,
        "player": {
          "id": 521559311,
          "slug": "giuliano-simeone",
          "name": "Giuliano Simeone",
          "photoUrl": "https://football-api.yuvron.online/images/player/521559311.png"
        },
        "secondaryPlayer": {
          "id": 539498153,
          "slug": "julian-alvarez",
          "name": "Julian Alvarez",
          "photoUrl": "https://football-api.yuvron.online/images/player/539498153.png"
        }
      },
      "… 18 more events"
    ]
  },
  "meta": {
    "season": "2026-27"
  }
}

Endpoints

/standingsLeague table
/matchesFixtures and results
/matches/liveLive matches
/matches/{id}Match detail
/teams/{id}/squadSquad
/teams/{id}/statsTeam season statistics
/players/{id}Player
/stats/top-scorersTop scorers
/stats/expected-goalsHighest expected goals (xG)
/teams/{id}/head-to-head/{otherId}Head to head

Every path sits under https://la-liga2.p.rapidapi.com. The rest, with every parameter, are in the API reference.

2026-27 table

#TeamPWDLGDPtsForm
1FC Barcelona121101+3533WWLWW
2Real Madrid121002+2130WWWWW
3Atletico Madrid12912+1328WWWWL
4Real Betis12822+526WLDWW
5Real Sociedad12714+122WWWLW
6Sevilla12534-218DLWLD
7Athletic Bilbao11443+416DLWWD
8Villarreal12435+215LDWLW
9Deportivo A Coruña12363+115LDLWD
10Racing Santander12426-1314DLWLW
11Celta Vigo12273013DWDLD
12Alaves12345-213LLDLD
13Espanyol12336-112DLLWD
14Rayo Vallecano11335-612DDLWL
15Getafe12336-1012LDLWL
16Osasuna12336-1112LWLLD
17Levante12255-511DWLLD
18Elche12246-610DDWLL
19Valencia12237-129DDLWL
20Malaga12057-145DLDLL

Latest results

8 NovAtletico Madrid1–2FC Barcelona
8 NovCelta Vigo0–0Levante
8 NovVillarreal2–0Getafe
8 NovReal Sociedad1–0Rayo Vallecano
8 NovElche0–2Real Betis
7 NovValencia0–3Real Madrid
7 NovOsasuna1–1Athletic Bilbao
7 NovEspanyol0–0Deportivo A Coruña
7 NovMalaga1–2Racing Santander
6 NovSevilla0–0Alaves

Next fixtures

10 OctRayo VallecanovAthletic Bilbao
20 NovAthletic BilbaovEspanyol
21 NovAlavesvDeportivo A Coruña
21 NovRayo VallecanovValencia
21 NovSevillavReal Betis
21 NovReal MadridvCelta Vigo
22 NovFC BarcelonavVillarreal
22 NovRacing SantandervReal Sociedad
22 NovOsasunavMalaga
22 NovGetafevAtletico Madrid

Top scorers

#PlayerClubGoalsAssistsxG
1RaphinhaFC Barcelona15311.1
2Kylian MbappeReal Madrid13214.2
3Lamine YamalFC Barcelona1088.2
4Yassir ZabiriRacing Santander906.2
5Ante BudimirOsasuna807.1
6Fermín LópezFC Barcelona754.0
7Sergio CamelloRayo Vallecano723.2
8Fer NiñoElche604.5
9Roberto FernándezEspanyol604.7
10Álex BaenaAtletico Madrid532.0

The same ranking is /stats/top-scorers; /stats/expected-goals orders it by xG.

The season so far

119 matches played, 73 more scheduled. 344 goals, 2.89 a match. The home side won 44%, 26% ended level and the away side won 30%. Widest margin so far: FC Barcelona 7–2 Racing Santander on 16 Sept.

Other competitions

Premier League · Serie A · Bundesliga · Ligue 1 · Eredivisie · Primeira Liga · Super Lig · Championship · Champions League · Europa League · Conference League · Nations League · MLS · Brasileirao