# Flights from Athens (ATH) to Madrid (MAD)

1 direct, 118 routes with 1 stop, 10684 with 2 stops. Straight-line distance 2377 km.

## Direct

Aegean Airlines, Iberia, Air Europa, SKY express flies direct, about 2383 km.

## Shortest routes

- ATH → MAD · 2383 km · about 235 min · 0 stops
- ATH → OLB → MAD · 2388 km · about 360 min · 1 stop
- ATH → BCN → MAD · 2392 km · about 365 min · 1 stop
- ATH → PMI → MAD · 2395 km · about 355 min · 1 stop
- ATH → CFU → MAD · 2396 km · about 360 min · 1 stop
- ATH → NAP → MAD · 2400 km · about 365 min · 1 stop
- ATH → PMO → MAD · 2408 km · about 365 min · 1 stop
- ATH → VLC → MAD · 2410 km · about 355 min · 1 stop

## How to query this

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

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.
