Explore Plans
Mobile menu Close menu
TripAdvisor

Search locations

Pro plus icon This query returns TripAdvisor locations matching a search term and optional category filter.

Developer info

API endpoint slug
tripadvisor.search_locations
Runtime method
performQuery("tripadvisor.search_locations"}

Query fields

Search query Text input > Other

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

Category Dropdown list

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

Location

Slug
location_id
Filter
Tripadvisor.searchLocations.LocationId
Type
String
Example
12345

Location name

Slug
location_name
Filter
Tripadvisor.searchLocations.LocationName
Type
String
Example
Joe's Pizza

Location address

Slug
location_address
Filter
Tripadvisor.searchLocations.LocationAddress
Type
String
Example
7 Carmine St, New York, NY 10014

Category TripAdvisor's primary category for the location (e.g. restaurants, hotels, attractions, geos).

Slug
category
Filter
Tripadvisor.searchLocations.Category
Type
String
Example
restaurants

Rating Average rating from 1 to 5.

Slug
rating
Filter
Tripadvisor.searchLocations.Rating
Type
String
Example
4.5

Review count

Slug
review_count
Filter
Tripadvisor.searchLocations.ReviewCount
Type
String
Example
1832

Location url

Slug
location_url
Filter
Tripadvisor.searchLocations.LocationUrl
Type
Web URL
Example
https://www.tripadvisor.com/Restaurant_Review-g60763-d12345