Google Hotels icon

Google Hotels

Search hotels and vacation rentals, and get guest reviews, photo galleries, and autocomplete suggestions

Hotel → Get Autocomplete Suggestions

AI-generated

Summary

Fetches autocomplete suggestions for a full or partial query, returning one n8n item per suggestion. Hotel-name queries can include a property token for use with the node’s property photo or review operations.

Inputs

  • Search Query (required) — Full or partial text to complete.
  • Currency — Optional three-letter currency code for prices.
  • Country Code — Optional two-letter country code that sets the request’s locale.
  • Language Code — Optional two-letter language code for results.
  • Output — Choose Raw to return each suggestion unchanged, Selected Fields to keep chosen source fields, or Simplified (default) for suggestion text, category, location, property token, and position.
  • Fields to Include — When Output is Selected Fields, choose among suggestion, location, position, property_token, query, suggestion_type, value, and search_timestamp. The default selection is value, suggestion_type, and property_token.
  • Authentication — Choose Apify API key (default) or OAuth2 credentials.

Output shape

A list of n8n items, one per autocomplete suggestion.

Each item uses the selected output mode. The Simplified form maps source fields to suggestion, category, location, propertyToken, and position; Selected Fields retains the chosen source field names and omits fields absent from a suggestion.

Links

Discussion