v21

latestOpenAPI 3.0.0raw.githubusercontent.com2025-10-063123117.4 KB
SkyScanner

Search flights on SkyScanner

Search flights on SkyScanner for given origin, destination, departure date and return date

post/skyscanner/search-flights

Request body

originstring required

The origin location of the itinerary

destinationstring required

The destination location of the itinerary

flight_type'one-way' | 'roundtrip' required

The type of the flight

depart_datestring required

The departure date of the itinerary. The format has to be YYYY-MM-DD

return_datestring

The return date of the itinerary. The format has to be YYYY-MM-DD. If the flight type is roundtrip, this field is required.

stopsstring[]

The list of filter values for number of stops

num_adultsnumber

The number of adults for the itinerary

num_childrennumber

The number of children for the itinerary

num_infantsnumber

The number of infants for the itinerary

cabin_class'economy' | 'premium_economy' | 'business' | 'first'

The cabin class filter

include_origin_nearby_airportsboolean

Boolean to indicate whether to include nearby origin airports in the results or not

include_destination_nearby_airportsboolean

Boolean to indicate whether to include nearby destination airports in the results or not

Response

SearchFlights API successful response