GET
Google Travel Nearby Places API
Pull the points of interest Google Travel associates with one hotel.
Overview
Get attractions, transit, airports, and restaurants near a hotel with ratings, coordinates, and travel times.
Endpoint URL
GET https://api.stayapi.com/v1/google_travel/nearby
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| entity_token | string | Required | Durable Google Travel token returned by Resolve or Search. Use this token, not hotel_id, for property drilldowns. |
| hl | string | Optional | UI language code. Default: en. |
| gl | string | Optional | Region or country code. Default: us. |
Response schema
| Field | Type | Description |
|---|---|---|
| groups | array | Points of interest grouped by category and display label. |
| groups[].pois | array | Places with rating, review count, description, coordinates, and drive or walk time. |
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.