# Flights from Warsaw (WAW) to Baku (GYD)

1 direct, 36 routes with 1 stop, 3447 with 2 stops. Straight-line distance 2559 km.

## Direct

LOT - Polish Airlines flies direct, about 2564 km.

## Shortest routes

- WAW → GYD · 2564 km · about 255 min · 0 stops
- WAW → TBS → GYD · 2600 km · about 380 min · 1 stop
- WAW → RMO → GYD · 2658 km · about 390 min · 1 stop
- WAW → ESB → GYD · 3073 km · about 385 min · 1 stop
- WAW → BUD → GYD · 3111 km · about 400 min · 1 stop
- WAW → IST → GYD · 3142 km · about 425 min · 1 stop
- WAW → BTS → GYD · 3251 km · about 395 min · 1 stop
- WAW → BEG → GYD · 3292 km · about 405 min · 1 stop

## How to query this

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