Skip to main content

Stays Parameters

Hotels is now Stays

Hotels is now called Stays. The API and existing integrations are unchanged. You may still see hotel or hotels in endpoint paths, fields, enum values, and other API parameters.

Page TypeDescriptionLanding Page
home-viewStays HomeLink
day-viewStays Day ViewLink
hotel-detailsHotel DetailsLink

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

Stays Home View Schema​

/hotels/home-view

A schema definition for the Stays home-view microsite supported parameters.

Stays Home View Properties​

PropertyTypeRequired
checkinstringOptional
checkoutstringOptional
adultsintegerOptional
roomsintegerOptional
skyscanner_node_codestringOptional
marketstringOptional
localestringOptional
currencystringOptional

checkin​

RequiredTypeFormat
OptionalstringYYYY-MM-DD

checkout​

RequiredTypeFormat
OptionalstringYYYY-MM-DD

adults​

Number of adults. The number of adults should be greater than or equal to the number of rooms.

RequiredTypeFormat
Optionalintegere.g. 2

rooms​

Number of rooms. The number of rooms should be less than or equal to the number of adults.

RequiredTypeFormat
Optionalintegere.g. 1

skyscanner_node_code​

The code of the destination. Supported code types:

  • Country codes - 2-letter country codes (e.g. UK, ES, PT)
  • Airport codes - 3-letter IATA codes (e.g. EDI, JFK, LHR)

IATA codes are often used internationally and recognised by multiple airlines and airports. Search IATA Codes.

RequiredTypeFormat
Optionalstringe.g. UK, BCN, EDI

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

Stays Day View Schema​

/hotels/day-view

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

Stays Day View Properties​

PropertyTypeRequired
entity_idstringRequired
checkinstringOptional
checkoutstringOptional
adultsintegerOptional
roomsintegerOptional
sortstringOptional
marketstringOptional
localestringOptional
currencystringOptional
starsinteger[]Optional
chainsinteger[]Optional
propertyTypesstring[]Optional

entity_id​

The ID of the geo location for which the search will be performed.

For more information on the entity_id supported values, have a look at the IATA codes and Entity IDs page.

RequiredType
Requiredstring

checkin​

RequiredTypeFormat
OptionalstringYYYY-MM-DD

checkout​

RequiredTypeFormat
OptionalstringYYYY-MM-DD

adults​

Number of adults. The number of adults should be greater than or equal to the number of rooms.

RequiredTypeFormat
Optionalintegere.g. 2

rooms​

Number of rooms. The number of rooms should be less than or equal to the number of adults.

RequiredTypeFormat
Optionalintegere.g. 1

sort​

Defines the order in which search results appear. 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
priceSorts by price in ascending order
-priceSorts by price in descending order
distanceSorts by distance from the city centre in ascending order
-hotel_ratingSorts by hotel rating in descending order
starsSorts by hotel stars in ascending order
-starsSorts by hotel stars in descending order

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

stars​

List of hotel star ratings to filter results by.

When specified, only hotels matching one of the provided star ratings will be returned.

Accepted values are integers between 0 and 5.

Note: 0 represents properties with no star rating (unrated).

Multiple values can be supplied by repeating the parameter.

RequiredTypeFormat
Optionalinteger[]e.g. ?stars=3&stars=4

Examples:

  • ?stars=4 → 4-star hotels
  • ?stars=3&stars=4 → 3-star or 4-star hotels
  • ?stars=0 → unrated properties
  • ?stars=0&stars=4 → unrated or 4-star properties

chains​

List of hotel chain entity IDs to filter results by.

When specified, only hotels belonging to one of the provided chains will be returned.

Chain entity IDs can be found in the chainGroup.chainId field within each hotel's content object in Stays Live Prices and Stays Content API responses. There is no dedicated endpoint for retrieving chain IDs.

Multiple values can be supplied by repeating the parameter.

RequiredTypeFormat
Optionalinteger[]e.g. ?chains=90718711&chains=90718621

propertyTypes​

List of property types to filter results by.

When specified, only properties matching one of the provided types will be returned.

Supported values:

  • Apartment
  • GuestHouse
  • HolidayRentals
  • Hotel
  • Hostel
  • Resort
  • UniqueStays

Multiple values can be supplied by repeating the parameter.

RequiredTypeFormat
Optionalstring[]e.g. ?propertyTypes=Hotel&propertyTypes=Apartment

Hotel Details Schema​

/hotels/hotel-details

A schema definition for the hotel details microsite supported parameters.

Hotel Details Properties​

PropertyTypeRequired
hotelIdstringRequired
checkinstringOptional
checkoutstringOptional
adultsintegerOptional
roomsintegerOptional
marketstringOptional
localestringOptional
currencystringOptional

hotelId​

The Skyscanner entity ID of the specific hotel.

For more information on entity IDs, have a look at the Entity IDs section.

RequiredTypeFormat
Requiredstringe.g. 133231627

checkin​

RequiredTypeFormat
OptionalstringYYYY-MM-DD

checkout​

RequiredTypeFormat
OptionalstringYYYY-MM-DD

adults​

Number of adults. The number of adults should be greater than or equal to the number of rooms.

RequiredTypeFormat
Optionalintegere.g. 2

rooms​

Number of rooms. The number of rooms should be less than or equal to the number of adults.

RequiredTypeFormat
Optionalintegere.g. 1

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