This query returns TripAdvisor locations matching a search term and optional category filter.
- API endpoint slug
- tripadvisor.search_locations
- Runtime method
- performQuery("tripadvisor.search_locations"}
Query fields
- Label
- Search query
- Helper text
- Free-text search (e.g. "pizza in Chicago" or "Eiffel Tower").
- Slug
- search_query
- Required
- true
- Can have default value
- true
- Label
- Category
- Helper text
- Limit results to a single category. Leave blank to search all categories.
- Slug
- category
- Required
- false
- Can have default value
- true
Ingredients
- Slug
- location_id
- Filter code
- Tripadvisor.searchLocations.LocationId
- Type
- String
- Example
- 12345
- Slug
- location_name
- Filter code
- Tripadvisor.searchLocations.LocationName
- Type
- String
- Example
- Joe's Pizza
- Slug
- location_address
- Filter code
- Tripadvisor.searchLocations.LocationAddress
- Type
- String
- Example
- 7 Carmine St, New York, NY 10014
- Slug
- category
- Filter code
- Tripadvisor.searchLocations.Category
- Type
- String
- Example
- restaurants
- Slug
- rating
- Filter code
- Tripadvisor.searchLocations.Rating
- Type
- String
- Example
- 4.5
- Slug
- review_count
- Filter code
- Tripadvisor.searchLocations.ReviewCount
- Type
- String
- Example
- 1832
- Slug
- location_url
- Filter code
- Tripadvisor.searchLocations.LocationUrl
- Type
- Web URL
- Example
- https://www.tripadvisor.com/Restaurant_Review-g60763-d12345