Booking.com Search Hotels

32.5 credits per successful search
ae_booking_search_hotels

按目的地和入住条件搜索 Booking.com 住宿

Travel
32.5 credits per successful search

Pricing

A completed search is 32.5 credits. Failed searches are free.

32.5 credits per successful search

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
qstringYesParameter defines the destination to search for: a city, a region, a district, a landmark, or an airport (e.g., `Paris`, `Tuscany`, `Manhattan`, or `Eiffel Tower`). Booking.com doesn't return results for most street addresses.—
hlenum (en-us | en-gb | ar | bg | ca | zh-cn | zh-tw | hr | cs | da | nl | et | fi | fr | de | el | he | hi | hu | is | id | it | ja | ko | lv | lt | ms | no | pl | pt-br | pt-pt | ro | ru | sr | sk | sl | es | es-ar | es-mx | sv | tl | th | tr | uk | vi)NoParameter defines the language to use for the Booking.com search (e.g., `en-us` (default) for English (US), `fr` for French, or `pt-br` for Portuguese (Brazil)). Head to the Booking.com languages page for a full list of supported languages.—
nfltstringNoNo parameter description.—
limitnumberNoParameter defines the maximum number of results to return, from `1` to `100`. It defaults to `25`, like on Booking.com. Booking.com sometimes returns a few more properties: sponsored ones, or the searched property.—
roomsnumberNoParameter defines the number of rooms, from `1` (default) to `30`. It can't be greater than the number of adults.—
adultsnumberNoParameter defines the number of adults, from `1` to `30`. It defaults to `2`.—
deviceenum (desktop | tablet | mobile)NoParameter defines the device to use to get the results. It can be set to `desktop` (default) to use a regular browser, `tablet` to use a tablet browser (currently using iPads), or `mobile` to use a mobile browser.—
offsetnumberNoNo parameter description.—
ratingenum (9 | 8 | 7 | 6)NoParameter defines the minimum review score of the properties. Available options: `9` - Wonderful: 9+ `8` - Very Good: 8+ `7` - Good: 7+ `6` - Pleasant: 6+—
sort_byenum (popularity | upsort_bh | price | price_from_high_to_low | review_score_and_price | bayesian_review_score | class | class_asc | class_and_price | distance_from_search | closest_beach_distance_v2 | closest_ski_lift_distance)NoNo parameter description.—
childrennumberNoParameter defines the number of children, from `0` (default) to `10`. Their ages must be set with children_ages.—
currencyenum (hotel_currency | AED | AFN | ALL | AMD | ANG | AOA | ARS | AUD | AWG | AZN | BAM | BBD | BDT | BHD | BIF | BMD | BND | BOB | BRL | BSD | BTN | BWP | BYN | BZD | CAD | CDF | CHF | CLP | CNY | COP | CRC | CUP | CVE | CZK | DJF | DKK | DOP | DZD | EGP | ETB | EUR | FJD | GBP | GEL | GHS | GMD | GNF | GTQ | GYD | HKD | HNL | HTG | HUF | IDR | ILS | INR | IRR | ISK | JMD | JOD | JPY | KES | KGS | KHR | KMF | KRW | KWD | KYD | KZT | LAK | LKR | LRD | LSL | LYD | MAD | MDL | MGA | MKD | MMK | MNT | MOP | MRU | MUR | MVR | MWK | MXN | MYR | MZN | NAD | NGN | NIO | NOK | NPR | NZD | OMR | PAB | PEN | PGK | PHP | PKR | PLN | PYG | QAR | RON | RSD | RUB | RWF | SAR | SBD | SCR | SDG | SEK | SGD | SOS | SRD | SSP | STN | SYP | SZL | THB | TJS | TND | TOP | TRY | TTD | TWD | TZS | UAH | UGX | USD | UYU | UZS | VES | VND | VUV | WST | XAF | XCD | XOF | XPF | YER | ZAR | ZMW)NoParameter defines the currency of the returned prices. It defaults to `hotel_currency`, the currency of each property (e.g., `EUR` in Paris), returned in `currency` of each property. Head to the Booking.com currencies page for a full list of supported currency codes.—
max_pricenumberNoParameter defines the maximum price per night, in the currency of the results (e.g., `300`). It must be used together with a currency code.—
min_pricenumberNoParameter defines the minimum price per night, in the currency of the results (e.g., `100`). It must be used together with a currency code.—
flex_windowenum (1 | 2 | 3 | 7)NoNo parameter description.—
hotel_classstringNoNo parameter description.—
check_in_datestringNoParameter defines the check-in date. The format is **YYYY-MM-DD** (e.g., `2026-12-25`). It must be used together with check_out_date. When dates aren't set, Booking.com returns properties without prices.—
children_agesstringNoParameter defines the age of each child at check-out, from `0` to `17`. It's a comma-separated list of ages (e.g., `5` for one child, or `5,9` for two children). When children isn't set, it's the number of ages.—
session_tokenstringNoNo parameter description.—
check_out_datestringNoParameter defines the check-out date. The format is **YYYY-MM-DD** (e.g., `2026-12-28`). It must be used together with check_in_date, and be up to 90 nights later than it.—
property_typesstringNoParameter defines the property types to show. It's a comma-separated list of property type IDs (e.g., `204` for hotels, or `201,220` for apartments and vacation homes). Head to the Booking.com property types page for a full list of supported property types.—
free_cancellationbooleanNoParameter defines whether to only show properties with free cancellation. It can be set to `true` or `false` (default).—

Invocation example

Parameter template

Generated from the parameter configuration. Replace the sample values before use.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_booking_search_hotels' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "q": "xxx"
  }
}'

No response example available yet.