Skip to content

Hotel API

Search 1.5M+ properties by city code (IATA-style, e.g. DXB) or by the hotel codes you store from our catalogue, read room-level rates with board basis and cancellation policy, validate and book, cancel under the policy.

  1. Search
  2. Rooms and rates
  3. Rate check
  4. Book
  5. Cancel

Rooms and rates

GET /v1/hotels/{hotelCode}/rooms?rateKey=… lists every room type and rate of one property for the searched stay: bed types, occupancy, board, policies, taxes and fees broken out, and whether the rate is refundable.

Rate check

POST /v1/hotels/rates/{rateKey}/check confirms the rate is still bookable and returns the final price and policy. Do this immediately before booking: a 409 price_changed or rate_expired here is far cheaper than a failed booking.

Book

POST /v1/hotels/bookings with the rateKey, the holder, guests per room and a contact, plus an Idempotency-Key. The response is the booking with its reference, the supplier confirmation and the voucher data. GET /v1/hotels/bookings/{bookingId} returns it again at any time.

Cancel

GET /v1/hotels/bookings/{bookingId}/cancellation-quote returns the penalty under the policy at this moment; POST /v1/hotels/bookings/{bookingId}/cancel (Idempotency-Key required) commits it.