tripcom_hotel_detail
Fetch Trip.com hotel details by hotel ID to get name, location, guest ratings, images, policies, and facilities. Use it for hotel info, not nightly pricing.
Instructions
Get Trip.com hotel detail. Returns a 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. 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. |