GroundsocialDocs

API · Google

GET /google/hotels/info

One Google Hotels listing: ratings by category, rate, times, description.

RequestGET /v1/google/hotels/info
Operation idgoogle.hotels.info
Cost2 credits, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

One Google Hotels listing: ratings by category, rate, times, description.

Query parameters

NameTypeRequiredDescription
hotel_identifierstringyesExample: ChcI7cXzlLvj7PteGgsvZy8xdG5ncjYzcxAB.
languagestringnoInterface language code (Google’s hl), default en. Example: de.
countrystringnoTwo-letter country (Google’s gl), default us. Example: gb.
currencystringno

Responses

StatusMeaningSchema
200The hotel.
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404No Google Maps place matches that reference.Error
429Too many requests. Wait for Retry-After seconds.Error
503Google is temporarily unavailable. Retryable; nothing was charged.Error

Errors use one shape everywhere; see Errors for every code and what to do.