Duffel Flight Search
duffel_flight_searchSearch flights (with pricing) from to on — returns the 5 cheapest real, bookable offers from the Duffel Flights API, each with total price, airline, and per-segment flight numbers/times. Pass return_date for a round trip. This is REAL flight inventory: use a Duffel test token (duffel_test_...) for sandbox results. Example: duffel_flight_search({ origin: "JFK", destination: "LHR", departure_date: "2026-08-15", passengers: 2, cabin_class: "economy", apiKey: "duffel_test..." })
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin | Yes | Origin airport IATA code, e.g. "JFK" | |
| _apiKey | Yes | Your Duffel access token (from duffel.com). A test token "duffel_test_..." works against the sandbox. | |
| passengers | No | Number of adult passengers (default 1, max 9) | |
| cabin_class | No | Optional cabin: economy, premium_economy, business, or first | |
| destination | Yes | Destination airport IATA code, e.g. "LHR" | |
| return_date | No | Optional return date (YYYY-MM-DD). If given, searches a round trip (destination back to origin on this date). | |
| departure_date | Yes | Outbound date in YYYY-MM-DD format, e.g. "2026-08-15" |