Effortlessly scrape hotel listings and pricing data from Google Hotels in real time, with location targeting and no captchas.
To enable this engine, set the engine=google_hotels parameter.
The Google Hotels API is built to extract structured hotel data directly from Google’s hotel search results. Whether you're looking for availability, pricing, ratings, or location-specific listings, this engine returns a detailed JSON response that reflects real-time results. As with other engines, you only need to send a simple GET request including your query parameters, and the API will return the relevant data in a clean and accessible format.
Google Hotels Search Page
Google Hotels API Integration Examples
We will use the following URL as an example for this request:
Ready to Use Google Hotels Scraping Scripts
Google Hotels Specific Parameters
#1: Query Parameter
Parameter
Type
Description
qrequired
string
This parameter is required when type parameter is set to search.
The keywords used to search on Google Hotels.
pid
string
This parameter is required when type parameter is set to place.
The pid value of the hotel. Can be found sending an API request using the type=search parameter.
#2: Request Customization Parameters
Parameter
Type
Description
typerequired
string
The type of search. Possible values are search (to look for hotels in a certain area) and place (to search prices for a specific hotel).
check_in_daterequired
string
The check-in date, must have the YYYY-MM-DD format.
check_out_daterequired
string
The check-in date, must have the YYYY-MM-DD format.
occupancy
string
The number of guests that will occupy a room. Supported values are numbers (to describe the number of adults), or comma-separated numbers (to describe the number of adults and children, along with their age).
Examples:
occupancy=2 (default) means 2 adults
occupancy=1,2 means 1 adult and 1 child (2 years old)
occupancy=1,2,2 means 1 adult and 2 child (each 2 years old)
free_cancellation
string
Whether the offer has free cancellation. Can be 1 or 0 (default).
accomodation_type
string
This parameter is available only when type parameter is set to search.
The type of accomodation. Can be hotels (default) or vacation_rentals.
currency
string
The currency used to show the prices (3-letter code).
#3: Device and Geolocation Parameters
Parameter
Type
Description
device
string
The device used for your Google Hotels search. Possible values are desktop (default), mobile and tablet.
curl --request GET --url "https://serpapi.webscrapingapi.com/v2?api_key=<YOUR_API_KEY>&engine=google_hotels&type=search&q=hotels+in+cancun&check_in_date=2025-08-01&check_out_date=2025-08-03"
var client = new RestClient("https://serpapi.webscrapingapi.com/v2?api_key=<YOUR_API_KEY>&engine=google_hotels&type=search&q=hotels+in+cancun&check_in_date=2025-08-01&check_out_date=2025-08-03");
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);