# Flights from Milan (MXP) to Madrid (MAD)

1 direct, 143 routes with 1 stop, 12065 with 2 stops. Straight-line distance 1148 km.

## Direct

Iberia, Air Europa, Ryanair, Wizz Air Malta, Wizz Air flies direct, about 1149 km.

## Shortest routes

- MXP → MAD · 1149 km · about 140 min · 0 stops
- MXP → TLS → MAD · 1159 km · about 265 min · 1 stop
- MXP → MRS → MAD · 1166 km · about 275 min · 1 stop
- MXP → LYS → MAD · 1194 km · about 270 min · 1 stop
- MXP → BCN → MAD · 1203 km · about 275 min · 1 stop
- MXP → NCE → MAD · 1206 km · about 275 min · 1 stop
- MXP → GVA → MAD · 1221 km · about 270 min · 1 stop
- MXP → LIN → MAD · 1230 km · about 264 min · 1 stop

## How to query this

- JSON: https://travel.buy-it.gr/api/v1/routes/MXP/MAD
- This page: https://travel.buy-it.gr/api/v1/routes/MXP/MAD.md
- HTML, English: https://travel.buy-it.gr/en/flights/MXP-MAD
- All routes: https://travel.buy-it.gr/api/search?from=MXP&to=MAD&maxStops=2
- Operating days for one leg: https://travel.buy-it.gr/api/leg?from=MXP&to=MAD
- Price a path on one date: https://travel.buy-it.gr/api/price?path=MXP,MAD&date=2026-10-09

Replace airport codes in any of those URLs. `path` is comma-separated IATA codes, 2 to 5 airports. `date` is YYYY-MM-DD. `carriers` is optional, legs joined by `|` and airlines inside a leg joined by `.`, for example `FR|LO`.

The first flight must leave on `date`. Each following flight may leave that same day or the next day, and must depart at least 90 minutes after the previous flight lands. A response with `partial: true` on a calendar lists days a source has seen. It does not prove the other days are empty.

No API key. Responses are JSON unless the URL ends in `.md`. Prices are euros. `total: null` means no fare was found for the first flight on that date.
