---
title: "Get Trip.com hotel detail"
method: GET
path: "/tripcom/hotels/{id}"
tags: ["Trip.com"]
---

# Get Trip.com hotel detail

`GET /tripcom/hotels/{id}`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/tripcom/hotels/{id}`
- Auth: API key in header `x-api-key`

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.

## Path parameters

- `id` string, required

## Query parameters

- `slug` string

## Headers

- `x-api-key` string, required

## Response `200`

OK

- TripcomDetailResponse
  - `city_name` string
  - `country_name` string
  - `description` string
  - `highlights` string[]
  - `hotel_id` integer
  - `image_count` integer
  - `images` string[]
  - `local_name` string
  - `location` TripcomLocation
    - `address` string
    - `latitude` number
    - `longitude` number
    - `traffic_description` string
    - `zone_name` string
  - `name` string
  - `open_year` string
  - `policy` TripcomPolicy
    - `check_in_out` string[]
    - `child` string[]
  - `popular_facilities` string[]
  - `province_name` string
  - `rating` TripcomRating
    - `amenities_score` number
    - `cleanliness_score` number
    - `location_score` number
    - `recommend` string
    - `score` number
    - `score_description` string
    - `score_max` number
    - `service_score` number
    - `total_comment` integer
  - `source_url` string
  - `star_rating` integer

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `500`: Internal Server Error
- `503`: Service Unavailable

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/afac9b012a27?raw)
