Get Suggestions API

The Get Suggestions API returns matching suggestions for user-inputted terms, offering a balanced mix of different location types such as countries, states, cities, regions, airports, points of interest, and hotels tailored to the specified filters and preferences.

  • For locations of type Airport, PointOfInterest, or TrainStation, defined by a single geo-coordinate, perform a search based on the circularRegion parameter in the Zentrumhub's Hotel API.
  • For locations of type Hotel, use the referenceId field as the hotelId in the NEXUS Hotel API request.
  • For locations of type City, MultiCity, Region, or Neighborhood, which are defined by geographical boundaries, use the geocodes available in the Get Location Details API. First, call the Get Location Details API to retrieve these geocodes, then initiate the appropriate search on ZentrumHub's Hotel API.

This ensures precise and relevant search results based on the user's input and the specific characteristics of each location type.

Get Suggestions API Details:
HTTP: GET
Endpoint:{baseEndpoint}/api/locations/locationcontent/autosuggest?term={search-keyword}