tripadvisor_search: GET /
hasdata_tripadvisor_search_getTripadvisorSearchResultsGet Tripadvisor Search Results
Runs a Tripadvisor search for a free-text query (a destination, a property name, or a listing-style phrase like "luxury hotels in new york city") with optional search origin coordinates, result type filter, Tripadvisor domain and offset-based pagination. Returns places (destinations, hotels, restaurants, attractions and tours with place ID, type, link, description, rating, review count, location, thumbnail and the review snippet that matched the query), forums for the forums type, locations for Tripadvisor list pages the query resolves to, and pagination with the next offset. Each place carries a hasdataLink that calls the Tripadvisor Place API for its full details; use it to enrich results, or to build travel and hospitality datasets for a destination.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | The search query, e.g. a destination, a property name or a phrase like `luxury hotels in new york city`. | |
| lat | No | Latitude of the search origin. Requires `lon`. Results near this point are ranked higher. | |
| lon | No | Longitude of the search origin. Requires `lat`. | |
| type | No | Limits results to one type. `all` mixes destinations, hotels, restaurants and things to do; `forums` returns forum topics instead of places. | |
| limit | No | Number of results to return. | |
| domain | No | Tripadvisor domain to use. The domain sets the language of the results. Default is `www.tripadvisor.com`. | |
| offset | No | Number of results to skip, e.g. `30` for the second page with the default limit. Use `pagination.nextOffset` from the previous response. Tripadvisor serves results up to offset 1000. |