Real Madrid schedule & live scores API

Get Real Madrid fixtures, live scores, odds and results as JSON from Realtime Sports API. The team id is 86 in soccer/esp.1; filter the LaLiga events, live and schedule endpoints by it. Data is aggregated from public sources and is typically 20-30 seconds behind live play (about 1 second after our source). There is no SLA.

Team id
86
Abbreviation
RMA
Home venue
Santiago Bernabéu, Madrid
2026-27 Spanish LALIGA season
38 games · record 5 won, 0 drawn, 2 lost

Next game: Real Madrid host Villarreal on Sat, Oct 10, 3:00 PM ET at Santiago Bernabéu.

Upcoming Real Madrid games

Upcoming Real Madrid games
DateAwayHomeTime / ResultVenue
Sat, Oct 10VillarrealReal Madrid3:00 PM ETSantiago Bernabéu · Madrid
Sun, Oct 18SevillaReal Madrid3:00 PM ETSantiago Bernabéu · Madrid
Sun, Oct 25Real MadridBarcelona4:00 PM ETSpotify Camp Nou · Barcelona
Sun, Nov 1Real MadridRacing Santander10:15 AM ETEl Sardineros · Santander
Sun, Nov 8Real MadridValenciaTBDMestalla Stadium · Manises
Sun, Nov 22Celta VigoReal MadridTBDSantiago Bernabéu · Madrid

Times are US Eastern; refreshed hourly. Full Real Madrid schedule with JSON/CSV download

Recent Real Madrid results

Recent Real Madrid results
DateAwayHomeTime / ResultVenue
Sun, Sep 20Real MadridAtlético Madrid1 - 2 FinalRiyadh Air Metropolitano · Madrid
Tue, Sep 15Real MadridElche3 - 2 FinalEstadio Martínez Valero · Elche
Sat, Sep 12Rayo VallecanoReal Madrid1 - 4 FinalSantiago Bernabéu · Madrid
Fri, Sep 4Real MadridReal Betis0 - 1 FinalEstadio La Cartuja · Sevilla
Sun, Aug 30MálagaReal Madrid0 - 4 FinalSantiago Bernabéu · Madrid

Live example: team detail

Request

curl -H "Authorization: Bearer $RSA_API_KEY" \
  "https://www.realtimesportsapi.com/api/v1/sports/soccer/leagues/esp.1/teams/86"

Response captured from live data at 2026-10-07 15:37 UTC (refreshed every few minutes). Long arrays are trimmed; meta.rateLimit values are illustrative for a Free key. Captured hourly; logos trimmed to one.

Response

{
  "success": true,
  "data": {
    "id": "86",
    "uid": "s:600~t:86",
    "slug": "esp.real_madrid",
    "location": "Real Madrid",
    "name": "Real Madrid",
    "abbreviation": "RMA",
    "displayName": "Real Madrid",
    "shortDisplayName": "Real Madrid",
    "color": "ffffff",
    "alternateColor": "1B4D3E",
    "league": {},
    "venue": {
      "id": "10630",
      "name": "Santiago Bernabéu",
      "city": "Madrid"
    },
    "isActive": true,
    "isAllStar": false,
    "logos": [
      {
        "href": "https://realtimesportsapi.com/api/images/proxy?id=GgcVSgNPTUMITUgaFFQVVVQXBVwOHV5LRQBZD1lbBllDXQAOWRMQEENcUx1GXAxYQVRe",
        "width": 500,
        "height": 500,
        "alt": "",
        "rel": [
          "full",
          "default"
        ],
        "lastUpdated": "2019-05-08T16:07Z"
      },
      "... 1 more"
    ]
  }
}

Get Real Madrid scores in code

The events endpoint returns the whole LaLiga scoreboard, so keep the games where either team id is 86.

curl + jq

curl -H "Authorization: Bearer $RSA_API_KEY" \
  "https://www.realtimesportsapi.com/api/v1/sports/soccer/leagues/esp.1/teams/86"

