GroundsocialDocs

API · Booking.com

GET /booking/hotel

One Booking.com property: address, stars, review score, facilities, rooms and photos.

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

One Booking.com property: address, stars, review score, facilities, rooms and photos.

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.
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 property.BookingHotelResponse
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

BookingHotelResponse fields

FieldTypeDescription
hotelBookingHotel

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