Booking.com Search Hotels
32.5 credits per successful search
ae_booking_search_hotels
按目的地和入住条件搜索 Booking.com 住宿
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.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
q | string | Yes | Parameter 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. | — |
hl | enum (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) | No | Parameter 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. | — |
nflt | string | No | No parameter description. | — |
limit | number | No | Parameter 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. | — |
rooms | number | No | Parameter defines the number of rooms, from `1` (default) to `30`. It can't be greater than the number of adults. | — |
adults | number | No | Parameter defines the number of adults, from `1` to `30`. It defaults to `2`. | — |
device | enum (desktop | tablet | mobile) | No | Parameter 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. | — |
offset | number | No | No parameter description. | — |
rating | enum (9 | 8 | 7 | 6) | No | Parameter defines the minimum review score of the properties. Available options: `9` - Wonderful: 9+ `8` - Very Good: 8+ `7` - Good: 7+ `6` - Pleasant: 6+ | — |
sort_by | enum (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) | No | No parameter description. | — |
children | number | No | Parameter defines the number of children, from `0` (default) to `10`. Their ages must be set with children_ages. | — |
currency | enum (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) | No | Parameter 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_price | number | No | Parameter 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_price | number | No | Parameter 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_window | enum (1 | 2 | 3 | 7) | No | No parameter description. | — |
hotel_class | string | No | No parameter description. | — |
check_in_date | string | No | Parameter 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_ages | string | No | Parameter 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_token | string | No | No parameter description. | — |
check_out_date | string | No | Parameter 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_types | string | No | Parameter 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_cancellation | boolean | No | Parameter defines whether to only show properties with free cancellation. It can be set to `true` or `false` (default). | — |
Invocation example
Parameter templateGenerated from the parameter configuration. Replace the sample values before use.
POST
/agent-api/v1/tool/executeX-Api-KeyRequest 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.








