Search hotels
One page of the stays Booking.com lists for a destination, 50 at most, for dates and guests, each with its price for the whole stay, stars, guest score, address, coordinates and the offer the price is for.
booking/hotels/search1 credit a callv1.0.3When to use it
You need the hotels and other stays Booking.com offers in a place (a city, region, neighborhood or landmark, by its name or Booking's id), as its search page lists them: their name, kind (hotel, apartment, resort...), stars, guest score and its count, address, coordinates, distance from the center, photo, and for dates the price of the whole stay for the guests and rooms asked, with what it was before a discount, the deal, the room it is for, the meal plan, free cancellation and how many are left. Sort them (top picks, price, stars, score, distance) and filter them (stars, a least score, free cancellation, breakfast, or any of Booking's filters); they combine. Without dates the list is every stay of the place, without prices. Follow next for the following page.
Try it
The options on the left write the call; the answer on the right is the contract's example. With your API key, the same call returns live data.
curl https://api.lobstr.io/v2/run \ -H "Authorization: Bearer $LOBSTR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "source": "booking", "operation": "hotels/search", "options": { "destination": "San Diego", "check_in": "2026-12-14", "check_out": "2026-12-15", "stars": [ 4 ] } }'
An example answer. Run it on your own input.
{ "object": "run", "id": "run_xhuatzbeyz4bkfka472bc3lxey", "livemode": true, "source": "booking", "operation": "hotels/search", "version": "1.0.3", "schema_url": "https://api.lobstr.io/v2/catalog/booking/hotels/search", "options": { "destination": "San Diego", "check_in": "2026-12-14", "check_out": "2026-12-15", "stars": [ 4 ] }, "fields": null, "status": "succeeded", "count": 1, "has_more": false, "next": null, "cost": { "credits": 1 }, "results": [ { "object": "hotel", "id": "1000001", "position": 1, "name": "Harbor View Hotel", "page": "us/harbor-view-hotel-san-diego", "url": "https://www.booking.com/hotel/us/harbor-view-hotel-san-diego.html", "type": { "id": 204, "name": "Hotels" }, "stars": { "value": 4, "symbol": "stars" }, "rating": { "value": 8.4, "scale": 10, "count": 1200, "label": "Very Good", "highlight": { "topic": "Location", "tag": "hotel_location", "value": 9.2 } }, "external_rating": null, "review_summary": null, "description": null, "location": { "address": "100 Harbor Drive", "city": "San Diego (California)", "area": "Downtown San Diego, San Diego", "district": null, "country_code": "us", "latitude": 32.71, "longitude": -117.17, "city_id": 20015725, "distance": "0.5 km from downtown", "transit": null, "central": true, "best_rated_area": false, "beach": null }, "photo_url": "https://cf.bstatic.com/xdata/images/hotel/square600/1.jpg", "price": { "amount": 189.5, "currency": "USD", "text": "US$189.50", "per_night": null, "in_hotel_currency": null, "before_discount": 230, "charges": "Includes taxes and fees", "excluded_charges": null, "discounts": [ { "id": "basic-deal", "name": "Bonus savings", "kind": "rate", "amount": 40.5, "description": null } ], "deals": [] }, "offer": { "room_id": "100000101", "occupancy": 2, "meal_plan": null, "free_cancellation_until": "2026-12-12T08:00:00Z", "no_prepayment": false, "only_left": null, "children_stay_free": null, "third_party": false, "bundle_id": null, "policy_group_id": "9000001", "units": [ { "id": "100000101", "name": "King Room", "type_id": 4, "type_name": null, "count": 1, "beds": [ { "type_id": 3, "count": 1 } ], "bed_count": 1, "area": null, "bedrooms": 0, "bathrooms": 0, "kitchens": 0, "living_rooms": 0, "rooms": [] } ] }, "ad": null, "preferred": true, "preferred_plus": false, "visibility_booster": false, "newly_opened": false, "host": "professional", "sustainability": [], "source_url": "https://www.booking.com/searchresults.html?ss=San+Diego&checkin=2026-12-14&checkout=2026-12-15", "observed_at": "2026-11-27T12:00:00Z" } ] }
Options
destinationstringrequireddest_type and dest_id): city/20015725, region/1234, district/2092, landmark/16546.check_instringcheck_out. Without dates, Booking lists every stay of the destination, without prices.check_outstringcheck_in.adultsintegerDefault 2childreninteger[]Default []roomsintegerDefault 1sort"top_picks" | "homes_first" | "lowest_price" | "highest_price" | "best_reviewed_lowest_price" | "most_stars" | "fewest_stars" | "stars_and_price" | "distance_from_center" | "top_reviewed" | "distance_from_beach"Default top_picksstarsstring[]Default []min_review_score6 | 7 | 8 | 9free_cancellationbooleanDefault falsebreakfast_includedbooleanDefault falsefiltersstring[]Default []nflt): ht_id=204 (hotels), ht_id=201 (apartments), chaincode=1078 (a brand), di=2092 (a neighborhood), hotelfacility=107 (free WiFi). They combine with the options above.currencystringDefault USDlocalestringDefault en-uscursorstringnext in an answer, as it is: opaque, and only for the search it was given with (otherwise invalid_cursor).Record
Each record of results, in the envelope every call returns (Run an operation).
objectstringidstringpositionintegernamestringpagestringhotel.urlstringtype.idintegertype.namestringstars.valuefloatstars.symbolstringrating.valuefloatrating.scalefloatrating.countintegerrating.labelstringrating.highlight.topicstringrating.highlight.tagstringrating.highlight.valuefloatexternal_rating.valuefloatexternal_rating.scalefloatexternal_rating.countintegerexternal_rating.labelstringexternal_rating.highlightnullreview_summary.textstringreview_summary.languagestringreview_summary.reviews_countintegerdescriptionstringlocation.addressstringlocation.citystringlocation.areastringlocation.districtstringlocation.country_codestringlocation.latitudefloatlocation.longitudefloatlocation.city_idintegerdestination).location.distancestringlocation.transitstringlocation.centralbooleanlocation.best_rated_areabooleanlocation.beach.nameslistlocation.beach.distancestringphoto_urlstringprice.amountfloatprice.currencystringprice.textstringprice.per_nightfloatprice.in_hotel_currency.amountfloatprice.in_hotel_currency.currencystringprice.in_hotel_currency.textstringprice.before_discountfloatprice.chargesstringprice.excluded_charges.amountfloatprice.excluded_charges.itemslistprice.discountslistprice.dealslistoffer.room_idstringoffer.occupancyintegeroffer.meal_plan.idintegertext says it when a meal is included.offer.meal_plan.textstringoffer.meal_plan.typestringoffer.free_cancellation_untildateoffer.no_prepaymentbooleanoffer.only_leftstringoffer.children_stay_free.ageslistoffer.third_partybooleanoffer.bundle_idstringoffer.policy_group_idstringoffer.unitslistad.idstringad.cpcfloatcpc); the currency is not said.preferredbooleanpreferred_plusbooleanvisibility_boosterbooleannewly_openedbooleanhoststringsustainabilitylistsource_urlstringobserved_atdateErrors
Its own, besides those of every call (Errors). A failed call is free.
| Code | Status | What it means |
|---|---|---|
invalid_input | 422 | Pass a destination (a place's name, or Booking's id for it: city/20015725), both dates or neither, guests, and the sorts and filters the search page offers. |
site_unavailable | 503 | Booking.com did not answer properly; retry later (not charged). Retryable. |
unexpected_answer | 424 | Booking.com answered in a shape we do not read yet; we are told and fix it (not charged). |
Price
1 credit per call that returns stays, a page of up to 50. An empty answer and a failed call are free. What a credit costs on each plan: Credits and pricing.
Changelog
1.0.32026-11-291.0.22026-11-27text). A page holding one failed whole. The stay's price in the hotel's own currency, when Booking gives it (price.in_hotel_currency).1.0.12026-11-271.0.02026-11-27