APIs / Trip.com / Attractions Search

Trip.com: Attractions Search

Attractions Search from Trip.com as JSON. 1 credit per successful call.

GET /v1/trip-com/attractions-search

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
querystringRequiredUp to 100 characters
pageintegerOptionalAny
sortstringOptionalrecommended, price_asc, price_desc
currencystringOptionalUSD, EUR, GBP, JPY, KRW
localestringOptionalen, en-gb, de, fr, ja, ko, zh-hk

Example request

cURLshell
curl "https://api.perceptlayer.com/v1/trip-com/attractions-search?query=paris&sort=price_asc&currency=USD" \
  -H "X-API-Key: $API_KEY"

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.