ta_get_locations
Batch fetch multiple TripAdvisor locations in one call. Supply up to 50 IDs; use compact for slim summaries to reduce API calls.
Instructions
Get details for MULTIPLE locations in one call (batch). Pass an array of location ids — cheaper than repeated ta_get_location_details. Unknown or unlicensed ids are silently omitted. Pass compact:true for slim summaries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Location IDs to fetch (1–50) | |
| locale | No | Preferred locales for localized fields, in priority order (e.g. ["en","es"]) | |
| compact | No | Return a slim summary per location instead of full records |