Use this endpoint to check real-time availability, prices, and charges for up to 50 accommodation IDs.
- By default, only product availability and prices are returned.
- Use the
extrasorfiltersparameters to retrieve additional details such as extra charges or payment information.
Mandatory fields: accommodations, booker, checkin, checkout, and guests.
Security
BearerAuth
The checkin date. Must be within 500 days in the future and in the format yyyy-mm-dd.
The checkout date. Must be later than {checkin}. Must be between 1 and 90 days after {checkin}. Must be within 500 days in the future and in the format yyyy-mm-dd.
A three-letter code that uniquely identifies a monetary currency as defined by the ISO 4217 standard. The full list can be obtained by calling common/payments/currencies.
Example:"EUR"
Input parameter to request for additional information about this product.
Items Value:"extra_charges"
The filters to apply in this availability request.
- https://demandapi.booking.com/3.3https://demandapi.booking.com/3.3/accommodations/availability
- https://demandapi-sandbox.booking.com/3.3https://demandapi-sandbox.booking.com/3.3/accommodations/availability
curl -i -X POST \
https://demandapi.booking.com/3.3/accommodations/availability \
-H 'Authorization: Bearer <YOUR_string_HERE>' \
-H 'Content-Type: application/json' \
-H 'X-Affiliate-Id: 0' \
-d '{
"accommodations": [
10004
],
"booker": {
"country": "nl",
"platform": "desktop"
},
"checkin": "!START_DATE!",
"checkout": "!END_DATE!",
"extras": [
"extra_charges"
],
"filters": {
"meal_plan": "breakfast_included",
"cancellation_type": "free_cancellation"
},
"guests": {
"number_of_adults": 2,
"number_of_rooms": 1
}
}'