Skip to main content

Flights Parameters

Page TypeDescriptionLanding Page
homeSkyscanner HomeLink
day-viewFlights Day ViewLink
calendar-month-viewFlights Month ViewLink
browse-viewFlights Browse ViewLink
multicityFlights Multi-CityLink
cheap-flights-toCheap Flights ToLink
flights-airlineFlights AirlineLink

For more details on the supported verticals and page types, please visit Verticals and Page Types.

Flights Home Page Schema​

/flights/home

A schema definition for the flights home page microsite supported parameters.

Flights Home Page Properties​

PropertyTypeRequired
marketstringOptional
localestringOptional
currencystringOptional

market​

The preferred market for searching results.

When unspecified, we use detection logic to determine the market, so it is unlikely you will need to use this parameter. If you want to learn more, please visit our Localisation page.

RequiredTypeFormat
Optionalstringe.g. UK, US, FR

locale​

The preferred locale for the desired page.

When unspecified, we use detection logic to determine the locale, so it is unlikely you will need to use this parameter. If you want to learn more, please visit our Localisation page.

RequiredTypeFormat
Optionalstringe.g. es-ES, en-GB, fr-FR

currency​

The preferred currency for the desired page.

When unspecified, we use detection logic to determine the currency, so it is unlikely you will need to use this parameter. If you want to learn more, please visit our Localisation page.

RequiredTypeFormat
Optionalstringe.g. GBP, EUR, USD

Flights Day View Schema​

/flights/day-view

A schema definition for the flights day-view microsite supported parameters.

Flights Day View Properties​

PropertyTypeRequired
originstringRequired
destinationstringRequired
outboundDatestringRequired
inboundDatestringOptional
adultsv2integerOptional
childrenv2stringOptional
cabinclassstringRequired
preferDirectsbooleanOptional
outboundaltsenabledbooleanOptional
inboundaltsenabledbooleanOptional
marketstringOptional
localestringOptional
currencystringOptional
sortbystringOptional
airlinesstringOptional
alliancesstringOptional
departure-timesstringOptional
durationintegerOptional

origin​

IATA code for the origin. IATA codes are available for airlines, airports and cities. They are often used internationally and recognised by multiple airlines and airports. Learn more

RequiredTypeFormat
Requiredstringe.g. EDI, BCN, LIS

destination​

IATA code for the destination. IATA codes are available for airlines, airports and cities. They are often used internationally and recognised by multiple airlines and airports. Learn more

RequiredTypeFormat
Requiredstringe.g. EDI, BCN, LIS

outboundDate​

RequiredTypeFormat
RequiredstringYYYY-MM-DD

inboundDate​

RequiredTypeFormat
OptionalstringYYYY-MM-DD

adultsv2​

Number of adult passengers. Adults have to be 18 years old or older.

RequiredTypeFormatDefault value
Optionalintegere.g. 21

childrenv2​

Number of children passengers. Child age has to be in the 2-17 range. The value must be in the format integer|integer... where each number is the age of the child passenger.

RequiredTypeFormat
Optionalstringe.g. 3|4|5

cabinclass​

Cabin class for the flight.

RequiredTypeDefault value
Optionalenumeconomy

The value of this property must be equal to one of the following values:

ENUM values
economy
premiumeconomy
business
first

preferDirects​

When this parameter is set to true, only direct flights results will be shown.

RequiredTypeFormat
Optionalbooleane.g. false

outboundaltsenabled​

When this parameter is set to true, the results will include nearby airports as an outbound place.

RequiredTypeFormat
Optionalbooleane.g. false

inboundaltsenabled​

When this parameter is set to true, the results will include nearby airports as an inbound place.

RequiredTypeFormat
Optionalbooleane.g. false

market​

The preferred market for searching results.

When unspecified, we use detection logic to determine the market, so it is unlikely you will need to use this parameter. If you want to learn more, please visit our Localisation page.

