ta_search_nearby
Find TripAdvisor attractions, restaurants, and hotels near a point or within a bounding box, with radius search and compact summaries.
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. Pass compact:true for slim summaries.
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) | |
| 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 | |
| compact | No | Return a slim summary per result (id, name, category, city, rating, review_count, url) instead of full records | |
| 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 |