GroundsocialDocs

API · Booking.com

GET /booking/hotel/rooms

A Booking.com property’s room types for a stay, with the best available price and nightly prices.

RequestGET /v1/booking/hotel/rooms
Operation idbooking.hotel.rooms
Cost2 credits, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

A Booking.com property’s room types for a stay, with the best available price and nightly prices.

Query parameters

NameTypeRequiredDescription
idstringnoBooking.com hotel id. Example: 280149.
urlstringnoA property link, https://www.booking.com/hotel/<cc>/<name>.html. Example: https://www.booking.com/hotel/gb/the-savoy.html.
check_instringnoArrival day, YYYY-MM-DD (required). Example: 2026-12-10.
check_outstringnoDeparture day, YYYY-MM-DD (required). Example: 2026-12-10.
adultsintegernoAdults (default 2).
childreninteger | nullnoChildren; their ages default to 8 unless children_ages is given.
children_agesstringnoComma-separated ages 0-17, one per child. Example: 5,9.
roomsintegernoRooms (default 1).
currencystringnoISO currency for prices (default USD). Example: EUR.
languagestringnoBooking.com language for texts (en-us, en-gb, de, fr, …). Example: en-gb.

Responses

StatusMeaningSchema
200The stay’s offer and the room types.BookingRoomsResponse
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404No Booking.com property or destination by that id, link or name.Error
429Too many requests. Wait for Retry-After seconds.Error
503Booking.com is temporarily unavailable. Retryable; nothing was charged.Error

BookingRoomsResponse fields

FieldTypeDescription
hotel_idinteger
check_instring
check_outstring
availablebooleanBooking.com has an offer for this stay and party.
best_offerobjectThe lowest-priced room offer for the stay (what search shows).
priceobject
nightsobject[]
roomsBookingRoom[]The property’s room types.

Errors use one shape everywhere; see Errors for every code and what to do.