# Flights from Amsterdam (AMS) to Ankara (ESB)

1 direct, 40 routes with 1 stop, 4881 with 2 stops. Straight-line distance 2536 km.

## Direct

SunExpress, AJet flies direct, about 2540 km.

## Shortest routes

- AMS → ESB · 2540 km · about 225 min · 0 stops
- AMS → BUD → ESB · 2540 km · about 360 min · 1 stop
- AMS → OTP → ESB · 2540 km · about 355 min · 1 stop
- AMS → VIE → ESB · 2542 km · about 350 min · 1 stop
- AMS → DUS → ESB · 2549 km · about 345 min · 1 stop
- AMS → FRA → ESB · 2568 km · about 360 min · 1 stop
- AMS → IST → ESB · 2569 km · about 365 min · 1 stop
- AMS → SAW → ESB · 2574 km · about 365 min · 1 stop

## How to query this

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