/hostelworld/cities/search
Resolve a keyword into matching Hostelworld locations and properties (autocomplete). Returns ranked suggestions, each with its id, type (city, region, country, popular place or property), display name and, where the upstream provides it, the city the suggestion belongs to (id, name, country). Use the id of the best city match to drive the city property search.
Price: 1 credit
💡 AI Hint: Resolve a free-text keyword (city, region, country or property name) into Hostelworld suggestions. Returns a ranked list mixing several types: type=‘city’/‘region’/‘country’ items whose id is a Hostelworld location id, and type=‘property’/‘popular places’ items. Each item has id, type, name (display name like ‘London, England’) and city (id, name, country) — present for property and popular-place items (the city they sit in); for a city item the suggestion itself is the city and its id is the Hostelworld city id. Take a ‘city’ item’s id to look up that city’s properties.
Authorizations
API token from the dashboard