Skip to content
OperationsBooking.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.

booking/hotels/search1 credit a callv1.0.3

When 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.

1Request
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.
The first night, YYYY-MM-DD, with check_out.
The day the guests leave, YYYY-MM-DD, after check_in.
The stays of these star ratings only, as the page's Property rating filter ([4, 5]).
1 credit a call
Code, from the fields above
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
      ]
    }
  }'
2Response

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

destinationstringrequired
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.
check_instring
The first night, YYYY-MM-DD, with check_out. Without dates, Booking lists every stay of the destination, without prices.
check_outstring
The day the guests leave, YYYY-MM-DD, after check_in.
adultsintegerDefault 2
The adults, as the search box's guests.
childreninteger[]Default []
The children's ages, one for each child, as the search box asks them ([4, 9]).
roomsintegerDefault 1
The rooms, at most one for each adult.
sort"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
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).
starsstring[]Default []
The stays of these star ratings only, as the page's Property rating filter ([4, 5]). All when empty.
min_review_score6 | 7 | 8 | 9
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_cancellationbooleanDefault false
The stays with free cancellation only, as the page's Reservation policy filter.
breakfast_includedbooleanDefault false
The stays with breakfast included only, as the page's Meals filter.
filtersstring[]Default []
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.
currencystringDefault USD
The currency of the prices, by its code (USD, EUR, GBP...).
localestringDefault en-us
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...
cursorstring
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).

Record

Each record of results, in the envelope every call returns (Run an operation).

objectstring
idstring
The stay's id on Booking.com.
positioninteger
Its rank in the list as Booking shows it, ads included, across pages.
namestring
Its name, as the page shows it.
pagestring
Its country and page name on Booking.com (us/doubletree-san-diego-del-mar): booking/reviews/list's hotel.
urlstring
Its page on Booking.com.
type.idinteger
Booking's id for the kind: 204 hotels, 201 apartments, 206 resorts...
type.namestring
The kind as the search's own filter names it: Hotels, Apartments...
stars.valuefloat
From 1 to 5.
stars.symbolstring
How Booking shows them: stars (the property's official rating) or tiles (homes).
rating.valuefloat
From 1 to 10.
rating.scalefloat
rating.countinteger
The reviews it is from.
rating.labelstring
Booking's word for it: Wonderful, Very Good, Good...
rating.highlight.topicstring
Location, Staff, Cleanliness...
rating.highlight.tagstring
Booking's name for the topic: hotel_location...
rating.highlight.valuefloat
From 1 to 10.
external_rating.valuefloat
external_rating.scalefloat
external_rating.countinteger
external_rating.labelstring
external_rating.highlightnull
review_summary.textstring
review_summary.languagestring
review_summary.reviews_countinteger
The reviews it sums up.
descriptionstring
Its description, when the search shows one.
location.addressstring
location.citystring
San Diego (California).
location.areastring
Its neighborhood and city, as the card shows them.
location.districtstring
A popular district it is in, when Booking says one.
location.country_codestring
location.latitudefloat
location.longitudefloat
location.city_idinteger
Booking's id for its city (city/<city_id> as a destination).
location.distancestring
Its distance from the center, as the card says it.
location.transitstring
The nearest public transport, when the card says it.
location.centralboolean
Booking says it is centrally located.
location.best_rated_areaboolean
It is in the area guests rate best for its location.
location.beach.nameslist
location.beach.distancestring
Beachfront, 2.3 km from beach...
photo_urlstring
Its main photo, 600 pixels square.
price.amountfloat
price.currencystring
price.textstring
As the page writes it: US$106.33.
price.per_nightfloat
Booking's average price per night, when it shows one.
price.in_hotel_currency.amountfloat
price.in_hotel_currency.currencystring
price.in_hotel_currency.textstring
price.before_discountfloat
What it was before a discount, when there is one.
price.chargesstring
What the price includes, when the page says it: Includes taxes and fees.
price.excluded_charges.amountfloat
Their total for the stay.
price.excluded_charges.itemslist
price.discountslist
price.dealslist
offer.room_idstring
offer.occupancyinteger
The guests it is for.
offer.meal_plan.idinteger
Booking's id for the offer's meal plan; text says it when a meal is included.
offer.meal_plan.textstring
Breakfast included...
offer.meal_plan.typestring
offer.free_cancellation_untildate
Free cancellation until then, UTC.
offer.no_prepaymentboolean
No payment needed in advance.
offer.only_leftstring
We have 1 left at this price...
offer.children_stay_free.ageslist
offer.third_partyboolean
The offer is a partner's, sold on Booking.com.
offer.bundle_idstring
A rate with extras, when it is one.
offer.policy_group_idstring
Booking's id for the rate's policies.
offer.unitslist
The rooms or homes the offer is for.
ad.idstring
The ad's id in Booking's auction.
ad.cpcfloat
What its click costs, as Booking's answer says it (cpc); the currency is not said.
preferredboolean
In Booking's Preferred Partner Program.
preferred_plusboolean
In Booking's Preferred Plus program.
visibility_boosterboolean
In Booking's Visibility Booster (a higher commission for a better rank).
newly_openedboolean
hoststring
professional, or private for a host who is a person.
sustainabilitylist
Its sustainability certifications, when Booking says it is a sustainable stay.
source_urlstring
The search on Booking.com, where a person sees it.
observed_atdate
When it was read, UTC.

Errors

Its own, besides those of every call (Errors). A failed call is free.

CodeStatusWhat it means
invalid_input422Pass 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_unavailable503Booking.com did not answer properly; retry later (not charged). Retryable.
unexpected_answer424Booking.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-29
A search's list stops where Booking stops serving new stays, after 1,050 (21 pages of 50); the pages after only repeated stays already given.
1.0.22026-11-27
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).
1.0.12026-11-27
Positions follow one another across pages when a page holds more stays than asked (an ad among them).
1.0.02026-11-27
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.