Google Hotels Autocomplete API

Google Hotels Autocomplete API allows you to get hotel suggestions for a keyword. The API is accessed through the following endpoint: /search?engine=google_hotels_autocomplete.

A user may query the following: https://serpapi.com/search?engine=google_hotels_autocomplete utilizing a GET request. Head to the playground for a live and interactive demo.

API Parameters

Search Query

q

Required

Parameter defines the search query. A query that would be used to provide completion options.

Localization

gl

Optional

Parameter defines the country to use for the Google Hotels Autocomplete search. It's a two-letter country code. (e.g., us for the United States, uk for United Kingdom, or fr for France) Head to the Google countries page for a full list of supported Google countries.

hl

Optional

Parameter defines the language to use for the Google Hotels Autocomplete search. It's a two-letter language code. (e.g., en for English, es for Spanish, or fr for French). Head to the Google languages page for a full list of supported Google languages.

currency

Optional

Parameter defines the currency used in serpapi_google_hotels_link. Default value is USD. Head to the Google Travel Currencies page for a full list of supported currency codes.

Serpapi Parameters

engine

Required

Set parameter to google_hotels_autocomplete to use the Google Hotels Autocomplete API engine.

no_cache

Optional

Parameter will force SerpApi to fetch the Google Hotels Autocomplete results even if a cached version is already present. A cache is served only if the query and all parameters are exactly the same. Cache expires after 1h. Cached searches are free, and are not counted towards your searches per month. It can be set to false (default) to allow results from the cache, or true to disallow results from the cache. no_cache and async parameters should not be used together.

async

Optional

Parameter defines the way you want to submit your search to SerpApi. It can be set to false (default) to open an HTTP connection and keep it open until you got your search results, or true to just submit your search to SerpApi and retrieve them later. In this case, you'll need to use our Searches Archive API to retrieve your results. async and no_cache parameters should not be used together.

zero_trace

Optional

Enterprise only. Parameter enables ZeroTrace mode. It can be set to false (default) or true. Enable this mode to skip storing search parameters, search files, and search metadata on our servers. This may make debugging more difficult.

api_key

Required

Parameter defines the SerpApi private key to use.

output

Optional

Parameter defines the final output you want. It can be set to json (default) to get a structured JSON of the results, or html to get the raw html retrieved.

API Results

JSON Results

JSON output includes structured data for Suggestions.

A search status is accessible through search_metadata.status. It flows this way: Processing -> Success || Error. If a search has failed, error will contain an error message. search_metadata.id is the search ID inside SerpApi.

HTML Results

This API does not have html response, just a text. search_metadata.prettify_html_file contains prettified version of result. It is displayed in playground.

API Examples

Example with q: day inn

Example with q: day inn

JSON Example

{
  ...
  "search_parameters": {
    "engine": "google_hotels_autocomplete",
    "q": "day inn"
  },
  "suggestions": [
    {
      "position": 1,
      "value": "Days Inn",
      "type": "accommodation",
      "thumbnail": "https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcRdCsoF2mNt1Bgzy5bZgkeSItkGy2pa4KLGJ9eP-3jzKoRWLor-",
      "autocomplete_suggestion": "day inn",
      "kgmid": "/m/04558f",
      "serpapi_google_hotels_link": "https://serpapi.com/search.json?adults=2&check_in_date=2026-07-17&check_out_date=2026-07-18&children=0&currency=USD&engine=google_hotels&gl=us&hl=en",
      "serpapi_link": "https://serpapi.com/search.json?device=desktop&engine=google&google_domain=google.com&kgmid=%2Fm%2F04558f&q=Days+Inn"
    },
    ...
    {
      "position": 4,
      "value": "Days Inn by Wyndham Washington DC/Connecticut Avenue",
      "type": "accommodation",
      "location": "4400 Connecticut Ave NW, Washington",
      "thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRGMMa8_GQe-HgeegrfQuGBnok24ALfKcDoFdEjtHU2INv7eCcI",
      "highlighted_words": [
        "washington",
        "dc"
      ],
      "autocomplete_suggestion": "day inn washington dc",
      "kgmid": "/g/1hf8_s33q",
      "serpapi_google_hotels_link": "https://serpapi.com/search.json?adults=2&check_in_date=2026-07-17&check_out_date=2026-07-18&children=0&currency=USD&engine=google_hotels&gl=us&hl=en&q=4400+Connecticut+Ave+NW%2C+Washington",
      "serpapi_link": "https://serpapi.com/search.json?device=desktop&engine=google&google_domain=google.com&kgmid=%2Fg%2F1hf8_s33q&q=Days+Inn+by+Wyndham+Washington+DC%2FConnecticut+Avenue"
    },
    ...
    {
      "position": 6,
      "value": "day inn hotel near me",
      "type": "accommodation",
      "highlighted_words": [
        "hotel",
        "near",
        "me"
      ],
      "autocomplete_suggestion": "day inn hotel near me",
      "serpapi_google_hotels_link": "https://serpapi.com/search.json?adults=2&check_in_date=2026-07-17&check_out_date=2026-07-18&children=0&currency=USD&engine=google_hotels&gl=us&hl=en&q=day+inn+hotel+near+me"
    },
    ...
  ]
}

JSON structure overview

{
  "suggestions": [
    {
      "position": "Integer - Position of the suggestion",
      "value": "String - Suggestion value",
      "type": "String - Suggestion type",
      "location": "String - Suggestion location address",
      "thumbnail": "String - Link to the displayed thumbnail of the suggestion",
      "highlighted_words": "Array - List of autocomplete suggestion highlighted words",
      "autocomplete_suggestion": "String - Full autocomplete suggestion",
      "kgmid": "String - Suggestion Knowledge Graph ID",
      "serpapi_google_hotels_link": "String - URL to the corresponding SerpApi Google Hotels search",
      "serpapi_link": "String - URL to the corresponding SerpApi search"
    },
    ...
  ]
}