# Flights from Madrid (MAD) to Cardiff (CWL)

1 direct, 14 routes with 1 stop, 1471 with 2 stops. Straight-line distance 1213 km.

## Direct

An airline flies direct, about 1213 km.

## Shortest routes

- MAD → CWL · 1213 km · about 122 min · 0 stops
- MAD → DUB → CWL · 1751 km · about 310 min · 1 stop
- MAD → ALC → CWL · 1829 km · about 310 min · 1 stop
- MAD → PMI → CWL · 1946 km · about 307 min · 1 stop
- MAD → AMS → CWL · 2026 km · about 330 min · 1 stop
- MAD → AGP → CWL · 2069 km · about 330 min · 1 stop
- MAD → MAH → CWL · 2075 km · about 318 min · 1 stop
- MAD → FAO → CWL · 2181 km · about 335 min · 1 stop

## How to query this

- JSON: https://travel.buy-it.gr/api/v1/routes/MAD/CWL
- This page: https://travel.buy-it.gr/api/v1/routes/MAD/CWL.md
- HTML, English: https://travel.buy-it.gr/en/flights/MAD-CWL
- All routes: https://travel.buy-it.gr/api/search?from=MAD&to=CWL&maxStops=2
- Operating days for one leg: https://travel.buy-it.gr/api/leg?from=MAD&to=CWL
- Price a path on one date: https://travel.buy-it.gr/api/price?path=MAD,CWL&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.
