Search flight prices
search_flight_pricesCompare live flight prices between two airports for one-way or round trips. See options with airline, price, stops, duration, and times.
Instructions
Search live flight prices between two airports for a date (one-way), or with return_date (round trip). Returns the cheapest options with airline, total price, stops, duration and local departure/arrival times. Airports must be 3-letter IATA codes: call search_airports first if you only know the city. Uses the FlightAPI key (2 credits per uncached search); identical searches are cached for 30 minutes. Prices are indicative; booking happens on the airline or travel agent website.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adults | No | Adults (12+ years), 1-9. Default 1. | |
| origin | Yes | Departure airport IATA code, e.g. LHE. | |
| infants | No | Infants (under 2, on lap). Cannot exceed adults. Default 0. | |
| children | No | Children (2-11 years). Default 0. | |
| currency | No | ISO 4217 currency for prices, e.g. USD, GBP, PKR, EUR. Default USD. | |
| cabin_class | No | Cabin class. Default economy. | economy |
| destination | Yes | Arrival airport IATA code, e.g. LHR. | |
| max_results | No | How many of the cheapest options to return (1-20, default 5). | |
| return_date | No | Return date for a round trip, YYYY-MM-DD. Omit for one-way. | |
| departure_date | Yes | Outbound date, YYYY-MM-DD (today or later). |