SpainMADLEMDEurope/Madrid

MAD disruption API: Madrid-Barajas

Adolfo Suárez Madrid-Barajas Airport (MAD) is 15 km from central Madrid. DisruptAPI reads MAD's METAR weather every five minutes and SIGMETs every ten, and places AEMET warnings from Meteoalarm on the area around it (Comunidad de Madrid). Strikes, hazards, advisories and cloud outages are matched to every flight to or from MAD.

What DisruptAPI covers at MADtoday
FAA ground stops and delaysUS airports only
Official weather warningsAEMET, 10 min
Airport weather (METAR)Every 5 min
SIGMETs, ash and cyclonesEvery 10 min
Natural hazardsGDACS, USGS
Travel advice6 of 6 governments
Strikes and unrestNews-derived
Cloud and IT outagesEvery 2 min
Rail and roadRenfe Cercanías, DGT road closures
10 minAEMET warnings checked
5 minMETAR weather at MAD
10 minSIGMETs, incl. ash and cyclones
15 kmstraight line to central Madrid

Coverage by signal type

What DisruptAPI reads at MAD today, with the source behind each signal. Every signal links back to the issuing source and credits it.

Official weather warnings

The yellow, orange and red warnings of AEMET, published through Meteoalarm and checked every ten minutes. Each warning is placed on the area it covers, so a warning for Comunidad de Madrid matches flights to and from MAD, and one for another part of Spain does not. Warnings keep their original text.

EUMETNET Meteoalarm (AEMET)

Airport weather and airspace

Weather observed at MAD from its METAR reports, read every five minutes: freezing rain, heavy snow, thunderstorms, strong gusts, low visibility and volcanic ash. International SIGMETs, checked every ten minutes, add ash, tropical cyclones and severe storms in the airspace around it.

NOAA Aviation Weather Center METAR reportsInternational SIGMETs

Natural hazards

GDACS alerts for earthquakes, tropical cyclones, floods and volcanoes, and earthquakes of magnitude 4.5 and above from USGS, matched to MAD by distance. GDACS alerts are indicative only.

GDACS global disaster alertsUSGS earthquakes (M4.5+)

Commuter rail

Suspensions, replacement buses, major delays and strikes on the Cercanías and Rodalies networks, including the lines to the airport, read every two minutes and placed on their stations. Long-distance and high-speed trains are not covered.

Renfe Cercanías and Rodalies alerts (CC BY 4.0)

Road closures

Road closures and major incidents on the roads the DGT manages, read every five minutes and placed at their location. Catalonia and the Basque Country run their own traffic centres and are not covered.

DGT traffic incidents (DATEX II, CC BY)

Travel advisories and health notices

6 of 6 governments DisruptAPI reads publish travel advice for Spain, on one four-step scale, with a webhook when one changes it. Advice is set per country or region, so it covers Madrid-Barajas as part of Spain. CDC health notices are added when one is issued.

US State DepartmentUK FCDOGlobal Affairs CanadaSmartraveller (Australia)German Federal Foreign OfficeNetherlands Ministry of Foreign AffairsCDC travel health notices

Strikes, protests and unrest

Strikes, protests and unrest reported in and around Madrid, from worldwide news event data updated every 15 minutes. A signal needs several independent outlets and is labelled news-derived. Strikes at airlines, ground handlers and Renfe appear once the press reports them.

GDELT 2.0 event data (news-derived)

Cloud and IT outages

Incidents at AWS, Azure, Google Cloud, Cloudflare and other providers, polled every two minutes and matched to the airlines whose websites and check-in run on them. IODA adds internet outages in Spain.

15 cloud and SaaS status pagesIODA internet outages
Example signalsGET /v1/airports/MAD
Strike reported: ground handling staff, SpainStrike · MAD BCN · news-derived
moderate
Yellow snow warning, Comunidad de MadridWeather · MAD
moderate
Thunderstorms at Madrid-BarajasAviation · MAD
moderate

