# Flights from Hamburg (HAM) to Dubai (DXB)

1 direct, 56 routes with 1 stop, 6271 with 2 stops. Straight-line distance 4883 km.

## Direct

Emirates flies direct, about 4886 km.

## Shortest routes

- HAM → DXB · 4886 km · about 380 min · 0 stops
- HAM → RMO → DXB · 4886 km · about 560 min · 1 stop
- HAM → EBL → DXB · 4886 km · about 575 min · 1 stop
- HAM → BER → DXB · 4888 km · about 517 min · 1 stop
- HAM → WAW → DXB · 4910 km · about 545 min · 1 stop
- HAM → EVN → DXB · 4919 km · about 610 min · 1 stop
- HAM → OTP → DXB · 4936 km · about 550 min · 1 stop
- HAM → ESB → DXB · 4943 km · about 535 min · 1 stop

## How to query this

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