Actions37
- Search Actions
- Amazon Search
- Baidu Search
- Bing Images
- Bing Search
- DuckDuckGo Search
- eBay Search
- Facebook Profile
- Google AI Mode
- Google AI Overview
- Google Autocomplete
- Google Finance
- Google Flights
- Google Hotels
- Google Images
- Google Images Light
- Google Immersive Product
- Google Jobs
- Google Lens
- Google Light
- Google Local
- Google Maps
- Google Maps Directions
- Google Maps Reviews
- Google News
- Google News Light
- Google Play Games
- Google Play Product
- Google Play Store
- Google Product
- Google Scholar
- Google Search
- Google Shopping
- Google Travel Explore
- Google Trends
- Google Trends Trending Now
- Google Videos
- YouTube Search
Search → Google Hotels
AI-generatedOverview
This node performs a Google Hotels search using SerpApi's official API. It allows users to search for hotels based on various parameters such as search query, check-in and check-out dates, number of adults and children, country, language, currency, sorting options, price range, property types, amenities, ratings, brands, hotel class, and more. It supports advanced filtering options like free cancellation, special offers, eco certification, vacation rentals, and pagination through next page tokens. This node is useful for travel agencies, hotel booking platforms, or any application needing live hotel search data from Google Hotels.
Use Case Examples
- Searching for hotels in Bali with specific check-in and check-out dates, filtering by price range and amenities.
- Retrieving hotel details using a property token to get comprehensive information like address, phone, prices, and nearby places.
- Sorting hotel search results by highest rating or most reviewed to find the best options.
Properties
| Name | Meaning |
|---|---|
| Search Query (q) | Defines the search query for Google Hotels, e.g., location or hotel name. |
| Check-in Date (check_in_date) | Defines the check-in date in YYYY-MM-DD format. |
| Check-out Date (check_out_date) | Defines the check-out date in YYYY-MM-DD format. |
| Additional Fields | Collection of optional parameters to refine the search such as country, language, currency, number of adults and children, sorting, price range, property types, amenities, ratings, brands, hotel class, free cancellation, special offers, eco certification, vacation rentals, bedrooms, bathrooms, pagination tokens, JSON restrictor, caching, async mode, zero trace mode, and output format. |
Output
JSON
organic_results- Array of hotel search results with detailed information.property_details- Detailed information about a specific property when property_token is used.pagination- Information about pagination and next page tokens.search_metadata- Metadata about the search query and parameters.
Dependencies
- SerpApi API key credential
Troubleshooting
- Ensure all required parameters like search query, check-in and check-out dates are provided and correctly formatted.
- Check API key credential is valid and has sufficient quota for SerpApi requests.
- If using pagination, verify the next_page_token is valid and not expired.
- For async searches, ensure to use the Search Archive API to retrieve results later.
- If SSL issues occur, consider enabling the option to ignore SSL certificate validation or configure a proper proxy.
Links
- SerpApi Google Hotels API Documentation - Official documentation for Google Hotels search API by SerpApi.