# Flights from Barcelona (BCN) to Miami (MIA)

1 direct, 43 routes with 1 stop, 4900 with 2 stops. Straight-line distance 7543 km.

## Direct

American Airlines, Iberia flies direct, about 7557 km.

## Shortest routes

- BCN → MIA · 7557 km · about 620 min · 0 stops
- BCN → MAD → MIA · 7601 km · about 778 min · 1 stop
- BCN → LIS → MIA · 7684 km · about 770 min · 1 stop
- BCN → BOS → MIA · 7896 km · about 826 min · 1 stop
- BCN → JFK → MIA · 7917 km · about 832 min · 1 stop
- BCN → EWR → MIA · 7937 km · about 841 min · 1 stop
- BCN → PHL → MIA · 7945 km · about 808 min · 1 stop
- BCN → IAD → MIA · 8012 km · about 818 min · 1 stop

## How to query this

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