# Flights from Madrid (MAD) to Olbia (OLB)

1 direct, 68 routes with 1 stop, 6491 with 2 stops. Straight-line distance 1103 km.

## Direct

Iberia, Volotea flies direct, about 1105 km.

## Shortest routes

- MAD → OLB · 1105 km · about 123 min · 0 stops
- MAD → BCN → OLB · 1109 km · about 260 min · 1 stop
- MAD → MRS → OLB · 1251 km · about 275 min · 1 stop
- MAD → TLS → OLB · 1273 km · about 265 min · 1 stop
- MAD → CAG → OLB · 1274 km · about 245 min · 1 stop
- MAD → NCE → OLB · 1317 km · about 265 min · 1 stop
- MAD → BIO → OLB · 1377 km · about 270 min · 1 stop
- MAD → BOD → OLB · 1477 km · about 280 min · 1 stop

## How to query this

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