RequiredTypeFormat
Optionalstringe.g. UK, US, FR

locale​

The preferred locale for the desired page.

When unspecified, we use detection logic to determine the locale, so it is unlikely you will need to use this parameter. If you want to learn more, please visit our Localisation page.

RequiredTypeFormat
Optionalstringe.g. es-ES, en-GB, fr-FR

currency​

The preferred currency for the desired page.

When unspecified, we use detection logic to determine the currency, so it is unlikely you will need to use this parameter. If you want to learn more, please visit our Localisation page.

RequiredTypeFormat
Optionalstringe.g. GBP, EUR, USD

The preferred currency for the desired page.

RequiredTypeFormat
Optionalstringe.g. GBP, EUR, USD

sortby​

Sets the sorting order for the results. If not specified, results will be sorted by best.
Learn more

RequiredType
Optionalenum

The value of this property must be equal to one of the following values:

ENUM valuesExplanation
cheapestSorts the results by price from cheapest to most expensive.
fastestSort the results by the flight duration from fastest to longest.

airlines​

Comma separated list of IATA/ICAO airline codes to be passed to the day-view filters.

RequiredTypeFormat
Optionalstringe.g. AF,EZY,TK

alliances​

Comma separated list of alliance names passed to the day-view filters.

RequiredTypeFormatSupported values
Optionalstringe.g. OneWorld,SkyTeamOneWorld, Star Alliance and SkyTeam

departure-times​

Sets the day-view departure time filters in minutes.

RequiredTypeFormat
Optionalstringe.g. 00-90,30-990 (first leg departs between 00 and 1:30, second departs between 00:30 and 16:30)

duration​

Sets the day-view duration filters in minutes.

RequiredTypeFormat
Optionalintegere.g. 1320 (22 hours)

Flights Browse View Schema​

/flights/browse-view

A schema definition for the flights browse view microsite supported parameters.

Flights Browse View Properties​

PropertyTypeRequired
originstringRequired
destinationstringOptional
outboundDatestringOptional
inboundDatestringOptional
adultsv2integerOptional
childrenv2stringOptional
oymstringOptional
iymstringOptional
rtnstringOptional
preferDirectsbooleanOptional
marketstringOptional
localestringOptional
currencystringOptional

origin​

Country or IATA code for the origin.

IATA codes are available for airlines, airports and cities. They are often used internationally and recognised by multiple airlines and airports. Learn more

RequiredTypeFormat
Requiredstringe.g. UK, LHR

destination​

Country or IATA code for the destination.

IATA codes are available for airlines, airports and cities. They are often used internationally and recognised by multiple airlines and airports. Learn more

RequiredTypeFormat
Optionalstringe.g. UK, LHR

outboundDate​

RequiredTypeFormat
OptionalstringYYYY-MM-DD

inboundDate​

RequiredTypeFormat
OptionalstringYYYY-MM-DD

adultsv2​

Number of adult passengers. Adults have to be 18 years old or older.

RequiredTypeFormatDefault value
Optionalintegere.g. 21

childrenv2​

Number of children passengers. Child age has to be in the 2-17 range. The value must be in the format integer|integer... where each number is the age of the child passenger.

RequiredTypeFormat
Optionalstringe.g. 3|4|5

oym​

Outbound month.

RequiredTypeFormat
OptionalstringYYYY-MM

iym​

Inbound month.

Can only be used in combination with oym.

RequiredTypeFormat
OptionalstringYYYY-MM

rtn​

Trip type.

RequiredType
Optionalenum

The value of this property must be equal to one of the following values:

ValueExplanation
0if oneway trip
1if return or multicity trip

preferDirects​

When this parameter is set to true, only direct flights results will be shown.

RequiredTypeFormat
Optionalbooleanfalse

market​

The preferred market for searching results.

When unspecified, we use detection logic to determine the market, so it is unlikely you will need to use this parameter. If you want to learn more, please visit our Localisation page.

