APIs / Trip.com / Hotels Rooms

Trip.com: Hotels Rooms

Hotels Rooms from Trip.com as JSON. 10 credits per successful call.

GET /v1/trip-com/hotels-rooms

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
hotel_idstringRequiredAny
check_instringRequiredAny
check_outstringRequiredAny
adultsintegerOptionalAny
children_agesstringOptionalAny
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/hotels-rooms?hotel_id=2081163&check_in=2027-01-07&check_out=2027-01-09&adults=2&currency=EUR" \
  -H "X-API-Key: $API_KEY"

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