# /booking/hotels/search

`POST /api/booking/hotels/search`

Price: 5 credits

Search Booking.com properties in a destination with live prices and availability for a stay

## How to use it

Find Booking.com properties in a destination. Give either a free-text destination ('New York') or a destination_id plus destination_type from the 'destinations/search' endpoint - free text is matched loosely and can land on a neighbouring place, while an id and type are honoured exactly. Supply checkin and checkout dates with the occupancy (adults, children ages, rooms) to get live nightly and total prices, the matching room with its id and bed/bedroom/bathroom layout, meal plan, free-cancellation deadline and low-availability message; without dates the properties are returned without pricing. Results carry the property id and alias for the 'hotels' and 'hotels/reviews' endpoints, guest review score and count, star rating, address, coordinates, neighborhood, distance from the center and nearest public transport, the main photo and sustainability and policy flags. The full Booking.com filter set is available: price range, property type, entire homes only, review score, star rating, meal plan, bed type, travel group, free cancellation, no prepayment, availability, sustainability certification, online payment, highly rated breakfast, distance from center, minimum bedrooms/beds/bathrooms, and the property, room and accessibility amenity catalogues. Neighborhood, landmark, brand, city and sub-destination ids narrow a search further - get them from the 'destinations' endpoint for the destination you are searching.

## Parameters

- `access-token` (string, required)

## Request body

