APIs / Trip.com / Packages Search

Trip.com: Packages Search

Packages Search from Trip.com as JSON. 3 credits per successful call.

GET /v1/trip-com/packages-search

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
fromstringRequiredAny
tostringRequiredAny
city_idstringRequiredAny
datestringRequiredAny
return_datestringRequiredAny
adultsintegerOptionalAny
pageintegerOptionalAny
currencystringOptionalUSD, EUR, GBP

Example request

cURLshell
curl "https://api.perceptlayer.com/v1/trip-com/packages-search?from=LON&to=PAR&city_id=192&date=2027-03-14&return_date=2027-03-17&adults=2&currency=EUR" \
  -H "X-API-Key: $API_KEY"

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