ta_get_locations
Retrieve details for multiple TripAdvisor locations in one batch request by passing location IDs. Reduces API calls, returns compact summaries or full records with optional locale preferences.
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"]) |