- `timeout` (integer) — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)
- `checkin` (string, nullable) — Check-in date (YYYY-MM-DD). Prices and availability are returned for this stay (format: date)
- `checkout` (string, nullable) — Check-out date (YYYY-MM-DD) (format: date)
- `adults` (integer) — Number of adults in the stay (default: 2; min: 1; max: 30)
- `children_ages` (array) — Age of each child in the stay, one entry per child (default: []; maxItems: 10)
- `rooms` (integer) — Number of rooms requested (default: 1; min: 1; max: 30)
- `currency` (string) — Currency prices are converted to (default: "USD"; one of: "AED", "AMD", "ARS", "AUD", "AZN", "BDT", "BGN", "BHD", "BRL", "BYN", "CAD", "CHF", "CLP", "CNY", "COP", "CZK", "DKK", "EGP", "EUR", "FJD", "GBP", "GEL", "GHS", "HKD", "HUF", "IDR", "ILS", "INR", "ISK", "JOD", "JPY", "KGS", "KRW", "KWD", "KZT", "LAK", "LKR", "MAD", "MDL", "MXN", "MYR", "NAD", "NGN", "NOK", "NZD", "OMR", "PHP", "PKR", "PLN", "QAR", "RON", "RSD", "RUB", "SAR", "SEK", "SGD", "THB", "TND", "TRY", "TWD", "UAH", "USD", "UZS", "VND", "XOF", "XPF", "ZAR")
- `language` (string) — Language of the returned texts (default: "en-us"; one of: "ar", "bg", "ca", "cs", "da", "de", "el", "en-gb", "en-us", "es", "es-ar", "es-mx", "et", "fi", "fr", "he", "hi", "hr", "hu", "id", "is", "it", "ja", "ko", "lt", "lv", "ms", "nl", "no", "pl", "pt-br", "pt-pt", "ro", "ru", "sk", "sl", "sr", "sv", "th", "tl", "tr", "uk", "vi", "zh-cn", "zh-tw")
- `count` (integer, required) — Number of properties to return (min: 1)
- `destination` (string, nullable) — Destination to search in - a city, region, district, landmark, airport or country name. Matched loosely, so pass destination_id and destination_type instead when the destination must be exact (examples: "New York", "Amsterdam", "Paris")
- `destination_id` (integer, nullable) — Booking.com destination id, as returned by the 'destinations/search' endpoint
- `destination_type` (string, nullable) — Type of the destination id, as returned by the 'destinations/search' endpoint (one of: "CITY", "REGION", "DISTRICT", "COUNTRY", "AIRPORT", "LANDMARK", "HOTEL", "THEME", "LATLONG")
- `sort` (string, nullable) — Order the results are ranked in (one of: "top_picks", "business_top_picks", "entire_homes_first", "price_low_to_high", "price_high_to_low", "stars_high_to_low", "stars_low_to_high", "stars_and_price", "best_reviewed_and_lowest_price", "distance_from_center", "top_reviewed")
- `min_price_per_night` (number, nullable) — Lowest nightly price to include, in the requested currency (min: 0)
- `max_price_per_night` (number, nullable) — Highest nightly price to include, in the requested currency (min: 0)
- `property_types` (array) — Keep only these property types (default: []; one of: "apartment", "hostel", "hotel", "motel", "resort", "bed_and_breakfast", "ryokan", "farm_stay", "resort_village", "villa", "campground", "boat", "guest_house", "condo_hotel", "vacation_home", "lodge", "homestay", "country_house", "luxury_tent", "capsule_hotel", "love_hotel", "riad", "chalet", "economy_hotel", "cruise", "student_accommodation")
- `entire_homes_only` (boolean) — Keep only entire homes and apartments rather than private rooms (default: false)
- `min_review_score` (string, nullable) — Lowest guest review score to include (one of: "pleasant_6", "good_7", "very_good_8", "wonderful_9")
- `star_ratings` (array) — Keep only these property star ratings (default: []; one of: "1", "2", "3", "4", "5")
- `meal_plans` (array) — Keep only stays with these meal arrangements (default: []; one of: "breakfast_included", "all_meals_included", "all_inclusive", "breakfast_and_lunch", "breakfast_and_dinner", "kitchen_amenities")
- `bed_types` (array) — Keep only rooms offering these bed types (default: []; one of: "twin_beds", "double_bed", "queen_bed", "king_bed")
- `travel_groups` (array) — Keep only stays suiting these groups (default: []; one of: "pet_friendly", "adults_only", "lgbtq_friendly")
- `booking_policies` (array) — Keep only stays offering these reservation policies (default: []; one of: "free_cancellation", "book_without_credit_card", "no_prepayment")
- `payment_options` (array) — Keep only properties supporting these payment options (default: []; one of: "online_payments", "apple_pay")
- `property_amenities` (array) — Keep only properties offering these amenities (default: []; one of: "parking", "restaurant", "pet_friendly", "room_service", "meeting_or_banquet_facilities", "bar", "front_desk_24h", "tennis_court", "sauna", "fitness_center", "golf_course", "garden", "terrace", "non_smoking_rooms", "airport_shuttle", "fishing", "business_center", "babysitting_or_child_services", "laundry", "dry_cleaning", "continental_breakfast", "facilities_for_disabled_guests", "skiing", "hair_or_beauty_salon", "game_room", "casino", "breakfast_in_the_room", "ironing_service", "free_parking", "internet", "elevator", "express_check_in_or_out", "solarium", "safe", "valet_parking", "currency_exchange", "spa_and_wellness", "massage", "playground", "pool_table", "ping_pong", "karaoke", "windsurfing", "darts", "hot_tub", "soundproof_rooms", "bicycle_rental_paid", "canoeing", "hiking", "chapel_or_shrine", "bbq_facilities", "packed_lunches", "car_rental", "cycling", "bowling", "tour_desk", "turkish_or_steam_bath", "heating", "fax_or_photocopying", "diving", "horseback_riding", "racquetball", "snorkeling", "baggage_storage", "wifi", "mini_golf", "ski_storage", "ski_school", "hypoallergenic_room_available", "indoor_pool", "outdoor_pool", "free_wifi", "smoke_free_property", "air_conditioning", "designated_smoking_area", "atm_on_site", "private_beach", "snack_bar", "sun_deck", "concierge", "entertainment_staff", "nightclub_or_dj", "private_check_in_or_out", "shuttle_service_free", "shuttle_service_paid", "ski_rental_on_site", "ski_pass_vendor", "ski_in_ski_out_access", "special_diet_meals_on_request", "suit_press", "vending_machine_drinks", "vending_machine_snacks", "water_sports_facilities_on_site", "hot_spring_bath", "airport_shuttle_free", "shared_kitchen", "lockers", "shared_lounge_or_tv_area", "kids_club", "convenience_store_on_site", "beachfront", "evening_entertainment", "water_park", "adults_only", "daily_housekeeping", "grocery_deliveries", "parking_on_site", "private_parking", "misc_parking", "wifi_in_all_areas", "paid_wifi", "open_air_bath", "public_bath", "waterslide", "swimming_pool_toys", "board_games_or_puzzles", "indoor_play_area", "outdoor_play_equipment_for_kids", "baby_safety_gates", "kids_meals", "kid_friendly_buffet", "street_parking", "parking_garage", "electric_vehicle_charging", "public_transit_tickets", "accessible_parking", "wheelchair_accessible", "toilet_with_grab_rails", "raised_toilet", "lowered_sink", "bathroom_emergency_cord", "rooftop_pool", "infinity_pool", "pool_with_view", "heated_pool", "saltwater_pool", "plunge_pool", "pool_or_beach_towels", "pool_bar", "shallow_end", "pool_cover", "wine_or_champagne", "fruit", "airport_pickup", "airport_drop_off", "visual_aids_braille", "visual_aids_tactile_signs", "auditory_guidance", "strollers", "tennis_equipment", "badminton_equipment", "pet_basket", "pet_bowls", "coffee_house_on_site", "beach_chairs_or_loungers", "beach_umbrellas", "outdoor_furniture", "fenced_pool", "picnic_area", "outdoor_fireplace", "beauty_services", "facial_treatments", "waxing_services", "makeup_services", "hair_treatments", "manicure", "pedicure", "haircut", "hair_coloring", "hairstyling", "body_treatments", "body_scrub", "body_wrap", "light_therapy", "spa_facilities", "steam_room", "spa_lounge_or_relaxation_area", "foot_bath", "spa_or_wellness_packages", "back_massage", "neck_massage", "foot_massage", "couples_massage", "head_massage", "hand_massage", "full_body_massage", "massage_chair", "fitness", "yoga_classes", "fitness_classes", "personal_trainer", "locker_rooms", "kids_pool", "beach", "shuttle_service", "breakfast_options", "game_drives", "temporary_art_galleries", "bar_crawls", "stand_up_comedy", "movie_nights", "walking_tours", "bike_tours", "themed_dinners", "happy_hour", "tour_or_class_about_local_culture", "cooking_class", "live_music_or_performance", "live_sports_events_broadcast", "archery", "aerobics", "bingo", "security_24h", "key_access", "key_card_access", "security_alarm", "smoke_alarms", "cctv_in_common_areas", "cctv_outside_property", "fire_extinguishers", "bicycle_parking", "laundry_room", "ski_shuttle", "bath_or_hot_spring", "swimming_pool", "guests_have_the_option_to_reuse_towels", "carbon_monoxide_detector", "carbon_monoxide_sources", "key_card_or_motion_controlled_electricity_for_guests", "bicycle_rental", "guest_accommodation_disinfected_between_stays", "guest_accommodation_sealed_after_cleaning", "physical_distancing_in_dining_areas", "food_can_be_delivered_to_guest_accommodation", "first_aid_kits_available", "contactless_check_in_or_out", "cashless_payment_available", "physical_distancing_rules_followed", "mobile_app_for_room_service", "invoice_provided", "property_cleaned_by_professional_cleaning_companies", "passport_or_id_info_collected_online_before_you_arrive", "check_in_kiosk_in_the_lobby", "lockbox_key_collection_at_the_property", "lockbox_key_collection_near_the_property", "digital_key_access", "breakfast_to_go_containers", "delivered_food_covered_securely", "access_to_healthcare_professionals", "thermometers_for_guests_provided_by_property", "face_masks_for_guests_available", "all_windows_are_double_glazed", "offer_vegetarian_options_on_the_menu")
- `room_amenities` (array) — Keep only properties whose rooms offer these amenities (default: []; one of: "tea_or_coffee_maker", "internet_facilities", "minibar", "shower", "bath", "safety_deposit_box", "pay_per_view_channels", "tv", "telephone", "fax", "air_conditioning", "hairdryer", "wake_up_service_or_alarm_clock", "hot_tub", "iron", "kitchenette", "balcony", "suit_press", "bathrobe", "spa_tub", "radio", "refrigerator", "desk", "shared_bathroom", "ironing_facilities", "seating_area", "free_toiletries", "dvd_player", "cd_player", "fan", "toilet", "microwave", "dishwasher", "washing_machine", "video", "video_games", "patio", "private_bathroom", "extra_long_beds", "heating", "walk_in_closet", "shared_toilet", "slippers", "satellite_channels", "kitchen", "wireless_internet", "cable_channels", "bath_or_shower", "carpeted", "fireplace", "additional_toilet", "interconnected_rooms", "laptop_safe", "flat_screen_tv", "private_entrance", "sofa", "soundproofing", "tile_or_marble_floor", "view", "hardwood_or_parquet_floors", "wake_up_service", "alarm_clock", "dining_area", "electric_kettle", "executive_lounge_access", "ipod_dock", "kitchenware", "mosquito_net", "towels_or_sheets_extra_fee", "sauna", "private_pool", "dryer", "wardrobe_or_closet", "oven", "stovetop", "toaster", "barbecue", "bidet", "computer", "ipad", "game_console", "game_console_xbox_360", "game_console_ps2", "game_console_ps3", "game_console_nintendo_wii", "sea_view", "lake_view", "garden_view", "pool_view", "mountain_view", "landmark_view", "laptop", "hypoallergenic", "cleaning_products", "electric_blankets", "additional_bathroom", "blu_ray_player", "coffee_machine", "city_view", "river_view", "terrace", "towels", "linens", "dining_table", "childrens_high_chair", "outdoor_furniture", "outdoor_dining_area", "entire_unit_located_on_ground_floor", "upper_floors_by_elevator", "upper_floors_by_stairs_only", "entire_unit_wheelchair_accessible", "detached", "semi_detached", "private_apartment_in_building", "clothes_rack", "fold_up_bed", "drying_rack_for_clothing", "toilet_paper", "child_safety_socket_covers", "board_games_or_puzzles", "books_dvds_or_music_for_children", "baby_safety_gates", "sofa_bed", "toilet_with_grab_rails", "adapted_bath", "roll_in_shower", "walk_in_shower", "raised_toilet", "lower_sink", "emergency_cord_in_bathroom", "shower_chair", "rooftop_pool", "infinity_pool", "pool_with_a_view", "heated_pool", "salt_water_pool", "plunge_pool", "pool_towels", "shallow_end", "pool_cover", "wine_or_champagne", "bottle_of_water", "fruit", "chocolate_or_cookies", "trash_cans", "wine_glasses", "game_console_xbox_one", "game_console_wii_u", "game_console_ps4", "cribs", "toothbrush", "shampoo", "conditioner", "body_soap", "shower_cap", "pajamas", "yukata", "socket_near_the_bed", "adapter", "feather_pillow", "non_feather_pillow", "hypoallergenic_pillow", "accessible_by_elevator", "inner_courtyard_view", "quiet_street_view", "mobile_hotspot_device", "smartphone", "streaming_service", "lockers", "smoke_alarm", "fire_extinguisher", "key_access", "key_card_access", "reading_light", "earplugs", "privacy_curtain", "window", "open_air_bath", "tatami", "carbon_monoxide_detector", "carbon_monoxide_sources", "air_purifiers", "executive_lounge_breakfast", "executive_lounge_all_day_snacks", "executive_lounge_afternoon_snacks", "executive_lounge_evening_snacks", "free_spa_access", "free_gym_access", "executive_lounge_business_areas", "access_to_private_pool", "access_to_a_private_beach", "executive_lounge_private_check_in", "concierge_services", "executive_lounge_newspapers", "free_laundry_services", "single_room_ac_for_guest_accommodation", "hand_sanitizer", "hearing_accessible", "accessible_room", "transfer_shower", "coffee_or_tea_maker", "kitchen_or_kitchenette")
- `activities` (array) — Keep only properties offering these activities and wellness options (default: []; one of: "tennis_court", "sauna", "fitness_center", "golf_course", "fishing", "skiing", "game_room", "casino", "solarium", "spa_and_wellness_center", "massage", "playground", "pool_table", "ping_pong", "karaoke", "windsurfing", "darts", "hot_tub", "bicycle_rental_paid", "canoeing", "hiking", "cycling", "bowling", "turkish_or_steam_bath", "diving", "horseback_riding", "racquetball", "snorkeling", "mini_golf", "indoor_pool", "private_beach", "entertainment_staff", "nightclub_or_dj", "water_sports_facilities_on_site", "hot_spring_bath", "kids_club", "evening_entertainment", "water_park", "open_air_bath", "public_bath", "tennis_equipment", "badminton_equipment", "beauty_services", "facial_treatments", "waxing_services", "makeup_services", "hair_treatments", "manicure", "pedicure", "haircut", "hair_coloring", "hairstyling", "body_treatments", "body_scrub", "body_wrap", "light_therapy", "spa_facilities", "steam_room", "spa_lounge_or_relaxation_area", "foot_bath", "spa_or_wellness_packages", "back_massage", "neck_massage", "foot_massage", "couples_massage", "head_massage", "hand_massage", "full_body_massage", "massage_chair", "fitness", "yoga_classes", "fitness_classes", "personal_trainer", "locker_rooms", "beach", "game_drives", "temporary_art_galleries", "bar_crawls", "stand_up_comedy", "movie_nights", "walking_tours", "bike_tours", "themed_dinners", "tour_or_class_about_local_culture", "cooking_class", "live_music", "live_sports_events_broadcast", "archery", "aerobics", "bingo", "bath_or_hot_spring", "bicycle_rental")
- `property_accessibility` (array) — Keep only properties offering these building accessibility features (default: []; one of: "toilet_with_grab_rails", "raised_toilet", "lowered_sink", "bathroom_emergency_cord", "visual_aids_braille", "visual_aids_tactile_signs", "auditory_guidance")
- `room_accessibility` (array) — Keep only properties whose rooms offer these accessibility features (default: []; one of: "ground_floor_unit", "upper_floors_by_elevator", "entire_unit_wheelchair_accessible", "toilet_with_grab_rails", "adapted_bath", "roll_in_shower", "walk_in_shower", "raised_toilet", "lower_sink", "bathroom_emergency_cord", "shower_chair")
- `available_only` (boolean) — Keep only properties that are available for the stay (default: false)
- `sustainability_certified` (boolean) — Keep only properties holding a sustainability certification (default: false)
- `highly_rated_breakfast` (boolean) — Keep only properties whose breakfast is highly rated by guests (default: false)
- `max_distance_from_center_meters` (integer, nullable) — Largest distance from the destination center, in meters (min: 1)
- `min_bedrooms` (integer, nullable) — Smallest number of bedrooms in the unit (min: 1)
- `min_beds` (integer, nullable) — Smallest number of beds in the unit (min: 1)
- `min_bathrooms` (integer, nullable) — Smallest number of bathrooms in the unit (min: 1)
- `district_ids` (array) — Keep only properties in these Booking.com neighborhood ids (default: [])
- `landmark_ids` (array) — Keep only properties near these Booking.com landmark ids (default: [])
- `brand_ids` (array) — Keep only properties of these Booking.com hotel brands, as returned in 'brands' by the 'hotels' endpoint (default: [])
- `city_ids` (array) — Keep only properties in these Booking.com cities, used to narrow a region or country search down to individual cities (default: [])
- `sub_destination_ids` (array) — Keep only properties in these Booking.com destinations, used to narrow a region or country search down to its top destinations (default: [])

