Google Hotels Autocomplete
What the Google Hotels search box suggests for some typed letters, answered as the document with `suggestions`: five at most, places (`destination`) and hotels (`hotel`).
What the Google Hotels search box suggests for some typed letters, answered as the document with
suggestions: five at most, places (destination) and hotels (hotel). A hotel carries the
property_token that google_hotels_property takes. Not answered: the plain query suggestions
the box also shows, kgmid, thumbnail.
X-API-Key<token>Your API key.
cancel_token?stringA name you make up for this request (a UUID is fine), so you can later GET /v1/cancel
with it. Only you know it, so only you can cancel. Use a new one for every request, retries included: a cancelled token stays cancelled for a few minutes.
1 <= length <= 128q*stringThe letters typed.
1 <= length <= 200hl?stringLanguage code.
"en"The suggestions, as the document. When the page could not be parsed, the usual envelope.
application/json- response
The first three keys of every parsed 200 (the answer is the document itself, no success/data
envelope): what the search was (search_metadata), what it asked (search_parameters), the
parser's own search_information ({} when it has none). The engine's blocks follow, at the same
level. An engine whose answer is a list puts it under results.
search_metadata*search_parameters*The request's own fields as sent, engine first, without cancel_token.
search_information*The parser's own, e.g. yelp_search's; otherwise {}.
suggestions?array<>items <= 5[key: string]?anycurl -X GET 'https://api.justserp.com/v1/google/hotels/autocomplete?q=hilton+hawaiian'{ "search_metadata": { "id": "string", "status": "Success", "created_at": "string", "request_url": "string", "html_url": "string" }, "search_parameters": {}, "search_information": {}, "suggestions": [ { "type": "hotel", "ludocid": "string", "property_token": "string", "title": "string", "subtitle": "string", "data_id": "string" } ]}Google Hotels Property GET
One hotel's page on Google Hotels, answered as the document with `property`: address, phone, class, rating, price, nearby places and what the hotel says about itself.
Google Travel Explore GET
The destinations on Google's Explore map for a departure place, each with the cheapest flight and the dates it is for, answered as the document with `destinations` (47 to 55 places seen).