API · Google
GET /google/hotels/info
One Google Hotels listing: ratings by category, rate, times, description.
| Request | GET /v1/google/hotels/info |
| Operation id | google.hotels.info |
| Cost | 2 credits, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
One Google Hotels listing: ratings by category, rate, times, description.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
hotel_identifier | string | yes | Example: ChcI7cXzlLvj7PteGgsvZy8xdG5ncjYzcxAB. |
language | string | no | Interface language code (Google’s hl), default en. Example: de. |
country | string | no | Two-letter country (Google’s gl), default us. Example: gb. |
currency | string | no |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | The hotel. | |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | No Google Maps place matches that reference. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | Google is temporarily unavailable. Retryable; nothing was charged. | Error |
Errors use one shape everywhere; see Errors for every code and what to do.