# Flights from Dublin (DUB) to Cancun (CUN)

1 direct, 42 routes with 1 stop, 3874 with 2 stops. Straight-line distance 7532 km.

## Direct

Aer Lingus flies direct, about 7542 km.

## Shortest routes

- DUB → CUN · 7542 km · about 650 min · 0 stops
- DUB → MCO → CUN · 7547 km · about 787 min · 1 stop
- DUB → MIA → CUN · 7559 km · about 792 min · 1 stop
- DUB → YHZ → CUN · 7567 km · about 790 min · 1 stop
- DUB → BOS → CUN · 7609 km · about 803 min · 1 stop
- DUB → JFK → CUN · 7619 km · about 810 min · 1 stop
- DUB → RDU → CUN · 7619 km · about 805 min · 1 stop
- DUB → EWR → CUN · 7627 km · about 822 min · 1 stop

## How to query this

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