Search Booking.com properties API
Search Booking.com properties by place, with dates, guests and rooms (25 a page).
GET /v1/booking/searchBeta1 credit per callRefunded on failureimport os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/booking/search?location=Paris&check_in=2027-03-10&check_out=2027-03-12&adults=2",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()Response
200 · 1 credit{ "destination": { "dest_id": "-1456928", "dest_type": "CITY", "label": "Paris, Ile de France, France", "country_code": "fr", "latitude": 48.8566818237305, "longitude": 2.35147643089294 }, "total": 5254, "properties": [ { "id": 242392, "name": "WIT Hotel", "page_name": "mattle", "url": "https://www.booking.com/hotel/fr/mattle.html", "ufi": -1456928, "accommodation_type_id": 204, "is_closed": false, "address": "8, Rue De La Boule Rouge", "city": "Paris", "country_code": "fr", "latitude": 48.8736377339033, "longitude": 2.34488099813461, "display_location": "9th arr., Paris", "distance": "1.2 miles from downtown", "public_transport": "Grands Boulevards station is within 350 yards", "star_rating": 3, "review_score": 7.7, "review_count": 2829, "secondary_score": null, "secondary_score_label": null, "photo_url": "https://cf.bstatic.com/xdata/images/hotel/square600/888479650.webp?k=b0381b9d9293ba3cac47a14702cfb5c58df99562b62e93c4032…", "price": { "amount": 352.145673792407, "formatted": "$352.15", "currency": "USD" }, "price_before_discount": { "amount": 664.425818431642, "formatted": "$664.43", "currency": "USD" }, "free_cancellation": false, "…": "3 more fields" }, { "id": 59015, "name": "Ibis Styles Paris Batignolles", "page_name": "mirific", "url": "https://www.booking.com/hotel/fr/mirific.html", "ufi": -1456928, "accommodation_type_id": 204, "is_closed": false, "address": "119 Avenue De Clichy", "city": "Paris", "country_code": "fr", "latitude": 48.8898525712938, "longitude": 2.32120871538427, "display_location": "17th arr., Paris", "distance": "2.7 miles from downtown", "public_transport": "Brochant station is within 150 yards", "star_rating": 3, "review_score": 8.3, "review_count": 3215, "secondary_score": null, "secondary_score_label": null, "photo_url": "https://cf.bstatic.com/xdata/images/hotel/square600/753148428.webp?k=8696699f6bf6db16fc24748e2213928e96a0a6417f0165c2954…", "price": { "amount": 296.786891811592, "formatted": "$296.79", "currency": "USD" }, "price_before_discount": null, "free_cancellation": false, "…": "3 more fields" }, "… 23 more" ], "pagination": { "next_cursor": "eyJsb2NhdGlvbiI6IlBhcmlzIiwiY2hlY2tfaW4iOiIyMDI3LTAzLTEwIiwiY2hlY2tfb3V0IjoiMjAyNy0wMy0xMiIsImFkdWx0cyI6MiwiY2hpbGRyZW5f…", "has_more": true }}Parameters
| Name | Type | Description |
|---|---|---|
locationquery | string | Where, as typed on Booking.com. Example: Paris. |
check_inquery | string | Arrival day, YYYY-MM-DD. Example: 2026-12-10. |
check_outquery | string | Departure day, YYYY-MM-DD. Example: 2026-12-10. |
adultsquery | integer | Adults (default 2). |
childrenquery | integer | null | Children; their ages default to 8 unless children_ages is given. |
children_agesquery | string | Comma-separated ages 0-17, one per child. Example: 5,9. |
roomsquery | integer | Rooms (default 1). |
currencyquery | string | ISO currency for prices (default USD). Example: EUR. |
languagequery | string | Booking.com language for texts (en-us, en-gb, de, fr, …). Example: en-gb. |
afterquery | string | Cursor: the previous page’s pagination.next_cursor. |
Response fields
200 with a BookingSearchResponse, in Booking.com’s own JSON.
| Field | Type | Description |
|---|---|---|
destination | BookingDestination | |
total | integer | null | |
properties | BookingSearchProperty[] | |
pagination | BookingPagination |
Status codes
| Status | Meaning |
|---|---|
200 | A page of properties. |
400 | Invalid input. Nothing was charged. |
401 | Missing or invalid API key. |
402 | Not enough credits, a spend cap was reached, or payment is required. |
403 | The target is private, or the account is suspended. |
404 | No Booking.com property or destination by that id, link or name. |
429 | Too many requests. Wait for Retry-After seconds. |
503 | Booking.com is temporarily unavailable. Retryable; nothing was charged. |
Every error has code, message, hint and retryable. All error codes
Booking.com is a trademark of its owner. We are not affiliated with or endorsed by it.