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.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
from | string | Required | Any |
to | string | Required | Any |
city_id | string | Required | Any |
date | string | Required | Any |
return_date | string | Required | Any |
adults | integer | Optional | Any |
page | integer | Optional | Any |
currency | string | Optional | USD, EUR, GBP |
Example request
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¤cy=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.