---
title: "GET /google-hotels/autocomplete"
method: GET
path: "/google-hotels/autocomplete"
tags: ["Google Hotels"]
---

# GET /google-hotels/autocomplete

`GET /google-hotels/autocomplete`

## Request

- Base URL: `https://scrappa.co/api`
- URL: `https://scrappa.co/api/google-hotels/autocomplete`
- Auth: API key in header `X-API-KEY`

## Query parameters

- `q` string, required
- `hl` string, nullable
- `gl` string, nullable
- `currency` string, nullable
- `type` 'location' | 'hotel' | 'all' | 'null', nullable

## Response `200`

- string

## Other responses

- `401`: Unauthorized - API key is missing or invalid
- `403`: The upstream service is temporarily unavailable. Please retry shortly.
- `422`: The q, hl, gl, currency, or type query parameter failed validation before the Google Hotels autocomplete request ran.
- `429`: The upstream service is temporarily unavailable. Please retry shortly.
- `503`: The upstream service is temporarily unavailable. Please retry shortly.

---

[API](https://skmtc.dev/scrappa/apis/scrappa-api-documentation.md) · [All operations](https://skmtc.dev/scrappa/apis/scrappa-api-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/scrappa/apis/scrappa-api-documentation/revisions/1e1aa78ff103?raw)
