Introduction
Google Hotels is the best place on the internet to find information about hotels and vacation properties, and the best way to get this information is by using SerpApi. With SerpApi you can easily retrieve lots of data about these properties, like address
, phone
, gps_coordinates
, check_in_time
, check_out_time
, rate_per_night
, total_rate
, featured_prices
, hotel_class
, images
, overall_rating
, reviews
, ratings
, reviews_breakdown
, ads
and more!
Another great benefit when querying for hotels using SerpApi is the ability to use filters to get more specific results, for instance, gl
(country), hl
(language), check_in_date
, check_out_date
, hotel_class
, free_cancellation
, special_offers
, eco_certified
, vacation_rentals
, bedrooms
, bathrooms
, plus additional filters.
What are the ways to get information from Google Hotels?
There are 3 main ways to retrieve results from Google Hotels:
1. Regular querying using Google Hotels API to get general Google Hotels results.
2. Using Google Hotels API along with property_token
to get full detailed information about a specific property.
3. Using Google Hotels Autocomplete API to see all autocomplete suggestions where you can get the property_token
and serpapi_google_hotels_link
for each suggestion.
1. Getting general results with Google Hotels API
This is the simplest way to use Google Hotels API. Check out our Playground feature to try it out for yourself.
To use Google Hotels API for general results, we must set engine
to "google_hotels", and provide a query using the parameter q
. For example: "Bali Resorts".
This will return results that are related to the query, such as ads
information displayed on Google Hotels, properties
and general details about each property, like property type
, name
, link
, property_token
, serpapi_property_details_link
, gps_coordinates
, check_in_time
, check_out_time
, rate_per_night
, total_rate
, prices
, nearby_places
, images
, overall_rating
, reviews
, location_rating
, amenities
, and essential_info
.

q
="Bali Resorts".2. Getting full detailed information about a specific property using Google Hotels API with property_token
We can also return the full detailed information about a specific property by using the parameter property_token
with the Google Hotels API query, alongside the engine
parameter set to "google_hotels".
In addition to all details returned with general results, the property details returned in the response also includes typical_price_range
, lowest
and highest
prices, link
, and rooms
as well.
Head to our Playground to see the full response.

property_token
="ChgIgJT4_7Pr5avuARoLL2cvMXRmZDl3OWcQAQ".3. Finding Hotels using the Google Hotels Autocomplete API
Not finding the hotels you're looking for using the general results? Not to worry, because SerpApi also offers an API to get all autocomplete suggestions for queries, and provides the property_token
and serpapi_google_hotels_link
for all properties returned in the autocomplete, as well as other information, such as value
, type
, location
, thumbnail
, highlighted_words
, autocomplete_suggestion
, kgmid
, data_cid
and serpapi_link
.
To use it, we just need to set engine
to "google_hotels_autocomplete" and provide a query using the parameter q
, such as "New York".

How to start leveraging the data from Google Hotels using SerpApi?
We just need to create a SerpApi account in order to use nearly 100 APIs offered by SerpApi, including Google Hotels API, Google Hotels Autocomplete API and several more. Also, by creating a FREE account, SerpApi equips you with 250 free searches per month.
Let's create a free SerpApi account to take advantage of all services offered by SerpApi.
Setting Up a SerpApi Account
Let's head to the sign-up page to create an account. Provide a valid email and a valid phone number in order to access your account's dashboard.

Integrating SerpApi with your application
Exploring SerpApi's vast diversity of Search APIs using Playground is a lot of fun, but to get the most out of SerpApi's services it's best to use the results from Search Engines directly in your application programmatically.
In order to send requests to SerpApi, we will need your unique secret API key
that can be copied right from your dashboard:

Your API key
is unique to you and you should never share it anywhere to avoid other people using your account, but in case you accidentally expose your API key
, you can easily generate a new one from the Manage API key page (if you generate a new API key
, don't forget to update your application code with the newly generated API key
).
Check out the documentation for SerpApi libraries based on the programming language you use:
To demonstrate how simple it is to use SerpApi in your code, here's all you'd need to do to retrieve Google Hotels results from your application using the Ruby language, as you can also see in SerpApi's Google Hotels API's documentation page.
(Make sure to adjust the parameters check_in_date
and check_out_date
to dates that are in the future from today)
require 'google_search_results'
params = {
engine: "google_hotels",
q: "Bali Resorts",
check_in_date: "2025-10-31",
check_out_date: "2025-11-10",
api_key: "YOUR_SECRET_API_KEY"
}
search = GoogleSearch.new(params)
results = search.get_hash
To use Google Hotels Autocomplete API is even simpler. Check the documentation for a list of all parameters available. Here's everything you'd need to retrieve Google Hotels Autocompletes results from your application using the Ruby language.
require 'google_search_results'
params = {
engine: "google_hotels_autocomplete",
q: "New York",
currency: "USD",
api_key: "YOUR_SECRET_API_KEY"
}
search = GoogleSearch.new(params)
results = search.get_hash
That's all there is to it. Integrating SerpApi is extremely simple and straightforward. You can explore how to use all other Search Engine APIs offered by SerpApi in our documentation page, and play around with each of them using SerpApi's Playground feature.
Have fun! 😃