---
title: "Trip.com API: Hotels Detail | Perceptlayer"
description: "Hotels Detail from Trip.com as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/trip-com/hotels-detail
---

[APIs](https://perceptlayer.com/apis) / [Trip.com](https://perceptlayer.com/apis/trip-com) / Hotels Detail

# Trip.com: Hotels Detail

Hotels Detail from Trip.com as JSON. 1 credit per successful call.

GET `/v1/trip-com/hotels-detail`

## Parameters

Send parameters in the query string.

Required Send `hotel_id` or `url`.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `hotel_id` | string | Optional | Any |
| `url` | string | Optional | Up to 500 characters |
| `locale` | string | Optional | en, en-gb, de, fr, ja, ko, zh-hk |

## Example request

cURL shell 

```
curl "https://api.perceptlayer.com/v1/trip-com/hotels-detail?hotel_id=718146" \
  -H "X-API-Key: $API_KEY"
```

[Run this endpoint in the playground](https://perceptlayer.com/apis/trip-com?try=hotels-detail#playground) with your own parameters. 1 credit per successful call; failed calls are free.
