Availability API
This is a key step before making a hotel booking. Unlike the MinRate API, this API provides all available room types and options based on your query. The response from this API is essential to complete the booking process.
API details
POST
/api/v1/hotel/booking-api/availability/rooms
Headers
Content-Type
application/json
Authorization
Bearer <token>
Accept-Encoding
gzip
Body
hotelIds
Array
Hotel ids in array fomat
fromDate
String
checkin date
toDate
String
checkout date
noOfAdults
Integer
No of adults in a room
noOfChildren
Integer
No of children in a room
childrenAges
Array
Age of each children in a room
nationality
String
nationality of the guest
Response details
Response General data
tokenNumber
String
Unique code for an availability request.
fromDate
String
Checkin Date
toDate
String
Check out Date
nationality
String
Guest Nationality ISO code
roomPaxes
Array
roomPaxes.noOfAdults roomPaxes.noOfChildren roomPaxes.childrenAges[]
noOfNights
Integer
Total stay nights
Response Hotel data
hotelId
Integer
Unique Id for the hotel
hotelName
String
Name of the hotel
Response Room data
rateKey
String
Unique Id for the specific rate
standardName
String
Name of the room provided by room mapping provider
roomName
String
Name of the room provided by supplier
roomMaster
Boolean
true
: if room details available in room master
false
: If room details not available in room master
roomMasterCode
String
Unique room code for mapping from room master
boardName
String
Name of the board type
boardMaster
Boolean
true
: if board details available in board master
false
: If board details not available in board master
boardMasterId
Integer
Unique board code for mapping from board master
occupancies
Array
occupancies.name occupancies.maxCount
netPrice
Number
Total price
It is always recommended to request only one hotel per Availability API request. While it is safe to use up to 10 hotels per request, using multiple hotels may occasionally result in the failure to deliver all rates due to limits imposed by the room type aggregation service provider.
Last updated