Resolve a Hotel Destination to Its Entity ID

View all Skyscanner Flights & Travel Search endpoints →

Autocomplete a hotel destination using required query and optional market/locale codes. The observed response contains places with entityId, name, type, hierarchy and coordinates.lat/lng. Paris returned the city in France with entityId 27539733, alongside airport, district and hotel suggestions, including a similarly named property in Las Vegas. Use hierarchy and type to select the intended geographic scope before passing entityId to hotel search. hierarchy is descriptive text separated by vertical bars, and type values can use different capitalization; preserve them rather than assuming an exhaustive normalized enum. This lookup returns destination suggestions, not available rooms or dated prices.

API Features

Lodging destination entity IDs Each selected suggestion supplies entityId for subsequent hotel searches, avoiding guesses from the text entered by a traveler.
Geographic hierarchy context Returned hierarchy text distinguishes Paris in France from similarly named hotel or place suggestions elsewhere.
Mixed destination suggestion types The tested response included city, airport, district and hotel types with mixed capitalization; the selector must accommodate those distinctions.
Destination suggestion coordinates coordinates.lat/lng help confirm the intended area before a stay-date hotel search is performed.

Live API Demo

GET /api/project/skyscanner/hotels-search-destination

API Response (JSON)

{}
curl -X GET 'https://api.opendata-api.com/api/project/skyscanner/hotels-search-destination?key=<API_KEY>&query=<query>&market=US&locale=en-US'
📢
Need Help?
If you encounter API issues or need other API requirements, please contact us.
Contact Us

Use Cases

Frequently asked questions

How do I select Paris city instead of a similarly named property?

Check name, type, hierarchy and coordinates together before selecting entityId, confirming country and geographic scope. Tested suggestions included Paris in France and similarly named properties elsewhere. Do not assume the first suggestion is the intended city, and accommodate differences in type capitalization.

Do destination suggestions establish room availability or stay prices?

No. This lookup resolves city, airport, district or property suggestions without querying dated rooms or prices. After selecting entityId, send stay dates and traveler settings to hotel search and inspect the actual quoted availability.

Related operations

Guides

View Subscription Plans →