GroundsocialDocs

API · Booking.com

GET /booking/search

Search Booking.com properties by place, with dates, guests and rooms (25 a page).

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

Search Booking.com properties by place, with dates, guests and rooms (25 a page).

Query parameters

NameTypeRequiredDescription
locationstringnoWhere, as typed on Booking.com. Example: Paris.
check_instringnoArrival day, YYYY-MM-DD. Example: 2026-12-10.
check_outstringnoDeparture day, YYYY-MM-DD. 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.
afterstringnoCursor: the previous page’s pagination.next_cursor.

Responses

StatusMeaningSchema
200A page of properties.BookingSearchResponse
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

BookingSearchResponse fields

FieldTypeDescription
destinationBookingDestination
totalinteger | null
propertiesBookingSearchProperty[]
paginationBookingPagination

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