# Flights from Hamburg (HAM) to Budapest (BUD)

1 direct, 85 routes with 1 stop, 7886 with 2 stops. Straight-line distance 949 km.

## Direct

Eurowings flies direct, about 950 km.

## Shortest routes

- HAM → BUD · 950 km · about 100 min · 0 stops
- HAM → BER → BUD · 959 km · about 227 min · 1 stop
- HAM → PRG → BUD · 961 km · about 240 min · 1 stop
- HAM → VIE → BUD · 982 km · about 225 min · 1 stop
- HAM → NUE → BUD · 1112 km · about 280 min · 1 stop
- HAM → MUC → BUD · 1167 km · about 240 min · 1 stop
- HAM → FRA → BUD · 1247 km · about 255 min · 1 stop
- HAM → WAW → BUD · 1295 km · about 260 min · 1 stop

## How to query this

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