---
title: "Trip.com API: Hotels Rooms | Perceptlayer"
description: "Hotels Rooms from Trip.com as JSON. 10 credits per successful call."
url: https://perceptlayer.com/apis/trip-com/hotels-rooms
---

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

# Trip.com: Hotels Rooms

Hotels Rooms from Trip.com as JSON. 10 credits per successful call.

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

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `hotel_id` | string | Required | Any |
| `check_in` | string | Required | Any |
| `check_out` | string | Required | Any |
| `adults` | integer | Optional | Any |
| `children_ages` | string | Optional | Any |
| `currency` | string | Optional | USD, EUR, GBP, JPY, KRW |
| `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-rooms?hotel_id=2081163&check_in=2027-01-07&check_out=2027-01-09&adults=2&currency=EUR" \
  -H "X-API-Key: $API_KEY"
```

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