Google
Google hotels API
Search Google Hotels with prices, ratings and Google’s own filters. Call the Google hotels API for JSON. 1 credit per call.
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, incrementpage. An empty data.results indicates the last page. The maximum value of page is 10.
Related methods
- Tripadvisor search: Accepts a hotel’s
nameasquery. Searches hotels, restaurants and attractions.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Where to stay, like Zanzibar or hotels near Times Square.
Required string length:
1 - 200Defaults 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])))$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])))$Required range:
1 <= x <= 12One age per child, like [7, 12].
Maximum array length:
8Required range:
0 <= x <= 17ISO 4217 currency code, e.g. USD.
Pattern:
^[A-Z]{3}$Per night.
Required range:
x <= 9007199254740991Per night.
Required range:
x <= 9007199254740991Google Hotels' own Guest rating.
Available options:
3.5+, 4+, 4.5+ Google Hotels' own Hotel class, as star counts like [4, 5].
Maximum array length:
4Required range:
2 <= x <= 5Google 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 Google Hotels' own Property type.
Available options:
beachHotels, boutiqueHotels, hostels, inns, motels, resorts, spaHotels, bedAndBreakfasts, other, apartmentHotels Available options:
relevance, lowestPrice, highestRating, mostReviewed Page number, starting at 1.
Required range:
1 <= x <= 10