RezLive

Search Hotels

Returns availability and rates for a destination or list of hotel IDs.

POST /action/findhotel

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 call

Request

Headers

Headers
x-api-key: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded

Request fields

FieldTypeRequiredDescription
<AgentCode>StringYesRouting identifier from registration
<UserName>StringYesRouting identifier (companion to AgentCode)
<ArrivalDate>Date dd/MM/yyyyYesCheck-in date. Must be ≥ today
<DepartureDate>Date dd/MM/yyyyYesCheck-out. Must be > ArrivalDate
<CountryCode>String (ISO-2)YesTwo-letter UPPERCASE ISO country code
<City>StringYesRezLive city code from the Cities master file
<HotelRatings>Integer (repeated)YesStar ratings to include. Pass all desired
<HotelIDs>Integer (repeated)findhotelbyid onlyUp to 50 hotel IDs per request
<GuestNationality>String (ISO-2)YesLead guest nationality
<Rooms>/<Room>/<NoOfAdults>IntegerYesAdults in this room
<Rooms>/<Room>/<NoOfChilds>IntegerYesChildren in this room. Pass 0 if none
<Rooms>/<Room>/<ChildrenAges>Integer (repeated)If children > 0One <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

FieldDescription
<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 IP
  • RZL-VAL-001 — Missing or empty Authentication block
  • RZL-VAL-014 — ArrivalDate in the past
  • RZL-VAL-022 — ChildrenAges count does not match NoOfChilds
  • RZL-RATE-001 — Rate limit exceeded