APIs / Google Hotels / Autocomplete

Google Hotels: Autocomplete

Autocomplete from Google Hotels as JSON. 1 credit per successful call.

GET /v1/google-hotels/autocomplete

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
qstringRequiredUp to 100 characters
hlstringOptionalUp to 2 characters
glstringOptionalUp to 2 characters
currencystringOptionalUp to 3 characters
typestringOptionallocation, hotel, all

Example request

Google Hotels
GET/v1/google-hotels/autocomplete?q=Berlin
{
  "search_parameters": {
    "engine": "google_hotels_autocomplete",
    "q": "Berlin",
    "gl": "us",
    "hl": "en"
  },
  "suggestions": [
    {
      "position": 1,
      "value": "berlin hotels",
      "type": "location",
      "highlighted_words": [
        "hotels"
      ],
      "autocomplete_suggestion": "berlin hotels",
      "_google_hotels_link": "https:///api/google-hotels/search?q=berlin+hotels&check_in_date=2026-12-05&check_out_date=2026-12-06&adults=2&children=0&currency=USD&hl=en&gl=us"
    },
    {
      "position": 2,
      "value": "berlin hotels ohio",
      "type": "location",
      "highlighted_words": [
        "hotels ohio"
      ],
      "autocomplete_suggestion": "berlin hotels ohio",
      "_google_hotels_link": "https:///api/google-hotels/search?q=berlin+hotels+ohio&check_in_date=2026-12-05&check_out_date=2026-12-06&adults=2&children=0&currency=USD&hl=en&gl=us"
    },
    {
      "position": 3,
      "value": "berlin hotel md",
      "type": "location",
      "highlighted_words": [
        "hotel md"
      ],
      "autocomplete_suggestion": "berlin hotel md",
      "_google_hotels_link": "https:///api/google-hotels/search?q=2+N+Main+St%2C+Berlin%2C+MD&check_in_date=2026-12-05&check_out_date=2026-12-06&adults=2&children=0&currency=USD&hl=en&gl=us",
      "location": "2 N Main St, Berlin, MD"
    }
  ],
  "response_time_ms": 173
}
200 OKJSONX-Credits-Used: 1
Recorded 12 Nov 2026 and shortened.

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.

Response fields

The response has these 3 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

FieldType
search_parametersobject
suggestionsobject[]
response_time_msinteger