latestOpenAPI 3.0.12026-08-101058136.3 KB
0fbdc2f4423a
demand-api-v2-compatible
List all bookable rooms at a property
This endpoint is where you find a list of all bookable or available rooms at a property. A room can have multiple blocks, as a block is a combination of the meal, cancellation policy, occupancy and other things. You can find detailed information about one hotel per search (detail_level) which will return most of the information needed to replicate the booking.com property page.
If you want to search multiple hotels, you can, but you get less detail. For searching multiple hotels, it is recommended to use hotelAvailability.
get/demand-api-v2-compatible/blockAvailability
Query parameters
{
"block_ids": [
"5555555_55555555_5_5_5,6666666_66666666_6_6_6"
]
}Headers
Accept'application/json, application/xml'
Response
OK
Example response
{
"result": [
{
"hotel_url": "https://www.booking.com/hotel/nl/toren.html"
}
]
}