Google Hotels
Description: Empower your agents to search for hotels using Arcade.
Author: Arcade
Code: GitHub
Auth: API Key
The Arcade Google Hotels toolkit lets you search for hotels with ease. Use this tool to build intelligent agents and applications that search for hotels worldwide.
Available Tools
| Tool Name | Description |
|---|---|
| SearchHotels | Retrieve hotel search results using the Google Hotels API. |
SearchHotels
Retrieve hotel search results using the Google Hotels API.
Parameters
location(string, required): Location to search for hotels, e.g., a city name, a state, etc.check_in_date(string, required): Check-in date in YYYY-MM-DD format.check_out_date(string, required): Check-out date in YYYY-MM-DD format.query(string, optional): Anything that would be used in a regular Google Hotels search.currency(string, optional): Currency code for prices. Defaults to ‘USD’.min_price(int, optional): Minimum price per night. Defaults to no minimum.max_price(int, optional): Maximum price per night. Defaults to no maximum.num_adults(int, optional): Number of adults per room. Defaults to 2.num_children(int, optional): Number of children per room. Defaults to 0.sort_by(enum (GoogleHotelsSortBy), optional): The sorting order of the results. Defaults to RELEVANCE.num_results(int, optional): Maximum number of results to return. Defaults to 5. Max 20.
Auth
The Arcade Google Hotels toolkit uses the SerpAPI to search for hotels from Google Hotels.
- Secret:
SERP_API_KEY: Your SerpAPI API key.
Setting the SERP_API_KEY secret is only required if you are self-hosting Arcade. If you’re using Arcade Cloud, the secret is already set for you. To manage your secrets, go to the Secrets page in the Arcade Dashboard.