## Response

### 200 — Successful Response

- `@type` (string) (default: "BookingHotelCard")
- `id` (integer, required)
- `alias` (string, required)
- `country_code` (string, required)
- `name` (string, required)
- `url` (string, required)
- `accommodation_type_id` (integer, nullable)
- `star_rating` (number, nullable)
- `star_rating_symbol` (string, nullable)
- `review` (object, nullable)
  - `@type` (string) (default: "BookingReviewScore")
  - `score` (number, nullable)
  - `review_count` (integer, nullable)
  - `label` (string, nullable)
- `address` (string, nullable)
- `city` (string, nullable)
- `destination_id` (integer, nullable)
- `latitude` (number, nullable)
- `longitude` (number, nullable)
- `display_location` (string, nullable)
- `district` (string, nullable)
- `distance_from_center` (string, nullable)
- `public_transport` (string, nullable)
- `beach_distance` (string, nullable)
- `is_centrally_located` (boolean, nullable)
- `image` (string, nullable)
- `price` (object, nullable)
  - `@type` (string) (default: "BookingPrice")
  - `amount` (number, nullable)
  - `currency` (string, nullable)
  - `formatted` (string, nullable)
- `price_per_night` (object, nullable)
  - `@type` (string) (default: "BookingPrice")
  - `amount` (number, nullable)
  - `currency` (string, nullable)
  - `formatted` (string, nullable)
