Search Hotels
Returns availability and rates for a destination or list of hotel IDs.
Two flavours of search are exposed under the same XML envelope:
/action/findhotel— by destination (country + city + ratings filter)/action/findhotelbyid— by an explicit list of hotel IDs (up to 50)
Both return the same response shape, including the SearchSessionId and per-room BookingKey tokens that drive the rest of the flow.
Try it
POST /action/findhotel
Mock — no live callRequest
Headers
Headers
x-api-key: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Request fields
| Field | Type | Required | Description |
|---|---|---|---|
<AgentCode> | String | Yes | Routing identifier from registration |
<UserName> | String | Yes | Routing identifier (companion to AgentCode) |
<ArrivalDate> | Date dd/MM/yyyy | Yes | Check-in date. Must be ≥ today |
<DepartureDate> | Date dd/MM/yyyy | Yes | Check-out. Must be > ArrivalDate |
<CountryCode> | String (ISO-2) | Yes | Two-letter UPPERCASE ISO country code |
<City> | String | Yes | RezLive city code from the Cities master file |
<HotelRatings> | Integer (repeated) | Yes | Star ratings to include. Pass all desired |
<HotelIDs> | Integer (repeated) | findhotelbyid only | Up to 50 hotel IDs per request |
<GuestNationality> | String (ISO-2) | Yes | Lead guest nationality |
<Rooms>/<Room>/<NoOfAdults> | Integer | Yes | Adults in this room |
<Rooms>/<Room>/<NoOfChilds> | Integer | Yes | Children in this room. Pass 0 if none |
<Rooms>/<Room>/<ChildrenAges> | Integer (repeated) | If children > 0 | One <ChildAge> per child |
Example request
XML
<HotelFindRequest>
<Authentication>
<AgentCode>YOUR_AGENT_CODE</AgentCode>
<UserName>YOUR_USERNAME</UserName>
</Authentication>
<Booking>
<ArrivalDate>15/06/2026</ArrivalDate>
<DepartureDate>16/06/2026</DepartureDate>
<CountryCode>AE</CountryCode>
<City>968</City>
<GuestNationality>IN</GuestNationality>
<HotelRatings>
<HotelRating>4</HotelRating>
<HotelRating>5</HotelRating>
</HotelRatings>
<Rooms>
<Room>
<Type>Room-1</Type>
<NoOfAdults>2</NoOfAdults>
<NoOfChilds>0</NoOfChilds>
</Room>
</Rooms>
</Booking>
</HotelFindRequest>
Response
Response fields
| Field | Description |
|---|---|
<SearchSessionId> | Token identifying this search. Use in Pre-Book and Booking. 30-min TTL. |
<Currency> | Currency of the prices in this response (your agent currency) |
<Hotels>/<Hotel>/<Id> | Hotel ID |
<Hotels>/<Hotel>/<Name> | Hotel name |
<Hotels>/<Hotel>/<Rating> | Star rating (1.00–5.00) |
<Hotel>/<Price> | Lowest available rate at this hotel |
<RoomDetail>/<BookingKey> | Token identifying this specific room+rate. Use in Pre-Book and Booking. 30-min TTL. |
<RoomDetail>/<TotalRate> | Total room cost for the stay |
<RoomDetail>/<BoardBasis> | Meal plan, e.g. "Room Only", "Bed and Breakfast" |
<RoomDetail>/<PayAtHotelFees> | FTC compliance: fees payable at hotel. US guest nationality only. |
Example response
XML
<HotelFindResponse>
<SearchSessionId>YWRhc2Rhc2Fkc2FkczEy...</SearchSessionId>
<ArrivalDate>15/06/2026</ArrivalDate>
<DepartureDate>16/06/2026</DepartureDate>
<Currency>AED</Currency>
<GuestNationality>IN</GuestNationality>
<Hotels>
<Hotel>
<Id>150884</Id>
<Name>Dusit Thani Dubai</Name>
<Rating>5.00</Rating>
<Price>825.93</Price>
<RoomDetails>
<RoomDetail>
<Type>Deluxe Room, 1 King Bed</Type>
<BookingKey>RZHLjuMgEEV_hTWSLco2fq0...</BookingKey>
<Adults>2</Adults>
<Children>0</Children>
<TotalRooms>1</TotalRooms>
<TotalRate>825.93</TotalRate>
<BoardBasis>Room Only No Breakfast</BoardBasis>
</RoomDetail>
</RoomDetails>
</Hotel>
</Hotels>
</HotelFindResponse>
Errors
RZL-AUTH-001— Invalid API key or non-whitelisted IPRZL-VAL-001— Missing or empty Authentication blockRZL-VAL-014— ArrivalDate in the pastRZL-VAL-022— ChildrenAges count does not match NoOfChildsRZL-RATE-001— Rate limit exceeded