# Flights from Belgrade (BEG) to Madrid (MAD)

1 direct, 76 routes with 1 stop, 7642 with 2 stops. Straight-line distance 2001 km.

## Direct

AirSERBIA, Wizz Air, airBaltic flies direct, about 2006 km.

## Shortest routes

- BEG → MAD · 2006 km · about 213 min · 0 stops
- BEG → FLR → MAD · 2005 km · about 375 min · 1 stop
- BEG → PSA → MAD · 2006 km · about 325 min · 1 stop
- BEG → NCE → MAD · 2009 km · about 335 min · 1 stop
- BEG → BLQ → MAD · 2011 km · about 375 min · 1 stop
- BEG → BCN → MAD · 2013 km · about 335 min · 1 stop
- BEG → SPU → MAD · 2024 km · about 335 min · 1 stop
- BEG → VCE → MAD · 2037 km · about 370 min · 1 stop

## How to query this

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