Travel: Hotels
The google_travel_hotels
data source is designed to retrieve Google Travel service's hotel search results.
To ensure optimal utilization of this service, include the "render": "html"
parameter in your request.
Query parameters
- required parameter
NOTE: "geo_location": "United States"
and other wide-area locations are not supported. Use city-level geo_location
, e.g., Seattle,Washington,United States
Code examples
In this example, we make a request to retrieve the 2
nd results page for hotel availability for 2
adult guests between 2023-10-01
and 2023-10-10
for 2
to 4
-star hotels in Paris from google.com
.
The example above uses the Realtime integration method. If you would like to use some other integration method in your query (e.g. Push-Pull or Proxy Endpoint), refer to the integration methods section.
Output example
HTML example
Last updated