# Flights from Stuttgart (STR) to Barcelona (BCN)

1 direct, 75 routes with 1 stop, 7998 with 2 stops. Straight-line distance 993 km.

## Direct

Eurowings, Vueling flies direct, about 993 km.

## Shortest routes

- STR → BCN · 993 km · about 115 min · 0 stops
- STR → ZRH → BCN · 1000 km · about 240 min · 1 stop
- STR → MXP → BCN · 1062 km · about 250 min · 1 stop
- STR → NCE → BCN · 1075 km · about 250 min · 1 stop
- STR → LIN → BCN · 1102 km · about 250 min · 1 stop
- STR → MUC → BCN · 1290 km · about 265 min · 1 stop
- STR → MAH → BCN · 1299 km · about 265 min · 1 stop
- STR → PMI → BCN · 1341 km · about 265 min · 1 stop

## How to query this

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