# Flights from Istanbul (IST) to Mogadishu (MGQ)

1 direct, 7 routes with 1 stop, 378 with 2 stops. Straight-line distance 4669 km.

## Direct

Turkish Airlines flies direct, about 4654 km.

## Shortest routes

- IST → MGQ · 4654 km · about 410 min · 0 stops
- IST → JED → MGQ · 4656 km · about 545 min · 1 stop
- IST → JIB → MGQ · 4661 km · about 513 min · 1 stop
- IST → ADD → MGQ · 4765 km · about 545 min · 1 stop
- IST → NBO → MGQ · 5790 km · about 578 min · 1 stop
- IST → SHJ → MGQ · 5849 km · about 605 min · 1 stop
- IST → EBB → MGQ · 6027 km · about 640 min · 1 stop
- IST → MCT → MGQ · 6138 km · about 620 min · 1 stop

## How to query this

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