# Flights from Istanbul (IST) to Rabat (RBA)

1 direct, 30 routes with 1 stop, 3132 with 2 stops. Straight-line distance 3202 km.

## Direct

Air Arabia Maroc flies direct, about 3208 km.

## Shortest routes

- IST → RBA · 3208 km · about 293 min · 0 stops
- IST → TUN → RBA · 3241 km · about 425 min · 1 stop
- IST → AGP → RBA · 3263 km · about 430 min · 1 stop
- IST → VLC → RBA · 3301 km · about 420 min · 1 stop
- IST → ATH → RBA · 3335 km · about 428 min · 1 stop
- IST → BCN → RBA · 3344 km · about 445 min · 1 stop
- IST → SVQ → RBA · 3379 km · about 435 min · 1 stop
- IST → NCE → RBA · 3397 km · about 435 min · 1 stop

## How to query this

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