Skip to main content
POST
Search Google Hotels with prices, ratings and Google's own filters
Searches Google Hotels with prices, ratings and Google’s own filters.

Request

query is required.

Response

If successful, the response body contains the standard envelope. data.results[] contains the hotels, each with its price per night, total price, rating and amenities. The following example is a real response, truncated: each list shows one item and long strings are cut.
For every field, see the response schema on this page.

Optional parameters

Billing

Each successful request consumes 1 credit, regardless of the number of items returned. Requests that fail, or that return no items, are not billed.

Pagination

Results are paginated. To retrieve the next page, increment page. An empty data.results indicates the last page. The maximum value of page is 10.
  • Tripadvisor search: Accepts a hotel’s name as query. Searches hotels, restaurants and attractions.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
query
string
required

Where to stay, like Zanzibar or hotels near Times Square.

Required string length: 1 - 200
checkIn
string<date>

Defaults to tomorrow.

Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
checkOut
string<date>

Defaults to one night after checkIn.

Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
adults
integer
default:2
Required range: 1 <= x <= 12
childrenAges
integer[]

One age per child, like [7, 12].

Maximum array length: 8
Required range: 0 <= x <= 17
currency
string
default:USD

ISO 4217 currency code, e.g. USD.

Pattern: ^[A-Z]{3}$
minPrice
integer

Per night.

Required range: x <= 9007199254740991
maxPrice
integer

Per night.

Required range: x <= 9007199254740991
minRating
enum<string>

Google Hotels' own Guest rating.

Available options:
3.5+,
4+,
4.5+
hotelClass
integer[]

Google Hotels' own Hotel class, as star counts like [4, 5].

Maximum array length: 4
Required range: 2 <= x <= 5
amenities
enum<string>[]

Google Hotels' own Amenities. Every one must be offered.

Available options:
freeWifi,
freeBreakfast,
restaurant,
bar,
kidFriendly,
petFriendly,
freeParking,
parking,
evCharger,
roomService,
fitnessCenter,
spa,
pool,
indoorPool,
outdoorPool,
airConditioned,
wheelchairAccessible,
beachAccess,
allInclusiveAvailable
propertyTypes
enum<string>[]

Google Hotels' own Property type.

Available options:
beachHotels,
boutiqueHotels,
hostels,
inns,
motels,
resorts,
spaHotels,
bedAndBreakfasts,
other,
apartmentHotels
freeCancellation
boolean
default:false
specialOffers
boolean
default:false
sort
enum<string>
default:relevance
Available options:
relevance,
lowestPrice,
highestRating,
mostReviewed
page
integer
default:1

Page number, starting at 1.

Required range: 1 <= x <= 10

Response

The data, and the credits this call used.

success
any
required
data
object
required
creditsUsed
integer
required
requestId
string
required