Use this endpoint to retrieve detailed product availability, price and charges of a list of accommodations. By default, only product availability and price is returned.
To receive extended information use the extras parameter.
Note: It is mandatory to pass the input parameters: accommodations, booker, checkin, checkout and guests.
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.
Input parameter to request for additional information about this product.include_bundle_variants must be passed in order to retrieve all value added products.
The filters to apply in this availability request.
- Production environmenthttps://demandapi.booking.com/3.1/accommodations/bulk-availability
- Sandbox environmenthttps://demandapi-sandbox.booking.com/3.1/accommodations/bulk-availability
curl -i -X POST \
https://demandapi.booking.com/3.1/accommodations/bulk-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
}
}'- string or null (date-time)
- string or null
{ "request_id": "01fr9ez700exycb98w90w5r9sh", "data": [ { … } ] }