# Flights from Birmingham (BHX) to Marrakech (RAK)

1 direct, 55 routes with 1 stop, 6095 with 2 stops. Straight-line distance 2374 km.

## Direct

Jet2, Ryanair UK, easyJet, TUI Airways flies direct, about 2371 km.

## Shortest routes

- BHX → RAK · 2371 km · about 270 min · 0 stops
- BHX → SVQ → RAK · 2375 km · about 340 min · 1 stop
- BHX → SDR → RAK · 2378 km · about 340 min · 1 stop
- BHX → FAO → RAK · 2383 km · about 340 min · 1 stop
- BHX → MAD → RAK · 2401 km · about 360 min · 1 stop
- BHX → AGP → RAK · 2416 km · about 355 min · 1 stop
- BHX → LRH → RAK · 2420 km · about 345 min · 1 stop
- BHX → OPO → RAK · 2422 km · about 350 min · 1 stop

## How to query this

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