APIs / Trip.com / Hotels Filters
Trip.com: Hotels Filters
Hotels Filters from Trip.com as JSON. 1 credit per successful call.
GET /v1/trip-com/hotels-filters
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
city_id | string | Required | Any |
check_in | string | Required | Any |
check_out | string | Required | Any |
locale | string | Optional | en, en-gb, de, fr, ja, ko, zh-hk |
currency | string | Optional | USD, EUR, GBP, JPY, KRW |
Example request
curl "https://api.perceptlayer.com/v1/trip-com/hotels-filters?city_id=192&check_in=2027-03-14&check_out=2027-03-16¤cy=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.