# Flights from Istanbul (IST) to Niamey (NIM)

1 direct, 8 routes with 1 stop, 337 with 2 stops. Straight-line distance 4019 km.

## Direct

Turkish Airlines flies direct, about 4014 km.

## Shortest routes

- IST → NIM · 4014 km · about 380 min · 0 stops
- IST → MJI → NIM · 4082 km · about 580 min · 1 stop
- IST → TUN → NIM · 4382 km · about 505 min · 1 stop
- IST → OUA → NIM · 4768 km · about 560 min · 1 stop
- IST → ALG → NIM · 4835 km · about 560 min · 1 stop
- IST → NDJ → NIM · 4897 km · about 580 min · 1 stop
- IST → CMN → NIM · 5725 km · about 615 min · 1 stop
- IST → ABJ → NIM · 6272 km · about 645 min · 1 stop

## How to query this

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