Skip to documentation
Browse documentation

Trip.com hotel detail

Return hotel identity, description, address, ratings, images and available amenities from a Trip.com hotel URL.

Capability ID tripcom.hotel.get
Maximum runtime 30 seconds
View raw

POST /execute Shared execution endpoint

Input parameters

adults integer optional

Number of adult guests. At least 0.

amenities array<string> optional
check_in string optional

Check-in date in YYYY-MM-DD

check_out string optional

Check-out date in YYYY-MM-DD

children integer optional

Number of child guests. At least 0.

currency string optional

Currency for returned prices.

hotel_url string required

Trip.com hotel detail URL

Example https://nz.trip.com/hotels/london-hotel-detail-2985758/royal-national-hotel-london/
locale string optional

Locale to use for the request.

rooms integer optional

Number of rooms. At least 0.

Response

Successful output is returned in results[0].data.

Raw platform output is intentionally open-ended and may evolve with the upstream source.

Illustrative sample The example response is shown in the response panel.

Illustrative output fields

Values illustrate one response. Read the guidance above for missing values and limits; fields can vary with the requested operation and the data available.

PathObserved typeExample
address string 38-51 Bedford Way, Camden, London, Greater London WC1H 0DG, United King…
amenities array 3 items
amenities array 3 items
collected_at string 2026-09-20T20:54:11Z
facilities array 3 items
facilities array 3 items
hotel_id string 2985758
image_url string https://ak-d.tripcdn.com/images/1mc4512000dl5w9gpC200_R_960_660_R5_D.jpg
location string London
rating number 8.2
rating_text string Very good
reviews integer 3139
source_url string https://nz.trip.com/hotels/london-hotel-detail-2985758/royal-national-h…
title string Royal National Hotel
url string https://nz.trip.com/hotels/london-hotel-detail-2985758/royal-national-h…

Execution behavior

A 200 response completed inline. A 202 response was queued; poll GET /jobs/:id until the job reaches completed or failed.