RequiredTypeFormat
Optionalstringe.g. UK, US, FR

locale​

The preferred locale for the desired page.

When unspecified, we use detection logic to determine the locale, so it is unlikely you will need to use this parameter. If you want to learn more, please visit our Localisation page.

RequiredTypeFormat
Optionalstringe.g. es-ES, en-GB, fr-FR

currency​

The preferred currency for the desired page.

When unspecified, we use detection logic to determine the currency, so it is unlikely you will need to use this parameter. If you want to learn more, please visit our Localisation page.

RequiredTypeFormat
Optionalstringe.g. GBP, EUR, USD

Flights Calendar Month View Schema​

/flights/calendar-month-view

A schema definition for the flights calendar month view microsite supported parameters.

Flights Calendar Month View Properties​

PropertyTypeRequired
originstringRequired
destinationstringRequired
oymstringOptional
iymstringOptional
adultsv2integerOptional
childrenv2stringOptional
rtnstringOptional
preferDirectsbooleanOptional
selectedodaystringOptional
selectedidaystringOptional
marketstringOptional
localestringOptional
currencystringOptional

origin​

IATA code for the origin. IATA codes are available for airlines, airports and cities. They are often used internationally and recognised by multiple airlines and airports. Learn more

RequiredTypeFormat
Requiredstringe.g. EDI, BCN, LIS

destination​

IATA code for the destination. IATA codes are available for airlines, airports and cities. They are often used internationally and recognised by multiple airlines and airports. Learn more

RequiredTypeFormat
Requiredstringe.g. EDI, BCN, LIS

oym​

Outbound month.

RequiredTypeFormat
OptionalstringYYYY-MM

iym​

Inbound month.

Can only be used in combination with oym.

RequiredTypeFormat
OptionalstringYYYY-MM

adultsv2​

Number of adult passengers. Adults have to be 18 years old or older.

RequiredTypeFormatDefault value
Optionalintegere.g. 21

childrenv2​

Number of children passengers. Child age has to be in the 2-17 range. The value must be in the format integer|integer... where each number is the age of the child passenger.

RequiredTypeFormat
Optionalstringe.g. 3|4|5

rtn​

Trip type.

RequiredType
Optionalenum

The value of this property must be equal to one of the following values:

ValueExplanation
0if oneway trip
1if return or multicity trip

preferDirects​

When this parameter is set to true, only direct flights results will be shown.

RequiredTypeFormat
Optionalbooleanfalse

selectedoday​

Preselected outbound day of the month.

RequiredTypeFormat
Optionalintegere.g. 10

selectediday​

Preselected inbound day of the month.

RequiredTypeFormat
Optionalintegere.g. 10

market​

The preferred market for searching results.

When unspecified, we use detection logic to determine the market, so it is unlikely you will need to use this parameter. If you want to learn more, please visit our Localisation page.

RequiredTypeFormat
Optionalstringe.g. UK, US, FR

locale​

The preferred locale for the desired page.

When unspecified, we use detection logic to determine the locale, so it is unlikely you will need to use this parameter. If you want to learn more, please visit our Localisation page.

RequiredTypeFormat
Optionalstringe.g. es-ES, en-GB, fr-FR

currency​

The preferred currency for the desired page.

When unspecified, we use detection logic to determine the currency, so it is unlikely you will need to use this parameter. If you want to learn more, please visit our Localisation page.

RequiredTypeFormat
Optionalstringe.g. GBP, EUR, USD

Flights Day View for Multi-City Search Schema​

/flights/multicity

A schema definition for the flights day-view microsite supported query parameters.

Flights Day View for Multi-City Search Properties​

