# Flights from Madrid (MAD) to Algiers (ALG)

1 direct, 44 routes with 1 stop, 4170 with 2 stops. Straight-line distance 724 km.

## Direct

Air Algerie, Iberia flies direct, about 724 km.

## Shortest routes

- MAD → ALG · 724 km · about 100 min · 0 stops
- MAD → ALC → ALG · 732 km · about 225 min · 1 stop
- MAD → VLC → ALG · 733 km · about 225 min · 1 stop
- MAD → PMI → ALG · 866 km · about 225 min · 1 stop
- MAD → BCN → ALG · 1003 km · about 250 min · 1 stop
- MAD → TLS → ALG · 1322 km · about 260 min · 1 stop
- MAD → MPL → ALG · 1476 km · about 275 min · 1 stop
- MAD → BOD → ALG · 1497 km · about 285 min · 1 stop

## How to query this

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