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

Google Hotels listing API

One hotel from Google Hotels by its hotel_id: class, rating, category ratings, lead rate, check-in and check-out times, description and website.

GET /v1/google/hotels/infoBeta2 credits per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/google/hotels/info?hotel_identifier=ChcI7cXzlLvj7PteGgsvZy8xdG5ncjYzcxAB",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 2 credits
{
"hotel": {
"name": "414 Hotel New York Times Square",
"data_id": "0x89c25853d5430087:0x5ef7b31bb29ce2ed",
"hotel_id": "ChcI7cXzlLvj7PteGgsvZy8xdG5ncjYzcxAB",
"coordinates": {
"lat": 40.761192099999995,
"lng": -73.99181759999999
},
"hotel_class": "2-star hotel",
"stars": 2,
"rating": 3.9,
"reviews_count": 465,
"rate_per_night": "$78",
"rate_per_night_with_taxes": "$90",
"extracted_rate": 78,
"currency": "USD",
"check_in_date": "2026-11-30",
"check_out_date": "2026-12-01",
"check_in_time": "4:00 PM",
"check_out_time": "11:00 AM",
"description": "Boutique lodging boasting polished quarters, an inner garden & a communal kitchenette.",
"website": "https://414hotel.com/",
"thumbnail": "https://lh3.googleusercontent.com/grass-proxy/AIM7gW0A8WH3Vkcfnqw4GhuI9t26KgBFipbF_fmWdgayWYSmQzP9Yuwfdb__RVj-pUyxUCS5in…",
"category_ratings": [
{
"category": 4,
"rating": "4.9"
},
{
"category": 1,
"rating": "4.8"
},
"… 3 more"
],
"link": "https://www.google.com/travel/hotels/entity/ChcI7cXzlLvj7PteGgsvZy8xdG5ncjYzcxAB"
}
}

Parameters

NameTypeDescription
hotel_identifierquery · requiredstringExample: ChcI7cXzlLvj7PteGgsvZy8xdG5ncjYzcxAB.
languagequerystringInterface language code (Google’s hl), default en. Example: de.
countryquerystringTwo-letter country (Google’s gl), default us. Example: gb.
currencyquerystring
Status codes
StatusMeaning
200The hotel.
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

Where do I get hotel_identifier?

From hotel_id in google_hotels_search.

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