# Flights from Edinburgh (EDI) to Toronto (YYZ)

1 direct, 46 routes with 1 stop, 5698 with 2 stops. Straight-line distance 5343 km.

## Direct

Air Canada, WestJet flies direct, about 5358 km.

## Shortest routes

- EDI → YYZ · 5358 km · about 440 min · 0 stops
- EDI → YUL → YYZ · 5384 km · about 603 min · 1 stop
- EDI → KEF → YYZ · 5569 km · about 620 min · 1 stop
- EDI → YHZ → YYZ · 5587 km · about 627 min · 1 stop
- EDI → DUB → YYZ · 5611 km · about 610 min · 1 stop
- EDI → SNN → YYZ · 5643 km · about 600 min · 1 stop
- EDI → BOS → YYZ · 5654 km · about 644 min · 1 stop
- EDI → EWR → YYZ · 5818 km · about 663 min · 1 stop

## How to query this

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