πBooking.com Hotel Price API
This API will help you collect data specifically from Booking.com only. Each request to this API will cost 1
credit.
Parameters
Parameter
Description
api_key required
Your personal API key.
country required
This is the ISO code of the country where the hotel is located.
hotelid required
This is the unique hotel ID used by booking.com.
adults required
It is the number of adults. The minimum value should be 1
.
rooms required
It is the number of rooms.
checkin required
It is the check-in date. Format - YYYY-MM-DD
checkout required
It is the check-out date. Format - YYYY-MM-DD
kids required
It is the number of kids. The minimum value can be 0
.
currency required
It could be any currency like USD, INR, EUR, etc.
API Example
curl "https://api.makcorps.com/booking?country=us&hotelid=the-lenox&checkin=2024-12-05&checkout=2024-12-11¤cy=USD&kids=0&adults=2&rooms=1&api_key=6576a85d9796563d73e34228401"
Response
[
[
{
"room": "Classic Room",
"price": "US$1,960",
"payment_details": [
"Free cancellation before 4 December 2024",
"No prepayment needed β pay at the property"
]
},
{
"room": "Superior Queen Room with Two Queen Beds",
"price": "US$2,460",
"payment_details": [
"Free cancellation before 4 December 2024",
"No prepayment needed β pay at the property"
]
},
{
"room": "Superior Queen Room with Two Queen Beds",
"price": "US$2,640",
"payment_details": [
"Free cancellation before 4 December 2024",
"No prepayment needed β pay at the property"
]
},
{
"room": "Superior Queen Room with Two Queen Beds",
"price": "US$2,820",
"payment_details": [
"Free cancellation before 4 December 2024",
"No prepayment needed β pay at the property"
]
},
{
"room": "Superior King Room",
"price": "US$2,730",
"payment_details": [
"Free cancellation before 4 December 2024",
"No prepayment needed β pay at the property"
]
},
{
"room": "Deluxe Room One King",
"price": "US$2,860",
"payment_details": [
"Free cancellation before 4 December 2024",
"No prepayment needed β pay at the property"
]
},
{
"room": "Deluxe Room One King",
"price": "US$3,040",
"payment_details": [
"Free cancellation before 4 December 2024",
"No prepayment needed β pay at the property"
]
},
{
"room": "Executive Queen Room with Two Queen Beds",
"price": "US$2,940",
"payment_details": [
"Free cancellation before 4 December 2024",
"No prepayment needed β pay at the property"
]
},
{
"room": "Executive Queen Room with Two Queen Beds",
"price": "US$3,120",
"payment_details": [
"Free cancellation before 4 December 2024",
"No prepayment needed β pay at the property"
]
},
{
"room": "Executive Queen Room with Two Queen Beds",
"price": "US$3,300",
"payment_details": [
"Free cancellation before 4 December 2024",
"No prepayment needed β pay at the property"
]
},
{
"room": "Executive Room with One King",
"price": "US$3,390",
"payment_details": [
"Free cancellation before 4 December 2024",
"No prepayment needed β pay at the property"
]
},
{
"room": "Executive Room with One King",
"price": "US$3,570",
"payment_details": [
"Free cancellation before 4 December 2024",
"No prepayment needed β pay at the property"
]
}
],
{
"name": "The Lenox",
"address": "61 Exeter Street, Back Bay, Boston, MA 02116, United States"
}
]
Last updated