GET
Google Travel Resolve API
Resolve a named hotel once, then reuse its durable token across Google Travel.
Overview
Turn a hotel name and city into Google Travel entity_token candidates for property-level requests.
Contract note
Pick the best place_name match when Google returns multiple candidates. Cache its entity_token for Summary, Info, Photos, Prices, Similar, and Nearby calls.
Endpoint URL
GET https://api.stayapi.com/v1/google_travel/resolve
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| query | string | Required | Hotel name plus city, for example Barceló Fortina Sliema Malta. |
| hl | string | Optional | UI language code. Default: en. |
| gl | string | Optional | Region or country code. Default: us. |
Response schema
| Field | Type | Description |
|---|---|---|
| success | boolean | Whether the resolver completed successfully. |
| query | string | The submitted hotel query. |
| results | array | Candidate matches with place_name and the entity_token used by property endpoints. |
Identifier workflow
Resolve once, reuse the token
Resolve a hotel name or run Search to get an entity_token. Cache that token and use it for Summary, Info, Photos, Prices, Similar, and Nearby requests.