MinRate Availability API

This API returns the minimum rate for each hotel based on a specific query. You can use this endpoint to retrieve the minimum rates for the list of hotels provided in the request body.

API details

POST /api/v1/hotel/booking-api/availability/rooms/min-rate

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Accept-Encoding

gzip

Body

Name
Type
Description

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

Sample Request
{
    "hotelIds": [100018,100021],
    "fromDate":"2024-10-17",
    "toDate": "2024-10-20",
    "rooms": [
        {
        "noOfAdults": 1,
        "noOfChildren": 0,
        "childrenAges": []
        }
    ],
    "nationality": "UAE"
}

Response details

Response General data

Name
Type
Description

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

Name
Type
Description

hotelId

Integer

Unique Id for the hotel

hotelName

String

Name of the hotel

minPrice

Number

The minimum rate for the hotel based on your query.

Sample Response
{
    "success": true,
    "data": {
        "tokenNumber": "RA_1729202802519",
        "fromDate": "2024-11-17",
        "toDate": "2024-11-19",
        "nationality": "IN",
        "roomPaxes": [
            {
                "noOfAdults": 1,
                "noOfChildren": 0,
                "childrenAges": []
            }
        ],
        "noOfNights": 2,
        "hotels": [
            {
                "hotelId": 100018,
                "hotelName": "Gulf Court Hotel Business Bay",
                "minPrice": 740
            },
            {
                "hotelId": 100021,
                "hotelName": "Hilton Garden Inn Dubai Al Muraqabat",
                "minPrice": 770
            }
        ]
    }
}

Last updated