tripcom_hotel_detail
Retrieve normalized Trip.com hotel details including name, location, guest rating, amenities, policies, and images using a hotel ID from a prior search.
Instructions
Get Trip.com hotel detail. Returns a normalized Trip.com hotel-detail page: identity (name, local name, star rating, city/province/country), location (address, zone, latitude/longitude, nearby-transport description), guest rating (overall score plus cleanliness/amenities/location/service breakdown), images, description, check-in/check-out and child policy summaries, and popular facilities. Credential-free public data sourced from Trip.com's own server-rendered hotel-detail page. Pricing is not included: Trip.com's detail page only returns per-night rates alongside check-in/check-out dates, which this endpoint does not take as input -- use the search endpoint for a city's current display prices.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Trip.com hotel id, from a prior search call's hotel_id field | |
| slug | No | Optional slug segment for a nicer canonical source URL (e.g. the district/city slug from a search result's url). Not required and not validated by Trip.com. |