# Flights from Hanover (HAJ) to Marrakech (RAK)

1 direct, 27 routes with 1 stop, 3431 with 2 stops. Straight-line distance 2726 km.

## Direct

Eurowings flies direct, about 2725 km.

## Shortest routes

- HAJ → RAK · 2725 km · about 245 min · 0 stops
- HAJ → AGP → RAK · 2726 km · about 390 min · 1 stop
- HAJ → FRA → RAK · 2748 km · about 380 min · 1 stop
- HAJ → CDG → RAK · 2758 km · about 390 min · 1 stop
- HAJ → ALC → RAK · 2770 km · about 385 min · 1 stop
- HAJ → BCN → RAK · 2771 km · about 395 min · 1 stop
- HAJ → BRU → RAK · 2778 km · about 435 min · 1 stop
- HAJ → FAO → RAK · 2802 km · about 375 min · 1 stop

## How to query this

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