PropertyTypeRequired
origin0stringRequired
date0stringRequired
destination0stringRequired
origin1stringOptional
date1stringOptional
destination1stringOptional
origin2stringOptional
date2stringOptional
destination2stringOptional
origin3stringOptional
date3stringOptional
destination3stringOptional
origin4stringOptional
date4stringOptional
destination4stringOptional
origin5stringOptional
date5stringOptional
destination5stringOptional
adultsv2integerOptional
childrenv2stringOptional
cabinclassstringOptional
marketstringOptional
localestringOptional
currencystringOptional

origin0​

IATA code for the origin of the first flight. IATA codes are available for airlines, airports and cities. They are often used internationally and recognised by multiple airlines and airports. Learn more

RequiredTypeFormat
Requiredstringe.g. EDI, BCN, LIS

date0​

Outbound date for the first flight.

RequiredTypeFormat
RequiredstringYYYY-MM-DD

destination0​

IATA code for the destination of the first flight. IATA codes are available for airlines, airports and cities. They are often used internationally and recognised by multiple airlines and airports. Learn more

RequiredTypeFormat
Requiredstringe.g. EDI, BCN, LIS

origin1​

IATA code for the origin of the second flight. IATA codes are available for airlines, airports and cities. They are often used internationally and recognised by multiple airlines and airports. Learn more

RequiredTypeFormat
Optionalstringe.g. EDI, BCN, LIS

date1​

Outbound date for the second flight.

RequiredTypeFormat
OptionalstringYYYY-MM-DD

destination1​

IATA code for the destination of the second flight. IATA codes are available for airlines, airports and cities. They are often used internationally and recognised by multiple airlines and airports. Learn more

RequiredTypeFormat
Optionalstringe.g. EDI, BCN, LIS

origin2​

IATA code for the origin of the third flight. IATA codes are available for airlines, airports and cities. They are often used internationally and recognised by multiple airlines and airports. Learn more

RequiredTypeFormat
Optionalstringe.g. EDI, BCN, LIS

date2​

Outbound date for the third flight.

RequiredTypeFormat
OptionalstringYYYY-MM-DD

destination2​

IATA code for the destination of the third flight. IATA codes are available for airlines, airports and cities. They are often used internationally and recognised by multiple airlines and airports. Learn more

RequiredTypeFormat
Optionalstringe.g. EDI, BCN, LIS

origin3​

IATA code for the origin of the fourth flight. IATA codes are available for airlines, airports and cities. They are often used internationally and recognised by multiple airlines and airports. Learn more

RequiredTypeFormat
Optionalstringe.g. EDI, BCN, LIS

date3​

Outbound date for the fourth flight.

RequiredTypeFormat
OptionalstringYYYY-MM-DD

destination3​

IATA code for the destination of the fourth flight. IATA codes are available for airlines, airports and cities. They are often used internationally and recognised by multiple airlines and airports. Learn more

RequiredTypeFormat
Optionalstringe.g. EDI, BCN, LIS

origin4​

IATA code for the origin of the fifth flight. IATA codes are available for airlines, airports and cities. They are often used internationally and recognised by multiple airlines and airports. Learn more

RequiredTypeFormat
Optionalstringe.g. EDI, BCN, LIS

date4​

Outbound date for the fifth flight.

RequiredTypeFormat
OptionalstringYYYY-MM-DD

destination4​

IATA code for the destination of the fifth flight. IATA codes are available for airlines, airports and cities. They are often used internationally and recognised by multiple airlines and airports. Learn more

RequiredTypeFormat
Optionalstringe.g. EDI, BCN, LIS

origin5​

IATA code for the origin of the sixth flight. IATA codes are available for airlines, airports and cities. They are often used internationally and recognised by multiple airlines and airports. Learn more

RequiredTypeFormat
Optionalstringe.g. EDI, BCN, LIS

date5​

Outbound date for the sixth flight.

RequiredTypeFormat
OptionalstringYYYY-MM-DD

destination5​

IATA code for the destination of the sixth flight. IATA codes are available for airlines, airports and cities. They are often used internationally and recognised by multiple airlines and airports. Learn more

