bookdata

v0.1.0
io.github.CloudCorpRecords/bookdata Checked 2 days ago Published 23 days ago

Booking.com stays as JSON: search stays by destination and dates, fetch full property details.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

hasdata_booking_place_getBookingPlaceDetails booking_place: GET /

Get Booking Hotel Details Fetches a single Booking.com property by its full URL for the given stay dates (`checkInDate` / `checkOutDate`) and guest composition (rooms, adults, children with ages). Returns the property identity (hotelId, title, address, coordinates), policies (free cancellation, no prepayment, child/pet stays), price, rating and review summary, photos, and the list of available room suites for the requested window. Use to enrich property listings with real-time availability and pricing, monitor a specific competitor hotel over time, validate amenities and photos before display…

ParameterTypeDescription
adults *numberNumber of adult guests across all rooms.
checkInDate *stringCheck-in date in `YYYY-MM-DD` format. Must be in the future and earlier than `checkOutDate`.
checkOutDate *stringCheck-out date in `YYYY-MM-DD` format. Must be later than `checkInDate`.
children *numberNumber of child guests across all rooms (0–10). Pass `0` if there are no children.
rooms *numberNumber of rooms to book.
url *stringFull Booking.com URL of the property page. Only `booking.com` and `www.booking.com` hosts are accepted.
childrenAgesstringComma-separated list of child ages, one entry per child (each `0`–`17`). Required when `children > 0` and the number of ages must equal `children`. Example: `1,3,7`
currencystringCurrency of the prices returned in the response. Use `hotelCurrency` to keep each property's native currency. Provide one exact documented value (52 allowed), e.g. `hotelCurrency`, `usd`.
languagestringLanguage of the Booking.com interface and localized fields in the response.

hasdata_booking_search_getBookingSearchResults booking_search: GET /

Get Booking Search Results Searches Booking.com for accommodations by destination keyword and stay dates (`checkInDate` / `checkOutDate`) with guest composition (rooms, adults, children with ages) and rich filtering: property type, star rating, review score, hotel and room facilities, distance from center, reservation policy, bed preference, travel group, online payment, accessibility, plus optional price range and bedroom/bathroom counts. Pagination is page-based with 25 results per page; locale is controlled by `language` and `currency`. Returns each hotel's `hotelId`, title and Booking URL…

ParameterTypeDescription
adults *numberNumber of adult guests across all rooms.
checkInDate *stringCheck-in date in `YYYY-MM-DD` format. Must be in the future and earlier than `checkOutDate`.
checkOutDate *stringCheck-out date in `YYYY-MM-DD` format. Must be later than `checkInDate`.
children *numberNumber of child guests across all rooms (0–10). Pass `0` if there are no children.
keyword *stringFree-text destination query. Usually a city, region or neighborhood (e.g. `Paris`, `Manhattan, New York`); a specific property name is also accepted.
rooms *numberNumber of rooms to book.
bathroomsnumberMinimum number of bathrooms in the property.
bedPreference__arrayFilter by bed configuration. Multiple values are combined with OR.
bedroomsnumberMinimum number of bedrooms in the property.
childrenAgesstringComma-separated list of child ages, one entry per child (each `0`–`17`). Required when `children > 0` and the number of ages must equal `children`. Example: `1,3,7`
currencystringCurrency of the prices returned in the response. Use `hotelCurrency` to keep each property's native currency. Provide one exact documented value (52 allowed), e.g. `hotelCurrency`, `usd`.
distanceFromCenter__arrayFilter by distance from the destination center. Multiple values are combined with OR.
facilities__arrayFilter by property-level facilities. Multiple values are combined with OR.
languagestringLanguage of the Booking.com interface and localized fields in the response.
meals__arrayFilter by available meal plans. Multiple values are combined with OR.
onlinePayment__arrayFilter by online payment options.
pagenumberPage number of the search results. Booking.com returns 25 results per page; pass `2` for results 26–50, `3` for 51–75, etc.
price_max_numberMaximum total price for the stay, in the requested `currency`. Must be `>= 20` and greater than `price[min]`. Required if `price[min]` is omitted.
price_min_numberMinimum total price for the stay, in the requested `currency`. Must be `>= 10`. Required if `price[max]` is omitted.
propertyAccessibility__arrayFilter by property-level accessibility features. Multiple values are combined with OR.
propertyType__arrayFilter by property type. Multiple values are combined with OR.
rating__arrayFilter by official star rating. Multiple values are combined with OR.
reservationPolicy__arrayFilter by reservation flexibility. Multiple values are combined with OR.
reviewScore__arrayFilter by minimum guest review score bucket. Multiple values are combined with OR.
roomAccessibility__arrayFilter by in-room accessibility features. Multiple values are combined with OR.
roomFacilities__arrayFilter by in-room facilities. Multiple values are combined with OR.
sortstringSort order applied by Booking.com to the results page.
travelGroup__arrayFilter by travel-group oriented stay options. Multiple values are combined with OR.