APIs / Trip.com / Hotels Reviews
Trip.com: Hotels Reviews
Hotels Reviews from Trip.com as JSON. 1 credit per successful call.
GET /v1/trip-com/hotels-reviews
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
hotel_id | string | Required | Any |
page | integer | Optional | Any |
page_size | integer | Optional | Any |
sort | string | Optional | relevant, recent, rating_desc, rating_asc |
Example request
curl "https://api.perceptlayer.com/v1/trip-com/hotels-reviews?hotel_id=718146&page=1&page_size=10&sort=recent" \
-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.