v1
latestOpenAPI 3.0.12026-07-24178873.1 KBSearch Nearby Locations Catalog
Searches the Location catalog for points of interest within a geographic area, ordered by proximity or rating.
<p>The search area is defined either by a center point and radius or by a bounding box, supplied via the <code>search</code> parameters. This endpoint is not limited by a partner's allowlist or geofencing, but each result returns only the lightweight catalog projection of a Location.Query parameters
The ID of the Location to use as a reference for the radius-based search.
<p> Required if `lat` or `lon` is not given.The latitude of the center point for the radius-based search.
<p> Required if `location_id` not given.The longitude of the center point for the radius-based search.
<p> Required if `location_id` not given.The radius for the radius-based search.
<p> Required if "Bounding Box" criteria is not given (`sw_lat`, `sw_lon`, `ne_lat`, `ne_lon`).Unit of length for distance. If none specified defaults to miles.
Bounding Box southwest latitude coordinate.
<p> Required if `radius` is not given.Bounding Box southwest longitude coordinate.
<p> Required if `radius` is not given.Bounding Box northeast latitude coordinate.
<p> Required if `radius` is not given.Bounding Box northeast longitude coordinate.
<p> Required if `radius` is not given.Filter based on Tripadvisor’s top-level categories (eat & drink, accommodations, attractions).
Filter by ratings with at least N bubbles (1.0-5.0).
preferred locales for localized fields (e.g. names, descriptions), in priority order; falls back to the default locale when omitted
Page index (1-based).
Page size.
Sorting criteria in the format: property,(asc|desc). Multiple sort criteria are supported. Available sorting: distance (for radius-based search only), rating
Response
a page of catalog Locations within the requested area, each annotated with its distance and bearing from the search center