- `price_before_discount` (object, nullable)
  - `@type` (string) (default: "BookingPrice")
  - `amount` (number, nullable)
  - `currency` (string, nullable)
  - `formatted` (string, nullable)
- `excluded_charges` (object, nullable)
  - `@type` (string) (default: "BookingPrice")
  - `amount` (number, nullable)
  - `currency` (string, nullable)
  - `formatted` (string, nullable)
- `room_id` (integer, nullable)
- `room_name` (string, nullable)
- `bedroom_count` (integer, nullable)
- `bathroom_count` (integer, nullable)
- `bed_count` (integer, nullable)
- `kitchen_count` (integer, nullable)
- `living_room_count` (integer, nullable)
- `area` (number, nullable)
- `area_unit` (string, nullable)
- `meal_plan` (string, nullable)
- `free_cancellation_until` (string, nullable)
- `availability_message` (string, nullable)
- `has_free_cancellation` (boolean, nullable)
- `has_no_prepayment` (boolean, nullable)
- `allows_pets_for_free` (boolean, nullable)
- `is_sustainable` (boolean, nullable)
- `sustainability_certifications` (array) (default: [])
- `host_trader_label` (string, nullable)

## Errors

### 422 — Validation Error

The request body did not validate

What to do: Check the fields against this schema. A URN with the wrong prefix is the most common cause.

