GET hotels/{hotelId}/statistics/prices?key={key}&fromDate={fromDate}&toDate={toDate}
Gets all the configured rates by room type on a specific date range (max. 60 days)
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| hotelId |
Hotel-Id => checked against the calling applications permissions |
string |
Required |
| key |
API - Key identifying the caller |
string |
Required |
| fromDate |
Date for which to retrieve the rates, Format YYYY-MM-DD |
date |
Required |
| toDate |
Date for which to retrieve the rates, Format YYYY-MM-DD |
date |
Required |
Body Parameters
None.
Response Information
Resource Description
Array of RoomTypeRates
Collection of RoomTypeRates| Name | Description | Type | Additional information |
|---|---|---|---|
| Date |
Date for this statistic |
date |
None. |
| RoomType |
Name of the Room Type |
string |
None. |
| Rates |
List of all RateCodes and their status for the selected date |
Collection of RoomTypRatePrices |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Date": "2025-10-23T18:32:08.2854893-07:00",
"RoomType": "sample string 2",
"Rates": []
},
{
"Date": "2025-10-23T18:32:08.2854893-07:00",
"RoomType": "sample string 2",
"Rates": []
}
]
application/xml, text/xml
Sample:
<ArrayOfRoomTypeRates xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RoomKeyAPI.Models">
<RoomTypeRates>
<Date>2025-10-23T18:32:08.2854893-07:00</Date>
<Rates />
<RoomType>sample string 2</RoomType>
</RoomTypeRates>
<RoomTypeRates>
<Date>2025-10-23T18:32:08.2854893-07:00</Date>
<Rates />
<RoomType>sample string 2</RoomType>
</RoomTypeRates>
</ArrayOfRoomTypeRates>