Endpoint Playground
Test Crawlora's Get Trip.com hotel detail API with realistic prefilled parameters. Generate a cURL request, inspect the expected structured JSON response, and open the full docs or pricing page when you are ready to integrate this public web data extraction endpoint into your application.
curl "https://api.crawlora.net/api/v1/tripcom/hotels/<id>" \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| id (path) | string | Yes | Trip.com hotel id, from a prior search call's hotel_id field | |
| slug | string | 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. |
{
"code": 200,
"msg": "OK",
"data": {
"hotel_id": 39371462,
"name": "Divalux Resort and Spa Bangkok, Suvarnabhumi Airport-Free Shuttle",
"star_rating": 5,
"city_name": "Bang Sao Thong",
"province_name": "Samut Prakan Province",
"country_name": "Thailand",
"open_year": "2019",
"highlights": [
"Free airport transfers",
"Great views"
],
"location": {
"address": "88 Moo3, Sriwaree Road, Sisa Chokhe Noi, Bang Sao Thong District, Samut Prakan Province, 10570, Thailand",
"zone_name": "Suvarnabhumi Airport",
"latitude": 13.69316,
"longitude": 100.793475,
"traffic_description": "15 km from Pra Chom Klao, approx. 27 mins by car"
},
"rating": {
"score": 8.6,
"score_description": "Very good",
"score_max": 10,
"total_comment": 875,
"recommend": "79% Recommended",
"cleanliness_score": 8.7,
"amenities_score": 8.8,
"location_score": 8.3,
"service_score": 8.7
},
"images": [
"https://ak-d.tripcdn.com/images/0585b12000sq6ih4c6345_R_960_660_R5_D.jpg"
],
"image_count": 10,
"description": "With a stay at Divalux Resort & Spa Bangkok, Suvarnabhumi Airport in Bang Sao Thong, you'll be 6.1 mi (9.9 km) from Lakewood Golf And Country Club...",
"policy": {
"check_in_out": [
"Check-in: After 14:00",
"Check-out: Before 12:00",
"Front desk hours: 24/7"
],
"child": [
"Children of all ages are welcome at this property."
]
},
"popular_facilities": [
"Outdoor swimming pool",
"Spa",
"Massage room"
],
"source_url": "https://www.trip.com/hotels/bang-sao-thong-district-hotel-detail-39371462/divalux-resort-and-spa-bangkok-suvarnabhumi-airport-free-shuttle/"
}
}Public Playground
Sample responses, schemas, request previews, and code snippets are visible before sign in. Create an account when you are ready to save an API key and run authenticated requests.
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.
{
"code": 200,
"msg": "OK",
"data": {
"hotel_id": 39371462,
"name": "Divalux Resort and Spa Bangkok, Suvarnabhumi Airport-Free Shuttle",
"star_rating": 5,
"city_name": "Bang Sao Thong",
"province_name": "Samut Prakan Province",
"country_name": "Thailand",
"open_year": "2019",
"highlights": [
"Free airport transfers",
"Great views"
],
"location": {
"address": "88 Moo3, Sriwaree Road, Sisa Chokhe Noi, Bang Sao Thong District, Samut Prakan Province, 10570, Thailand",
"zone_name": "Suvarnabhumi Airport",
"latitude": 13.69316,
"longitude": 100.793475,
"traffic_description": "15 km from Pra Chom Klao, approx. 27 mins by car"
},
"rating": {
"score": 8.6,
"score_description": "Very good",
"score_max": 10,
"total_comment": 875,
"recommend": "79% Recommended",
"cleanliness_score": 8.7,
"amenities_score": 8.8,
"location_score": 8.3,
"service_score": 8.7
},
"images": [
"https://ak-d.tripcdn.com/images/0585b12000sq6ih4c6345_R_960_660_R5_D.jpg"
],
"image_count": 10,
"description": "With a stay at Divalux Resort & Spa Bangkok, Suvarnabhumi Airport in Bang Sao Thong, you'll be 6.1 mi (9.9 km) from Lakewood Golf And Country Club...",
"policy": {
"check_in_out": [
"Check-in: After 14:00",
"Check-out: Before 12:00",
"Front desk hours: 24/7"
],
"child": [
"Children of all ages are welcome at this property."
]
},
"popular_facilities": [
"Outdoor swimming pool",
"Spa",
"Massage room"
],
"source_url": "https://www.trip.com/hotels/bang-sao-thong-district-hotel-detail-39371462/divalux-resort-and-spa-bangkok-suvarnabhumi-airport-free-shuttle/"
}
}curl "https://api.crawlora.net/api/v1/tripcom/hotels/<id>" \
-H "x-api-key: $CRAWLORA_API_KEY"