ta_search_nearby
Find TripAdvisor locations near a point using latitude/longitude, a reference location ID, or bounding box with radius. Returns matches with distance and location IDs for hotels, restaurants, and attractions.
Instructions
Find TripAdvisor locations near a point within a radius, or inside a bounding box. Center by lat+lon+radius, by a reference location_id+radius, or by a sw/ne bounding box. Returns matches with distance and a location id. Returns slim summaries by default; pass view:"full" for the whole records.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | Center latitude (with lon+radius) | |
| lon | No | Center longitude (with lat+radius) | |
| page | No | Page index (1-based) | |
| size | No | Results per page (max 20) | |
| sort | No | Sort order (default distance) | |
| unit | No | Radius unit (default MI) | |
| view | No | Response shape: "compact" (default) drops fields the response already carries elsewhere; "full" returns every field this server understands. compact returns the slim projection where one exists and strips image URLs elsewhere; "full" returns TripAdvisor's whole records. | |
| locale | No | Preferred locales for localized fields, in priority order (e.g. ["en","es"]) | |
| ne_lat | No | Bounding box NE latitude | |
| ne_lon | No | Bounding box NE longitude | |
| radius | No | Search radius (required with lat/lon or location_id; must be > 0) | |
| sw_lat | No | Bounding box SW latitude | |
| sw_lon | No | Bounding box SW longitude | |
| category | No | Restrict to one category | |
| min_rating | No | Minimum traveler rating (1.0–5.0) | |
| location_id | No | Reference location as center (with radius) | |
| include_photo | No | Include a photo per result |