Booking.com
API actions for the Booking.com integration.
Booking.com
Search Booking.com inventory, check availability, and manage reservations with an API key.
Cancel reservation
Cancel an existing reservation with an optional reason.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
reservation_id | string | Yes | Reservation confirmation code. |
reason | string | No | Cancellation reason. |
Response
{
"reservation_id": "res789ghi",
"status": "cancelled"
}Check room availability
Check available rooms for a hotel across a date range.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
hotel_id | string | Yes | Hotel identifier. |
check_in | string | Yes | Check-in date. |
check_out | string | Yes | Check-out date. |
Response
{
"available_rooms": [],
"hotel_id": "hotel123abc"
}Create reservation
Create a reservation for a hotel and guest.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
hotel_id | string | Yes | Hotel identifier. |
guest_name | string | Yes | Guest full name. |
check_in | string | Yes | Check-in date. |
check_out | string | Yes | Check-out date. |
rooms | number | Yes | Number of rooms. |
Response
{
"reservation_id": "res101jkl",
"status": "confirmed"
}Get reservation
Fetch reservation details by confirmation code.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
reservation_id | string | Yes | Reservation confirmation code. |
Response
{
"reservation_id": "res789ghi",
"status": "confirmed"
}Search hotels
Search hotels by city, date range, and guest count.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
city | string | Yes | Destination city name. |
check_in | string | Yes | Check-in date. |
check_out | string | Yes | Check-out date. |
guests | number | Yes | Number of guests. |
Response
{
"results": [
{
"hotel_id": "hotel123abc",
"name": "Grand Plaza Hotel",
"price_per_night": 180
}
]
}