Find connections between airports
find_connectionsMulti-stop itineraries from an origin airport to either a destination airport or to any airport in a country. Returns airport paths with every airline flying each leg. Airline entries carry their alliance and, when service is not plain scheduled, a kind field (seasonal, charter or suspended). Suspended legs are included and flagged, not excluded; pass exclude_kinds to drop them. Seasonal and charter service carries no operating dates and there is no frequency or days-of-week data, so treat every match as unverified for specific travel dates. Provide exactly one of destination or to_country. Responses include book deep links to Kiwi.com search results (our referral id included); without depart_date the link defaults to a one-way search two weeks out.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin | Yes | Three-letter IATA airport code, e.g. "IST" | |
| max_stops | No | Maximum intermediate stops (default 2; country searches cap at 2) | |
| to_country | No | ISO 3166-1 alpha-2 country code goal, e.g. "CR" for Costa Rica | |
| depart_date | No | Departure date for the book links | |
| destination | No | Three-letter IATA airport code, e.g. "IST" | |
| return_date | No | Return date for the book links (round trip) | |
| same_airline | No | Require one single airline to operate every leg | |
| exclude_kinds | No | Drop legs whose service kind is in this list, e.g. ["suspended"] or ["suspended","charter"] for currently bookable routes only |