# Flights from Edinburgh (EDI) to Sofia (SOF)

1 direct, 68 routes with 1 stop, 6777 with 2 stops. Straight-line distance 2412 km.

## Direct

Ryanair flies direct, about 2416 km.

## Shortest routes

- EDI → SOF · 2416 km · about 210 min · 0 stops
- EDI → VIE → SOF · 2418 km · about 340 min · 1 stop
- EDI → AMS → SOF · 2424 km · about 345 min · 1 stop
- EDI → PRG → SOF · 2426 km · about 340 min · 1 stop
- EDI → CGN → SOF · 2431 km · about 340 min · 1 stop
- EDI → FRA → SOF · 2433 km · about 340 min · 1 stop
- EDI → MUC → SOF · 2435 km · about 335 min · 1 stop
- EDI → BUD → SOF · 2436 km · about 345 min · 1 stop

## How to query this

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