100 free credits. No credit card required. Get a key

Google Hotels search API

Hotels for a place on Google Hotels with class, rating, review count, the lead nightly rate (and with taxes) for your dates, coordinates, check-in times, description and website.

GET /v1/google/hotels/searchBeta1 credit per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/google/hotels/search?keyword=hotels%20in%20Paris&check_in=2027-01-10&check_out=2027-01-12",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 1 credit
{
"query": "hotels in Paris from January 10 to January 12",
"hotels": [
{
"name": "Hotel Saint-Germain",
"data_id": "0x47e671d5afcef46f:0xe2215c19d1c857db",
"hotel_id": "ChgI26-hjp2D15DiARoLL2cvMXRjeTNtYmoQAQ",
"coordinates": {
"lat": 48.85476750000001,
"lng": 2.3241674
},
"hotel_class": "4-star tourist hotel",
"stars": 4,
"rating": 4.3,
"reviews_count": 336,
"currency": "USD",
"check_in_date": "2026-01-10",
"check_out_date": "2026-01-12",
"check_in_time": "3:00 PM",
"check_out_time": "12:00 PM",
"description": "Refined rooms in an upscale 17th-century mansion with a bar, plus a free breakfast buffet & Wi-Fi.",
"website": "https://www.hotel-saint-germain.fr/",
"thumbnail": "https://lh3.googleusercontent.com/grass-cs/AABkmLdfVXJm11ADk1O34hwooBTF_yp9VMqKoNqfNMsFo4wRXUTbtb8Uu4sefLNd8fuiQX5g9vI5i…",
"category_ratings": [
{
"category": 4,
"rating": "4.1"
},
{
"category": 1,
"rating": "5.0"
},
"… 3 more"
],
"link": "https://www.google.com/travel/hotels/entity/ChgI26-hjp2D15DiARoLL2cvMXRjeTNtYmoQAQ"
},
{
"name": "Hotel Pont Royal",
"data_id": "0x47e66e2a00fc319f:0xb92848db5565f08",
"hotel_id": "ChcIiL7ZqtuRockLGgsvZy8xMjJydnRucBAB",
"coordinates": {
"lat": 48.8566864,
"lng": 2.327746
},
"hotel_class": "5-star tourist hotel",
"stars": 5,
"rating": 4.5,
"reviews_count": 646,
"currency": "USD",
"check_in_date": "2026-01-10",
"check_out_date": "2026-01-12",
"check_in_time": "3:00 PM",
"check_out_time": "12:00 PM",
"description": "Elegant lodging with an upscale restaurant & a wood-paneled bar, plus an exercise room & a garden.",
"website": "http://www.hotel-pont-royal.com/",
"thumbnail": "https://lh3.googleusercontent.com/grass-cs/AABkmLd9MJ1z7UK7YLrkER0sR0p_cybfzvKxL1pzC5eAHCa7dJHmItqiKhd1RKVQKBRaE0z_HNfjk…",
"category_ratings": [
{
"category": 4,
"rating": "4.6"
},
{
"category": 1,
"rating": "5.0"
},
"… 3 more"
],
"link": "https://www.google.com/travel/hotels/entity/ChcIiL7ZqtuRockLGgsvZy8xMjJydnRucBAB"
},
"… 16 more"
]
}

Parameters

NameTypeDescription
keywordquery · requiredstringExample: hotels in Paris.
location_namequerystring
languagequerystringInterface language code (Google’s hl), default en. Example: de.
countryquerystringTwo-letter country (Google’s gl), default us. Example: gb.
currencyquerystringDefault USD.
check_inquerystring
check_outquerystring
Status codes
StatusMeaning
200Hotels.
400Invalid input. Nothing was charged.
401Missing or invalid API key.
402Not enough credits, a spend cap was reached, or payment is required.
403The target is private, or the account is suspended.
404No Google Maps place matches that reference.
429Too many requests. Wait for Retry-After seconds.
503Google is temporarily unavailable. Retryable; nothing was charged.

Every error has code, message, hint and retryable. All error codes

Questions

Which currency?

Pass currency (default USD).

Google is a trademark of Google LLC. We are not affiliated with or endorsed by Google.