# This team's games in the current scoreboard (filter by team id 86)
curl -s -H "Authorization: Bearer $RSA_API_KEY" "https://www.realtimesportsapi.com/api/v1/sports/soccer/leagues/esp.1/events" \
  | jq '.data[] | select(.homeTeam.id == "86" or .awayTeam.id == "86") | {name, date, status: .status.detail, home: .homeTeam.score, away: .awayTeam.score}'

JavaScript (fetch)

const TEAM_ID = "86"; // Real Madrid
const res = await fetch("https://www.realtimesportsapi.com/api/v1/sports/soccer/leagues/esp.1/events", {
  headers: { Authorization: `Bearer ${process.env.RSA_API_KEY}` }
});
const { data } = await res.json();
const games = data.filter((e) => e.homeTeam.id === TEAM_ID || e.awayTeam.id === TEAM_ID);
for (const g of games) {
  console.log(g.shortName, g.status.detail, `${g.awayTeam.score}-${g.homeTeam.score}`);
}

Python (requests)

import os, requests

TEAM_ID = "86"  # Real Madrid
res = requests.get(
    "https://www.realtimesportsapi.com/api/v1/sports/soccer/leagues/esp.1/events",
    headers={"Authorization": f"Bearer {os.environ['RSA_API_KEY']}"},
    timeout=10,
)
for g in res.json()["data"]:
    if TEAM_ID in (g["homeTeam"]["id"], g["awayTeam"]["id"]):
        print(g["shortName"], g["status"]["detail"], g["awayTeam"]["score"], g["homeTeam"]["score"])

MCP prompt (Claude, Cursor, ChatGPT)

Using the Realtime Sports MCP server (https://www.realtimesportsapi.com/api/mcp), call get_schedule with sport "soccer" and league "esp.1" for the next 14 days and list the Real Madrid games (team id 86) with dates and opponents; then call get_live_events and tell me if they are playing now.

Connect the hosted MCP server first: setup guide.

More endpoints for this team: /sports/soccer/leagues/esp.1/teams/86/roster, /sports/soccer/leagues/esp.1/news?team=86. Step-by-step builds: guides.

FAQ

How do I get live Real Madrid scores in JSON?
Call GET https://www.realtimesportsapi.com/api/v1/sports/soccer/leagues/esp.1/events/live with a free API key and keep the games where homeTeam.id or awayTeam.id is "86". The live endpoint returns the score, period, clock and status for games in progress. Data is aggregated from public sources and is typically 20-30 seconds behind live play (about 1 second after our source). There is no SLA.
Is there a free Real Madrid API?
Yes. The Free plan of Realtime Sports API is $0 with 1,000 calls in the first 30 days, then 125 calls per month, no card. The same key covers every LaLiga team and the other leagues.
What is the Real Madrid team id?
"86" in league "esp.1" (sport "soccer"). Use it with /sports/soccer/leagues/esp.1/teams/86 for team details and /sports/soccer/leagues/esp.1/teams/86/roster for the roster, and to filter events by homeTeam.id or awayTeam.id.
When is the next Real Madrid game?
Real Madrid host Villarreal on Sat, Oct 10, 3:00 PM ET at Santiago Bernabéu. Times are US Eastern; this page refreshes hourly.
Does the API include Real Madrid betting odds?
Yes, for upcoming LaLiga games that have a line: GET /sports/soccer/leagues/esp.1/events/{eventId}/odds returns the spread, moneyline and total from a single source book, and /odds/history returns line moves. It is not a multi-book comparison feed.
Can I get Real Madrid score alerts pushed to me?
Yes, on paid plans: register a webhook for event.score_change and event.final filtered to league "esp.1", then keep deliveries where data.homeTeam.id or data.awayTeam.id is "86" (webhooks filter by league, not team). WebSocket works the same way.

All LaLiga team APIs · LaLiga API · Free LaLiga scoreboard widget