# Flights from Madrid (MAD) to Modlin (WMI)

1 direct, 44 routes with 1 stop, 4404 with 2 stops. Straight-line distance 2264 km.

## Direct

Ryanair flies direct, about 2268 km.

## Shortest routes

- MAD → WMI · 2268 km · about 210 min · 0 stops
- MAD → BSL → WMI · 2268 km · about 345 min · 1 stop
- MAD → MXP → WMI · 2303 km · about 355 min · 1 stop
- MAD → BGY → WMI · 2318 km · about 350 min · 1 stop
- MAD → BCN → WMI · 2354 km · about 350 min · 1 stop
- MAD → TSF → WMI · 2375 km · about 337 min · 1 stop
- MAD → CRL → WMI · 2415 km · about 350 min · 1 stop
- MAD → BLQ → WMI · 2416 km · about 350 min · 1 stop

## How to query this

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