RequiredTypeFormat
Optionalstringe.g. EDI, BCN, LIS

adultsv2​

Number of adult passengers. Adults have to be 18 years old or older.

RequiredTypeFormatDefault value
Optionalintegere.g. 21

childrenv2​

Number of children passengers. Child age has to be in the 2-17 range. The value must be in the format integer|integer... where each number is the age of the child passenger.

RequiredTypeFormat
Optionalstringe.g. 3|4|5

cabinclass​

Cabin class for the flight.

RequiredTypeDefault value
Optionalenumeconomy

The value of this property must be equal to one of the following values:

ENUM values
economy
premiumeconomy
business
first

market​

The preferred market for searching results.

When unspecified, we use detection logic to determine the market, so it is unlikely you will need to use this parameter. If you want to learn more, please visit our Localisation page.

RequiredTypeFormat
Optionalstringe.g. UK, US, FR

locale​

The preferred locale for the desired page.

When unspecified, we use detection logic to determine the locale, so it is unlikely you will need to use this parameter. If you want to learn more, please visit our Localisation page.

RequiredTypeFormat
Optionalstringe.g. es-ES, en-GB, fr-FR

currency​

The preferred currency for the desired page.

When unspecified, we use detection logic to determine the currency, so it is unlikely you will need to use this parameter. If you want to learn more, please visit our Localisation page.

RequiredTypeFormat
Optionalstringe.g. GBP, EUR, USD

Cheap Flights To View Schema​

/flights/cheap-flights-to

A schema definition for the cheap flights to microsite supported parameters.

Cheap Flights To View Properties​

PropertyTypeRequired
destinationstringRequired
marketstringOptional
localestringOptional
currencystringOptional

destination​

IATA code for the destination. IATA codes are available for airlines, airports and cities. They are often used internationally and recognised by multiple airlines and airports. Learn more

RequiredTypeFormat
Requiredstringe.g. EDI, BCN, LIS

market​

The preferred market for searching results.

When unspecified, we use detection logic to determine the market, so it is unlikely you will need to use this parameter. If you want to learn more, please visit our Localisation page.

RequiredTypeFormat
Optionalstringe.g. UK, US, FR

locale​

The preferred locale for the desired page.

When unspecified, we use detection logic to determine the locale, so it is unlikely you will need to use this parameter. If you want to learn more, please visit our Localisation page.

RequiredTypeFormat
Optionalstringe.g. es-ES, en-GB, fr-FR

currency​

The preferred currency for the desired page.

When unspecified, we use detection logic to determine the currency, so it is unlikely you will need to use this parameter. If you want to learn more, please visit our Localisation page.

RequiredTypeFormat
Optionalstringe.g. GBP, EUR, USD

Flights Airline Schema​

/flights/flights-airline

A schema definition for the flights airline microsite supported parameters.

Flights Airline Properties​

PropertyTypeRequired
airlineCodestringRequired
marketstringOptional
localestringOptional
currencystringOptional

airlineCode​

The airline code.

RequiredTypeFormat
Requiredstringe.g. BA

market​

The preferred market for searching results.

When unspecified, we use detection logic to determine the market, so it is unlikely you will need to use this parameter. If you want to learn more, please visit our Localisation page.

RequiredTypeFormat
Optionalstringe.g. UK, US, FR

locale​

The preferred locale for the desired page.

When unspecified, we use detection logic to determine the locale, so it is unlikely you will need to use this parameter. If you want to learn more, please visit our Localisation page.

RequiredTypeFormat
Optionalstringe.g. es-ES, en-GB, fr-FR

currency​

The preferred currency for the desired page.

When unspecified, we use detection logic to determine the currency, so it is unlikely you will need to use this parameter. If you want to learn more, please visit our Localisation page.

RequiredTypeFormat
Optionalstringe.g. GBP, EUR, USD