Booking.com: 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.
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, from the contract. Run it on your own input with your API key.
{ "object": "run", "id": "run_xhuatzbeyz4bkfka472bc3lxey", "livemode": true, "source": "booking", "operation": "hotels/search", "version": "1.0.2", "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" } ] }
77 fields per hotel
Every call returns them for each record, in the results of its JSON answer.
Search hotels
77 fields- object
- text
- hotel
- id
- id
- The stay's id on Booking.com.
1000001- position
- number
- Its rank in the list as Booking shows it, ads included, across pages.
- 1
- name
- text
- Its name, as the page shows it.
- Harbor View Hotel
- page
- text
- Its country and page name on Booking.com (us/doubletree-san-diego-del-mar): booking/reviews/list's `hotel`.
- us/harbor-view-hotel-san-diego
What it costs
Billed by the call: 1 credits, whatever the page holds (up to 50 hotels). Pick how many calls a month.
1 credit a call
Calls a month
100
Built to run
Every call counts; a day is green at 99.5% successful.
- Successful calls
- 88.52%
- Median call
- 3.0 s
A call fails when the site does not answer or we cannot read its answer; a wrong input is not counted.
Frequently asked questions
What people ask before calling booking/hotels/search.
Search hotels
When do I 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.
What do I give it?
destination(required): Where: a city, region, neighborhood, landmark or address as a person types it in Booking.com's search box (San Diego; Gaslamp Quarter, San Diego; Times Square), which Booking resolves itself, or Booking's id for a destination with its kind, as a search page's address writes them (dest_typeanddest_id): city/20015725, region/1234, district/2092, landmark/16546.check_in: The first night, YYYY-MM-DD, withcheck_out. Without dates, Booking lists every stay of the destination, without prices.check_out: The day the guests leave, YYYY-MM-DD, aftercheck_in.adults: The adults, as the search box's guests.children: The children's ages, one for each child, as the search box asks them ([4, 9]).rooms: The rooms, at most one for each adult.sort: The order, as the search page's Sort by menu offers it: Booking's top picks, homes and apartments first, the lowest or highest price first, the best reviewed at the lowest price, the most or fewest stars first, stars and price, the nearest to the center, the top reviewed, the nearest to a beach (a destination with beaches).stars: The stays of these star ratings only, as the page's Property rating filter ([4, 5]). All when empty.min_review_score: The stays whose guests score them this or more out of 10 only, as the page's Review score filter: 9 (wonderful), 8 (very good), 7 (good), 6 (pleasant). All when not set.free_cancellation: The stays with free cancellation only, as the page's Reservation policy filter.breakfast_included: The stays with breakfast included only, as the page's Meals filter.filters: Any other of the page's filters, as its address writes them once ticked (nflt): htid=204 (hotels), htid=201 (apartments), chaincode=1078 (a brand), di=2092 (a neighborhood), hotelfacility=107 (free WiFi). They combine with the options above.currency: The currency of the prices, by its code (USD, EUR, GBP...).locale: The language of Booking's own words in the answer (names, kinds, distances, deals), as Booking.com writes its languages: en-us, en-gb, fr, de, es...
What does it return?
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. Every record has the same fields, empty ones included: they are all listed above.
How do I get the next page?
Each answer ends with next: the following call, whole. Send it as it is; it is null after the last page. A page holds 50 records at most.
Pricing
What does a call cost?
1 credit per call that returns stays, a page of up to 50. An empty answer and a failed call are free.
When is a call free?
- an empty page (past the end, or nothing found)
- a call that fails
Errors
What can go wrong?
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, retry): Booking.com did not answer properly; retry later (not charged).unexpected_answer(424): Booking.com answered in a shape we do not read yet; we are told and fix it (not charged).
How long can a call take?
30 seconds at most by default, up to 60 with timeout_s. A call past it answers timeout (408), is not charged, and can be sent again.
API and agents
Can my AI agent run it?
Yes: connect the lobstr.io MCP server (https://api.lobstr.io/v2/mcp, your API key as a Bearer token); its run_operation tool runs booking/hotels/search. Its page for agents, in Markdown: booking/hotels/search.md.
Where is its full description?
The contract, as JSON: https://api.lobstr.io/v2/catalog/booking/hotels/search: every option, every field, the price and the errors. This page is drawn from it.
Ready to call it?
An API key in a minute, then the call above, from your code or your agent.