- `detail` (array)
  - `loc` (array, required)
  - `msg` (string, required)
  - `type` (string, required)
  - `input` (any)
  - `ctx` (object)

### 408

The request ran past its time limit

What to do: Raise `timeout` in the request body, up to the maximum this endpoint documents. Lowering `count` or turning off the `with_*` flags also helps, because less work finishes sooner.

### 412

Destination not found

What to do: Retrying will not help: either the entity does not exist, or the input points at a different one.

### 429

Too many requests: a rate limit or a usage window is exhausted

What to do: When the response carries an X-Retry-After header, wait that many seconds and retry: the same number is in the body as `detail.retry_after`, and the limit clears once that window passes. The message in the body names the limit that was hit.

### 500

Something broke on our side

What to do: Retrying will not help. If it keeps happening, send us the X-Request-ID from the response headers.

### 529

Rate limit reached, or the endpoint is overloaded

What to do: Wait at least 30 seconds, then retry.

## Response envelope

Success: Array of objects (may be empty if no results)

Error: Error may coexist with partial results if it occurs mid-execution. Check X-Error header and status code.

Every response carries these headers:

- `X-Error` — Error message text (present only on error)
- `X-Request-ID` — Unique request identifier
- `X-Execution-Time` — Execution time in seconds
- `X-Result-Count` — How many records the body carries. 0 means an empty result, which is a normal answer and not by itself an error. A non-zero count can come back together with X-Error when the failure happened partway through — read this header and X-Error independently.
- `X-Total-Available-Results` — How many records exist for this query, when the endpoint can say. On a `dry_run` request this is the answer and the body is empty. It saturates: the endpoint's documented maximum means 'at least that many', any smaller number is exact.
- `X-Warning` — Present when the request body carried keys this endpoint does not document. They were ignored, so any filter you meant to apply through them did not apply. Check the spelling against this schema and retry.
- `X-Retry-After` — Seconds to wait before retrying. Present only on 429.

