ta_get_locations
Fetch details for up to 50 TripAdvisor locations in one batch call. Avoid repeated single-location requests; unknown IDs are skipped. Set view to full for complete records.
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. Returns slim summaries by default; pass view:"full" for the whole records.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Location IDs to fetch (1–50) | |
| 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"]) |