Hotels
Hotels for a place with Google's prices for your dates: nightly and total price, rating, star class, amenities and location.
Try it in the dashboard 100 free credits when you sign up, no card.
GET/v1/google/hotels
Costs 1 credit per request. Only requests that return data are charged.
Parameters
| Name | Type | Description |
|---|---|---|
qrequired |
string | What you would type into Google Hotels, up to 100 characters: "hotels in Paris", "hostels in Amsterdam", "hotels near Times Square". |
checkInoptional |
string | Check-in date, written YYYY-MM-DD. Without it the prices are for a check-in 7 days from today. |
nightsoptional |
integer | Length of the stay in nights. Default: 1. From 1 to 30. |
adultsoptional |
integer | How many adults the prices are for. Default: 2. From 1 to 6. |
currencyoptional |
string | Three-letter code of the currency for every price. One of: USD, EUR, GBP, CAD, AUD, NZD, CHF, JPY, CNY, HKD, SGD, INR, KRW, THB, IDR, MYR, PHP, VND, TWD, AED, SAR, QAR, ILS, TRY, ZAR, EGP, MAD, BRL, MXN, ARS, CLP, COP, PEN, SEK, NOK, DKK, PLN, CZK, HUF, RON, BGN, ISK, UAH. Default: USD. |
limitoptional |
integer | How many hotels to return, in Google's order. Default: 10. From 1 to 20. |
Example request
curl "https://pipefetch.com/v1/google/hotels?q=hotels+in+Paris&limit=6" \
-H "x-api-key: YOUR_API_KEY"const res = await fetch('https://pipefetch.com/v1/google/hotels?q=hotels+in+Paris&limit=6', {
headers: { 'x-api-key': process.env.PIPEFETCH_API_KEY },
});
const { data, credits } = await res.json();import os, requests
res = requests.get(
"https://pipefetch.com/v1/google/hotels",
params={"q": "hotels in Paris", "limit": 6},
headers={"x-api-key": os.environ["PIPEFETCH_API_KEY"]},
)
data = res.json()["data"]Example response
A real answer to the request above. Long texts and lists are shortened here, and the people who wrote comments, reviews or posts are replaced by a stand-in.
{
"data": {
"search": {
"query": "hotels in Paris",
"location": "Paris",
"checkIn": "2026-11-26",
"checkOut": "2026-11-27",
"nights": 1,
"adults": 2,
"currency": "USD"
},
"hotels": [
{
"position": 1,
"id": "ChoI6oPwtYbvqOGaARoNL2cvMTFnZ3MxdmRtcxAB",
"name": "Clermont Hotel",
"url": "https://www.google.com/travel/hotels/entity/ChoI6oPwtYbvqOGaARoNL2cvMTFnZ3MxdmRtcxAB?hl=en&gl=us&ts=CAESCgoCCAMKAggDEAAaIAoCGgASGhIUCgcI6g8QCxgaEgcI6g…",
"category": "Hotel",
"hotelClass": null,
"hotelClassText": null,
"rating": 3.7,
"reviewCount": 367,
"ratingHistogram": {
"1": 63,
"2": 23,
"3": 42,
"4": 85,
"5": 154
},
"reviewTopics": [
{
"topic": "Bar or lounge",
"mentionCount": 17,
"positiveCount": 14,
"negativeCount": 2
},
{
"topic": "Nightlife",
"mentionCount": 5,
"positiveCount": 2,
"negativeCount": 3
}
],
"pricePerNight": 82,
"pricePerNightText": "$82",
"totalPrice": 103,
"totalPriceBeforeTaxes": 81.87,
"taxesAndFees": 21.5,
"deal": null,
"description": "Simple rooms in a modest budget hotel offering a casual restaurant, a lively bar & free Wi-Fi.",
"amenities": [
"Paid breakfast",
"Free Wi-Fi"
],
"checkInTime": "2:00 PM",
"checkOutTime": "11:00 AM",
"website": "https://www.grandhoteldeclermont.fr/",
"countryCode": "FR",
"latitude": 48.8846239,
"longitude": 2.3365236,
"googleMapsUrl": "https://www.google.com/maps?cid=9774673335484256821",
"nearbyPlaces": [
{
"name": "Moulin Rouge",
"type": "Top sight",
"travelTimes": [
"6 min"
]
},
{
"name": "Pigalle",
"type": "Subway",
"travelTimes": [
"5 min"
]
}
],
"thumbnailUrl": "https://lh3.googleusercontent.com/grass-cs/AABkmLc1Jt1x5uA1tvhdzosKotqd0jRCgNF3eF4UmD4vsi0tECAOwJlYrNOiXWQiWVAyjEHy8eq6bOADks3EQE0v3qjBjCPKYuLAbElNseQ…",
"images": [
"https://lh3.googleusercontent.com/grass-cs/AABkmLc1Jt1x5uA1tvhdzosKotqd0jRCgNF3eF4UmD4vsi0tECAOwJlYrNOiXWQiWVAyjEHy8eq6bOADks3EQE0v3qjBjCPKYuLAbElNseQ…",
"https://lh3.googleusercontent.com/grass-cs/AABkmLdJA1GvjZ7_shLlcEDSvUxrEYGTJGKiGEzoTvnKuNuxQ-UqFRfKwHfOlva4wGGYh6bArIxqWTuXCMs0zGRkjgi-5qM3Zc7yYQkkZLX…"
]
},
{
"position": 2,
"id": "ChkI1N6v0cC4pfmpARoML2cvMTJxNHhyNHh0EAE",
"name": "Novotel Suites Paris Stade de France",
"url": "https://www.google.com/travel/hotels/entity/ChkI1N6v0cC4pfmpARoML2cvMTJxNHhyNHh0EAE?hl=en&gl=us&ts=CAESCgoCCAMKAggDEAAaIAoCGgASGhIUCgcI6g8QCxgaEgcI6g8…",
"category": "Hotel",
"hotelClass": 4,
"hotelClassText": "4-star tourist hotel",
"rating": 4.3,
"reviewCount": 1445,
"ratingHistogram": {
"1": 69,
"2": 46,
"3": 133,
"4": 376,
"5": 821
},
"reviewTopics": [
{
"topic": "Property",
"mentionCount": 81,
"positiveCount": 63,
"negativeCount": 15
},
{
"topic": "Service",
"mentionCount": 70,
"positiveCount": 53,
"negativeCount": 14
}
],
"pricePerNight": 101,
"pricePerNightText": "$101",
"totalPrice": 109,
"totalPriceBeforeTaxes": 83.2,
"taxesAndFees": 25.83,
"deal": "17% less than usual",
"description": "Contemporary all-suite lodging with Wi-Fi, a bar & a 24/7 pantry, plus parking.",
"amenities": [
"Paid breakfast",
"Free Wi-Fi"
],
"checkInTime": "4:00 PM",
"checkOutTime": "12:00 PM",
"website": "https://all.accor.com/lien_externe.svlt?goto=fiche_hotel&code_hotel=3325&merchantid=seo-maps-FR-3325&sourceid=aw-cen&utm_medium=seo%20maps&utm_source=…",
"countryCode": "FR",
"latitude": 48.923648199999995,
"longitude": 2.3629501000000004,
"googleMapsUrl": "https://www.google.com/maps?cid=8359245160421597379",
"nearbyPlaces": [
{
"name": "Jesse Owens",
"type": "Bus",
"travelTimes": [
"2 min"
]
},
{
"name": "Aéroport de Paris-Charles de Gaulle",
"type": "Airport",
"travelTimes": [
"20 min by taxi",
"37 min by public transport"
]
}
],
"thumbnailUrl": "https://lh3.googleusercontent.com/grass-cs/AABkmLe8tjVVq69PGTj1s9a6EgNU3B_PhH1P5zIpu3cED9qoIG9y9zkgd7Woddstts1VLrjKcg0rYGZryDoKauXy6Lq2WOVsfyZcG1N899z…",
"images": [
"https://lh3.googleusercontent.com/grass-cs/AABkmLe8tjVVq69PGTj1s9a6EgNU3B_PhH1P5zIpu3cED9qoIG9y9zkgd7Woddstts1VLrjKcg0rYGZryDoKauXy6Lq2WOVsfyZcG1N899z…",
"https://lh3.googleusercontent.com/grass-cs/AABkmLeuMJytACx5o8h83NgoXFinmnhn-AV1EA5LrK4KVXRaY57j4EsscCjVuWalA88yQbkyKEM0sa64UsbGSVcge61PMxSbkRSYY_LkETH…"
]
}
]
},
"credits": {
"used": 1,
"remaining": 99
}
}Good to know
- pricePerNight is the nightly price as Google displays it. totalPrice is the whole stay with taxes and fees, which totalPriceBeforeTaxes and taxesAndFees split.
- Without checkIn the prices are for a check-in 7 days from today. A check-in date that has passed is moved to tomorrow. search.checkIn and search.checkOut tell you the stay that was priced.
- One request returns up to 20 hotels. Prices are for adults: stays with children are not priced.
- Not included: the prices of the individual booking sites, and the hotel's address and phone number. website is the hotel's own site.
- A search Google Hotels finds no place or no hotels for answers 404 no_results and costs nothing.
Errors
Every error has the same shape, and none of them is charged. The full list is in the error reference.
Looking for an overview and use cases? See the Google Hotels API page.