Tripadvisor

Tripadvisor search

Returns Tripadvisor hotels, restaurants, attractions and places in search_results. Each row carries the numeric place_id plus place_api_link and reviews_api_link for the Place and Reviews APIs. Page with start and num, or follow pagination.next.

get/api/tripadvisor/search

Request

  • Base URL: https://api.litescrape.com
  • URL: https://api.litescrape.com/api/tripadvisor/search
  • Auth: one of:
    • HTTP bearer
    • API key in header zc-signature

Query parameters

qstring required
Example:coffee

Search text, 1 to 500 characters.

tripadvisor_domainstring
Example:www.tripadvisor.com

Supported first-party localized Tripadvisor hostname, such as www.tripadvisor.co.uk.

localestring

Lowercase language code with an optional uppercase country, such as en or en-US.

geo_idinteger
Example:30196

Tripadvisor geography ID to search within.

latnumber
Example:30.2672

Search center latitude from -90 through 90. Requires lon.

lonnumber
Example:-97.7431

Search center longitude from -180 through 180. Requires lat.

place_type'all' | 'accommodation' | 'attraction' | 'attraction_product' | 'eatery' | 'geo'

Restrict results to one entity type.

startinteger

Result offset from 0 through 10,000. Offsets and positions count any leading exact match.

numinteger

Maximum number of search_results, 1 through 30, including any leading exact match.

timeoutnumber

Optional budget for the entire request in seconds, measured from gateway receipt until the response is ready to send. Includes admission, queueing and settlement. Must be greater than 0 and at most 90. On expiry, the call is not billed and returns 503 request_deadline_exceeded with retryable=true and a request ID. Omit to retain the standard server deadline.

Response

Successful response; one call consumed unless noted otherwise.

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.