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
Live API Demo
🔒 Sign in to try it live
Log in to call this API with your own API key. New accounts get 100 free credits — no card required.
Log in / Sign upNo active API key found. Create one in your Dashboard, then reload this page. Dashboard →
/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'
Query Result
Use Cases
- Build a lodging destination selector that lets travelers choose Paris city rather than a Paris airport or a similarly named Las Vegas property.
- Use hierarchy labels to clarify neighborhood-versus-city scope in a saved accommodation-search profile.
- Resolve a hotel destination's entityId before composing stay-date, traveler and room inputs for a separate search.
- Handle differently capitalized suggestion types in the application without dropping valid district or property choices.
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.