{"operation":"hotels/search","version":"1.0.2","status":"pilot","title":"Search hotels","summary":"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.","use_when":"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.","categories":["Travel"],"icon":"house_lens","source":"booking","input":{"type":"object","required":["destination"],"additionalProperties":false,"properties":{"destination":{"type":"string","minLength":1,"maxLength":200,"description":"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_type` and `dest_id`): city/20015725, region/1234, district/2092, landmark/16546.","examples":["San Diego","city/20015725"]},"check_in":{"type":"string","format":"date","description":"The first night, YYYY-MM-DD, with `check_out`. Without dates, Booking lists every stay of the destination, without prices.","examples":["2026-12-14"]},"check_out":{"type":"string","format":"date","description":"The day the guests leave, YYYY-MM-DD, after `check_in`.","examples":["2026-12-15"]},"adults":{"type":"integer","minimum":1,"maximum":30,"default":2,"description":"The adults, as the search box's guests."},"children":{"type":"array","maxItems":10,"items":{"type":"integer","minimum":0,"maximum":17},"default":[],"description":"The children's ages, one for each child, as the search box asks them ([4, 9]).","examples":[[4,9]]},"rooms":{"type":"integer","minimum":1,"maximum":30,"default":1,"description":"The rooms, at most one for each adult."},"sort":{"enum":["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_picks","description":"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":{"type":"array","maxItems":5,"items":{"enum":[1,2,3,4,5]},"default":[],"description":"The stays of these star ratings only, as the page's Property rating filter ([4, 5]). All when empty.","examples":[[4,5]]},"min_review_score":{"enum":[6,7,8,9],"description":"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":{"type":"boolean","default":false,"description":"The stays with free cancellation only, as the page's Reservation policy filter."},"breakfast_included":{"type":"boolean","default":false,"description":"The stays with breakfast included only, as the page's Meals filter."},"filters":{"type":"array","maxItems":20,"items":{"type":"string","pattern":"^[A-Za-z_]+=[A-Za-z0-9_.-]+$"},"default":[],"description":"Any other of the page's filters, as its address writes them once ticked (`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.","examples":[["ht_id=204"]]},"currency":{"type":"string","pattern":"^[A-Za-z]{3}$","default":"USD","description":"The currency of the prices, by its code (USD, EUR, GBP...)."},"locale":{"type":"string","pattern":"^[a-z]{2}(-[a-z]{2,4})?$","default":"en-us","description":"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...","examples":["en-us"]},"cursor":{"type":"string","pattern":"^[A-Za-z0-9_=-]{40,8000}$","description":"Where to go on, from `next` in an answer, as it is: opaque, and only for the search it was given with (otherwise `invalid_cursor`)."}}},"pagination":{"style":"cursor","page_size":50,"next":{"destination":"<destination as it was written>","cursor":"<opaque>"}},"record":{"type":"object","additionalProperties":false,"required":["object","id","position","name","page","url","type","stars","rating","external_rating","review_summary","description","location","photo_url","price","offer","ad","preferred","preferred_plus","visibility_booster","newly_opened","host","sustainability","source_url","observed_at"],"properties":{"object":{"const":"hotel"},"id":{"type":"string","description":"The stay's id on Booking.com."},"position":{"type":"integer","minimum":1,"description":"Its rank in the list as Booking shows it, ads included, across pages."},"name":{"type":["string","null"],"description":"Its name, as the page shows it."},"page":{"type":["string","null"],"description":"Its country and page name on Booking.com (us/doubletree-san-diego-del-mar): booking/reviews/list's `hotel`."},"url":{"type":["string","null"],"format":"uri","description":"Its page on Booking.com."},"type":{"type":"object","description":"What kind of stay it is.","properties":{"id":{"type":["integer","null"],"description":"Booking's id for the kind: 204 hotels, 201 apartments, 206 resorts..."},"name":{"type":["string","null"],"description":"The kind as the search's own filter names it: Hotels, Apartments..."}}},"stars":{"type":["object","null"],"description":"Its stars, when it has some.","properties":{"value":{"type":"number","description":"From 1 to 5."},"symbol":{"type":["string","null"],"description":"How Booking shows them: stars (the property's official rating) or tiles (homes)."}}},"rating":{"type":["object","null"],"description":"Its guests' score on Booking.com, when it has reviews.","properties":{"value":{"type":["number","null"],"description":"From 1 to 10."},"scale":{"const":10},"count":{"type":["integer","null"],"description":"The reviews it is from."},"label":{"type":["string","null"],"description":"Booking's word for it: Wonderful, Very Good, Good..."},"highlight":{"type":["object","null"],"description":"One topic Booking puts forward with its own score, when it does.","properties":{"topic":{"type":["string","null"],"description":"Location, Staff, Cleanliness..."},"tag":{"type":["string","null"],"description":"Booking's name for the topic: hotel_location..."},"value":{"type":["number","null"],"description":"From 1 to 10."}}}}},"external_rating":{"type":["object","null"],"description":"A score from reviews written on other sites, which Booking shows for some stays (homes, new ones).","properties":{"value":{"type":["number","null"]},"scale":{"const":10},"count":{"type":["integer","null"]},"label":{"type":["string","null"]},"highlight":{"type":"null"}}},"review_summary":{"type":["object","null"],"description":"Booking's summary of its guests' reviews, when it shows one.","properties":{"text":{"type":"string"},"language":{"type":["string","null"]},"reviews_count":{"type":["integer","null"],"description":"The reviews it sums up."}}},"description":{"type":["string","null"],"description":"Its description, when the search shows one."},"location":{"type":"object","properties":{"address":{"type":["string","null"]},"city":{"type":["string","null"],"description":"San Diego (California)."},"area":{"type":["string","null"],"description":"Its neighborhood and city, as the card shows them."},"district":{"type":["string","null"],"description":"A popular district it is in, when Booking says one."},"country_code":{"type":["string","null"]},"latitude":{"type":["number","null"]},"longitude":{"type":["number","null"]},"city_id":{"type":["integer","null"],"description":"Booking's id for its city (city/<city_id> as a `destination`)."},"distance":{"type":["string","null"],"description":"Its distance from the center, as the card says it."},"transit":{"type":["string","null"],"description":"The nearest public transport, when the card says it."},"central":{"type":"boolean","description":"Booking says it is centrally located."},"best_rated_area":{"type":"boolean","description":"It is in the area guests rate best for its location."},"beach":{"type":["object","null"],"properties":{"names":{"type":"array","items":{"type":"string"}},"distance":{"type":["string","null"],"description":"Beachfront, 2.3 km from beach..."}}}}},"photo_url":{"type":["string","null"],"format":"uri","description":"Its main photo, 600 pixels square."},"price":{"type":["object","null"],"description":"The whole stay's price for the guests and rooms asked, as the page shows it: none without dates, or when no offer fits.","properties":{"amount":{"type":"number"},"currency":{"type":"string"},"text":{"type":["string","null"],"description":"As the page writes it: US$106.33."},"per_night":{"type":["number","null"],"description":"Booking's average price per night, when it shows one."},"in_hotel_currency":{"type":["object","null"],"description":"The same price in the hotel's own currency, when Booking gives it (a Paris hotel's euros for a visitor in dollars).","properties":{"amount":{"type":"number"},"currency":{"type":"string"},"text":{"type":["string","null"]}}},"before_discount":{"type":["number","null"],"description":"What it was before a discount, when there is one."},"charges":{"type":["string","null"],"description":"What the price includes, when the page says it: Includes taxes and fees."},"excluded_charges":{"type":["object","null"],"description":"The taxes and fees the price leaves out, to be paid on top, when there are some: a visitor from the US is shown prices before taxes (27/11, every stay of a San Diego search).","properties":{"amount":{"type":["number","null"],"description":"Their total for the stay."},"items":{"type":"array","items":{"type":"object","properties":{"type_id":{"type":["integer","null"],"description":"Booking's id for the charge."},"mode":{"type":["string","null"],"description":"How it is counted: PERCENTAGE, PER_NIGHT..."},"inclusion":{"type":["string","null"],"description":"EXCLUDED, or INCLUDED."},"amount":{"type":["number","null"]}}}}}},"discounts":{"type":"array","items":{"type":"object","properties":{"id":{"type":["string","null"],"description":"Booking's name for it: basic-deal, early-booker-deal, last-minute-deal..."},"name":{"type":["string","null"]},"kind":{"type":["string","null"],"description":"rate (on the rate) or total (on the stay)."},"amount":{"type":["number","null"]},"description":{"type":["string","null"]}}}},"deals":{"type":"array","items":{"type":"object","properties":{"id":{"type":["string","null"]},"name":{"type":["string","null"],"description":"Black Friday Deal..."},"description":{"type":["string","null"]}}}}}},"offer":{"type":["object","null"],"description":"The offer the price is for: Booking.com's cheapest that fits the guests, as the card shows it.","properties":{"room_id":{"type":["string","null"]},"occupancy":{"type":["integer","null"],"description":"The guests it is for."},"meal_plan":{"type":["object","null"],"properties":{"id":{"type":["integer","null"],"description":"Booking's id for the offer's meal plan; `text` says it when a meal is included."},"text":{"type":["string","null"],"description":"Breakfast included..."},"type":{"type":["string","null"]}}},"free_cancellation_until":{"type":["string","null"],"format":"date-time","description":"Free cancellation until then, UTC."},"no_prepayment":{"type":"boolean","description":"No payment needed in advance."},"only_left":{"type":["string","null"],"description":"We have 1 left at this price..."},"children_stay_free":{"type":["object","null"],"properties":{"ages":{"type":"array","items":{"type":"integer"}}}},"third_party":{"type":"boolean","description":"The offer is a partner's, sold on Booking.com."},"bundle_id":{"type":["string","null"],"description":"A rate with extras, when it is one."},"policy_group_id":{"type":["string","null"],"description":"Booking's id for the rate's policies."},"units":{"type":"array","description":"The rooms or homes the offer is for.","items":{"type":"object","properties":{"id":{"type":["string","null"]},"name":{"type":["string","null"],"description":"King Room with Sofa Bed..."},"type_id":{"type":["integer","null"]},"type_name":{"type":["string","null"],"description":"Entire studio... (homes)"},"count":{"type":["integer","null"]},"beds":{"type":"array","items":{"type":"object","properties":{"type_id":{"type":["integer","null"],"description":"Booking's id for the kind of bed."},"count":{"type":["integer","null"]}}}},"bed_count":{"type":["integer","null"]},"area":{"type":["object","null"],"description":"Its area as Booking gives it for the visitor: m², or ft² for a visitor from the US (27/11).","properties":{"value":{"type":["number","null"],"description":"The area as a number: 1023 for 1,023."},"unit":{"type":["string","null"],"description":"m², ft²"},"text":{"type":"string","description":"As Booking writes it: 1,023."}}},"bedrooms":{"type":["integer","null"]},"bathrooms":{"type":["integer","null"]},"kitchens":{"type":["integer","null"]},"living_rooms":{"type":["integer","null"]},"rooms":{"type":"array","description":"A home's rooms, when Booking lists them.","items":{"type":"object","properties":{"id":{"type":["string","null"]},"type":{"type":["string","null"]},"name":{"type":["string","null"]},"bed_type_id":{"type":["integer","null"]},"bed_count":{"type":["integer","null"]}}}}}}}}},"ad":{"type":["object","null"],"description":"The stay is an ad Booking places in the list (Sponsored), when it is one: a visitor from the US sees some (27/11, three in a first page of San Diego). The same stay can come again further on, in its own place.","properties":{"id":{"type":["string","null"],"description":"The ad's id in Booking's auction."},"cpc":{"type":["number","null"],"description":"What its click costs, as Booking's answer says it (`cpc`); the currency is not said."}}},"preferred":{"type":"boolean","description":"In Booking's Preferred Partner Program."},"preferred_plus":{"type":"boolean","description":"In Booking's Preferred Plus program."},"visibility_booster":{"type":"boolean","description":"In Booking's Visibility Booster (a higher commission for a better rank)."},"newly_opened":{"type":"boolean"},"host":{"type":["string","null"],"description":"professional, or private for a host who is a person."},"sustainability":{"type":"array","items":{"type":"string"},"description":"Its sustainability certifications, when Booking says it is a sustainable stay."},"source_url":{"type":"string","format":"uri","description":"The search on Booking.com, where a person sees it."},"observed_at":{"type":"string","format":"date-time","description":"When it was read, UTC."}}},"price":{"credits_per_call":1,"description":"1 credit per call that returns stays, a page of up to 50. An empty answer and a failed call are free.","free":["empty","failed"]},"deadline":{"default_s":30,"max_s":60},"errors":[{"code":"invalid_input","status":422,"detail":true,"message":"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."},{"code":"site_unavailable","status":503,"retryable":true,"message":"Booking.com did not answer properly; retry later (not charged)."},{"code":"unexpected_answer","status":424,"retryable":false,"message":"Booking.com answered in a shape we do not read yet; we are told and fix it (not charged)."}],"examples":[{"request":{"destination":"San Diego","check_in":"2026-12-14","check_out":"2026-12-15","stars":[4]},"records":[{"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.0,"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.0,"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"}]}],"health":{"canaries":[{"destination":"San Diego","min_records":40},{"destination":"city/20015725","sort":"lowest_price","stars":[3,4],"free_cancellation":true,"min_records":20}],"required_fields":["id","name","page","location.latitude","type.id"]},"changelog":[{"version":"1.0.2","date":"2026-11-27","notes":"A unit's area written with a thousands separator (1,023 ft², as a visitor from the US is given) is read; the area also comes as Booking writes it (`text`). A page holding one failed whole. The stay's price in the hotel's own currency, when Booking gives it (`price.in_hotel_currency`)."},{"version":"1.0.1","date":"2026-11-27","notes":"Positions follow one another across pages when a page holds more stays than asked (an ad among them)."},{"version":"1.0.0","date":"2026-11-27","notes":"First version: the stays Booking.com lists for a destination, 50 a page, for dates and guests, sorted and filtered as the search page offers, each with its price for the whole stay, its discounts and deals, the offer the price is for, stars, guest score, address and coordinates."}],"object":"operation","id":"booking/hotels/search","site":{"title":"Booking.com","domain":"booking.com","color":"#003B95"}}