Examples of the kind of signal you would see, not live data. What is active now is on the status page.

Madrid and its airportsdistance
Place details
Airport
Adolfo Suárez Madrid-Barajas Airport
Codes
IATA MAD · ICAO LEMD
Country
Spain
Location
40.498° N, 3.568° W
Time zone
Europe/Madrid
Warning area
Comunidad de Madrid

What tends to disrupt MAD

General patterns, to help you decide what to watch. They are not forecasts.

Winter

Snow and winter fog

Snow is rare in Madrid but disruptive when it comes: Storm Filomena in January 2021 closed Barajas. Fog can slow winter mornings.

Summer

Summer storms and strikes

Thunderstorms and strikes by airline crews and ground handlers cancel flights at the height of the season.

Check flights through MAD

The airport as a place, and a return booking between BCN and MAD. Weather in the MAD METAR or a warning for Comunidad de Madrid matches the flight that lands or departs during it.

affects MADa signal at the airport
arrives at MAD during…a signal in force when a flight lands
covers ESan advisory or alert for the whole country

Put the same items on a watchlist to get a signed webhook when something changes. The request format is in the docs.

POST /v1/exposure/checkGET /v1/airports/MADGET /v1/signals?airport=MAD
POST /v1/exposure/check
{
  "items": [
    {
      "id": "stn-MAD",
      "kind": "place",
      "airport": "MAD"
    },
    {
      "id": "BKG-7QX2LM",
      "kind": "flight",
      "origin": "BCN",
      "destination": "MAD",
      "depart_at": "2027-01-14T09:30:00Z"
    },
    {
      "id": "BKG-7QX2LN",
      "kind": "flight",
      "origin": "MAD",
      "destination": "BCN",
      "depart_at": "2027-01-21T17:45:00Z"
    }
  ],
  "min_severity": "moderate"
}

What's not covered yet

Gaps at MAD today, so you can plan around them. The full register with licences is on the data sources page.

  • Individual flight status, gates and delays. Pair DisruptAPI with a flight status API for that.
  • Air traffic flow restrictions and slot regulations at MAD are not read; FAA ground stops cover US airports only.
  • The airport operator's own notices (terminal closures, security queues, baggage problems) are not read.
  • Long-distance and high-speed trains (AVE, Avlo, Alvia, Iryo, Ouigo) are not covered: only Renfe Cercanías and Rodalies alerts are read, and Adif publishes no open feed.
  • Roads in Catalonia and the Basque Country, which run their own traffic centres, are not covered; DGT data stops at those regions.
  • AEMET is read through Meteoalarm, not directly.
  • Strikes are reported once minimum services are set, usually days before. A strike called and settled before that, or one in a sector without minimum services, comes from news data only.

Questions about MAD

Are there ground stop alerts for MAD?

Not from an air traffic flow feed: FAA programmes cover US airports only, and flow restrictions at MAD are not read. Disruption at MAD shows up through its METAR weather, SIGMETs, AEMET warnings, news-derived strikes and the other signals listed here.

How often is the weather at MAD checked?

MAD's METAR reports are read every five minutes from the NOAA Aviation Weather Center, and international SIGMETs every ten. Freezing rain, heavy snow, thunderstorms, strong gusts, low visibility and volcanic ash become signals at the airport.

How do I watch Madrid-Barajas on its own?

Send it as a place with its airport code, { "kind": "place", "airport": "MAD" }, in an exposure check or on a watchlist. GET /v1/airports/MAD returns everything active at and around it.

Does DisruptAPI give flight status at MAD?

No. It reports what is causing disruption and which of your flights it touches. Pair it with a flight status API for individual delays, gates and cancellations.

Hear about the disruption before your customers do

Create a key, add the flights, trips and places you want watched, and get a signed webhook whenever a disruption touches one. Try it on a sandbox key first, no card needed.