Search flight offers
Returns available flight offers based on search criteria including origin, destination, dates, and passenger details.
Authorizations
API key for authentication. Add your API key to the Authorization header with this format: 'Bearer your_api_key_here'
Body
Origin airport IATA code
^[A-Z]{3}$"JFK"
Destination airport IATA code
^[A-Z]{3}$"LHR"
Departure date (YYYY-MM-DD)
"2023-10-15"
Number of adult passengers (age 12+)
1 <= x <= 92
Return date (YYYY-MM-DD) - omit for one-way flights
"2023-10-25"
Number of child passengers (age 2-11)
0 <= x <= 81
Number of infant passengers (under 2 years)
0 <= x <= 40
Preferred cabin class
ECONOMY, PREMIUM_ECONOMY, BUSINESS, FIRST "BUSINESS"
Type of booking to search for
direct, transfer "direct"
Sort order for results
price, duration, best, departure_time, arrival_time "duration"
Maximum number of results to return
1 <= x <= 10010