# Flights from Barcelona (BCN) to Marrakech (RAK)

1 direct, 93 routes with 1 stop, 8617 with 2 stops. Straight-line distance 1405 km.

## Direct

Ryanair, Vueling flies direct, about 1404 km.

## Shortest routes

- BCN → RAK · 1404 km · about 155 min · 0 stops
- BCN → VLC → RAK · 1405 km · about 280 min · 1 stop
- BCN → ALC → RAK · 1410 km · about 275 min · 1 stop
- BCN → FEZ → RAK · 1411 km · about 275 min · 1 stop
- BCN → TTU → RAK · 1412 km · about 285 min · 1 stop
- BCN → AGP → RAK · 1416 km · about 280 min · 1 stop
- BCN → CMN → RAK · 1426 km · about 270 min · 1 stop
- BCN → TNG → RAK · 1428 km · about 275 min · 1 stop

## How to query this

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