Google Search Hotels

32.5 credits per successful search
ae_google_search_hotels

按目的地、日期和入住条件搜索 Google 酒店

TravelSearch
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 search query. You can use anything that you would use in a regular Google Hotels search. Parameter isn't required when using property_token, and is ignored if both are set.—
glenum (af | al | dz | as | ad | ao | ai | aq | ag | ar | am | aw | au | at | az | bs | bh | bd | bb | by | be | bz | bj | bm | bt | bo | ba | bw | bv | br | io | bn | bg | bf | bi | kh | cm | ca | cv | ky | cf | td | cl | cn | cx | cc | co | km | cg | cd | ck | cr | ci | hr | cu | cy | cz | dk | dj | dm | do | ec | eg | sv | gq | er | ee | et | fk | fo | fj | fi | fr | gf | pf | tf | ga | gm | ge | de | gh | gi | gr | gl | gd | gp | gu | gt | gg | gn | gw | gy | ht | hm | va | hn | hk | hu | is | in | id | ir | iq | ie | im | il | it | je | jm | jp | jo | kz | ke | ki | kp | kr | kw | kg | la | lv | lb | ls | lr | ly | li | lt | lu | mo | mk | mg | mw | my | mv | ml | mt | mh | mq | mr | mu | yt | mx | fm | md | mc | mn | me | ms | ma | mz | mm | na | nr | np | nl | an | nc | nz | ni | ne | ng | nu | nf | mp | no | om | pk | pw | ps | pa | pg | py | pe | ph | pn | pl | pt | pr | qa | re | ro | ru | rw | sh | kn | lc | pm | vc | ws | sm | st | sa | sn | rs | sc | sl | sg | sk | si | sb | so | za | gs | es | lk | sd | sr | sj | sz | se | ch | sy | tw | tj | tz | th | tl | tg | tk | to | tt | tn | tr | tm | tc | tv | ug | ua | ae | uk | gb | us | um | uy | uz | vu | ve | vn | vg | vi | wf | eh | ye | zm | zw)NoParameter defines the country to use for the Google Hotels search. It's a two-letter country code. (e.g., `us` for the United States, `uk` for United Kingdom, or `fr` for France) Head to the Google countries page for a full list of supported Google countries.—
hlenum (af | ak | sq | ws | am | ar | hy | az | eu | be | bem | bn | bh | bs | br | bg | bt | km | ca | chr | ny | co | hr | cs | da | nl | en | eo | et | ee | fo | tl | fi | fr | fy | gaa | gl | ka | de | el | kl | gn | gu | ht | ha | haw | iw | he | hi | hu | is | ig | id | ia | ga | it | ja | jw | kn | kk | rw | rn | kg | ko | kri | ku | ckb | ky | lo | la | lv | ln | lt | loz | lg | ach | mk | mg | ms | ml | mt | mv | mi | mr | mfe | mo | mn | my | ne | pcm | nso | no | nn | oc | or | om | ps | fa | pl | pt | pa | qu | ro | rm | nyn | ru | gd | sr | sh | st | tn | crs | sn | sd | si | sk | sl | so | es | su | sw | sv | tg | ta | tt | te | th | ti | to | lua | tum | tr | tk | tw | ug | uk | ur | uz | vu | vi | cy | wo | xh | yi | yo | zu | af-na | af-za | am-et | ar-001 | ar-ae | ar-bh | ar-dj | ar-dz | ar-eg | ar-eh | ar-er | ar-il | ar-iq | ar-jo | ar-km | ar-kw | ar-lb | ar-ly | ar-ma | ar-mr | ar-om | ar-ps | ar-qa | ar-sa | ar-sd | ar-so | ar-ss | ar-sy | ar-td | ar-tn | ar-ye | as-in | az-az | be-by | bg-bg | bn-bd | bn-in | bo-cn | bo-in | br-fr | bs-ba | ca-ad | ca-es | ca-fr | ca-it | ccp-bd | ccp-in | ceb-ph | chr-us | ckb-iq | ckb-ir | co-fr | cs-cz | cy-gb | da-dk | da-gl | de-at | de-be | de-ch | de-de | de-it | de-li | de-lu | ee-gh | ee-tg | el-cy | el-gr | en-001 | en-150 | en-ad | en-ae | en-ag | en-ai | en-al | en-ar | en-as | en-at | en-au | en-ba | en-bb | en-bd | en-be | en-bg | en-bi | en-bm | en-br | en-bs | en-bw | en-bz | en-ca | en-cc | en-ch | en-ck | en-cl | en-cm | en-cn | en-co | en-cx | en-cy | en-cz | en-de | en-dg | en-dk | en-dm | en-ee | en-er | en-es | en-fi | en-fj | en-fk | en-fm | en-fr | en-gb | en-gd | en-gg | en-gh | en-gi | en-gm | en-gr | en-gu | en-gy | en-hk | en-hr | en-hu | en-id | en-ie | en-il | en-im | en-in | en-io | en-is | en-it | en-je | en-jm | en-jp | en-ke | en-ki | en-kn | en-kr | en-ky | en-lc | en-lr | en-ls | en-lt | en-lu | en-lv | en-me | en-mg | en-mh | en-mm | en-mo | en-mp | en-ms | en-mt | en-mu | en-mv | en-mw | en-mx | en-my | en-na | en-nf | en-ng | en-nl | en-no | en-nr | en-nu | en-nz | en-pg | en-ph | en-pk | en-pl | en-pn | en-pr | en-pt | en-pw | en-ro | en-rs | en-ru | en-rw | en-sa | en-sb | en-sc | en-sd | en-se | en-sg | en-sh | en-si | en-sk | en-sl | en-ss | en-sx | en-sz | en-tc | en-th | en-tk | en-to | en-tr | en-tt | en-tv | en-tw | en-tz | en-ua | en-ug | en-um | en-us | en-vc | en-vg | en-vi | en-vu | en-ws | en-za | en-zm | en-zw | eo-001 | es-419 | es-ag | es-ai | es-ar | es-aw | es-bb | es-bl | es-bm | es-bo | es-bq | es-br | es-bs | es-bz | es-ca | es-cl | es-co | es-cr | es-cu | es-cw | es-dm | es-do | es-ea | es-ec | es-es | es-fk | es-gd | es-gf | es-gl | es-gp | es-gq | es-gt | es-gy | es-hn | es-ht | es-ic | es-kn | es-ky | es-lc | es-mf | es-mq | es-ms | es-mx | es-ni | es-pa | es-pe | es-ph | es-pm | es-pr | es-py | es-sr | es-sv | es-sx | es-tc | es-tt | es-us | es-uy | es-vc | es-ve | es-vg | es-vi | et-ee | eu-es | fa-af | fa-ir | fi-fi | fil-ph | fo-dk | fo-fo | fr-be | fr-bf | fr-bi | fr-bj | fr-bl | fr-ca | fr-cd | fr-cf | fr-cg | fr-ch | fr-ci | fr-cm | fr-dj | fr-dz | fr-fr | fr-ga | fr-gf | fr-gn | fr-gp | fr-gq | fr-ht | fr-km | fr-lu | fr-ma | fr-mc | fr-mf | fr-mg | fr-ml | fr-mq | fr-mr | fr-mu | fr-nc | fr-ne | fr-pf | fr-pm | fr-re | fr-rw | fr-sc | fr-sn | fr-sy | fr-td | fr-tg | fr-tn | fr-vu | fr-wf | fr-yt | fy-nl | ga-ie | gaa-gh | gd-gb | gl-es | gn-py | gsw-ch | gsw-fr | gsw-li | gu-in | ha-gh | ha-ne | ha-ng | haw-us | he-il | hi-in | hr-ba | hr-hr | hu-hu | hy-am | id-id | ig-ng | is-is | it-ch | it-it | it-sm | it-va | ja-jp | jv-id | ka-ge | kk-kz | km-kh | kn-in | ko-kp | ko-kr | ku-tr | ky-kg | lb-lu | lg-ug | ln-ao | ln-cd | ln-cf | ln-cg | lo-la | lv-lv | mfe-mu | mg-mg | mi-nz | mk-mk | ml-in | mn-mn | mr-in | ms-bn | ms-my | ms-sg | mt-mt | my-mm | nb-no | nb-sj | ne-in | ne-np | nl-aw | nl-be | nl-bq | nl-cw | nl-nl | nl-sr | nl-sx | nn-no | nso-za | ny-mw | nyn-ug | oc-fr | om-et | om-ke | or-in | pa-in | pl-pl | ps-af | ps-pk | pt-ao | pt-br | pt-ch | pt-cv | pt-fr | pt-gq | pt-gw | pt-lu | pt-mo | pt-mz | pt-pt | pt-st | pt-tl | qu-bo | qu-ec | qu-pe | rm-ch | rn-bi | ro-md | ro-ro | ru-by | ru-kg | ru-kz | ru-md | ru-ru | ru-ua | rw-rw | sa-in | scn-it | sd-pk | se-fi | si-lk | sk-sk | sl-si | sn-zw | so-dj | so-et | so-ke | so-so | sq-al | sq-mk | sq-xk | sr-ba | sr-me | sr-rs | sr-xk | st-ls | st-za | sv-ax | sv-fi | sv-se | sw-cd | sw-ke | sw-tz | sw-ug | ta-in | ta-lk | ta-my | ta-sg | te-in | tg-tj | th-th | ti-er | ti-et | tk-tm | tn-bw | tn-za | to-to | tr-cy | tr-tr | tt-ru | ug-cn | uk-ua | ur-in | ur-pk | uz-uz | vi-vn | wo-sn | xh-za | yi-001 | yo-bj | yo-ng | yue-cn | yue-hk | zh-cn | zh-hk | zh-mo | zh-sg | zh-tw | zu-za)NoNo parameter description.—
adultsnumberNoParameter defines the number of adults. Default to `2`.—
brandsstringNoParameter defines the brands where you want your search to be concentrated. ID values are accessible inside `brands` array, located in our JSON output (e.g. `brands[0].id`). Example for single brand only: `33` Example for multiple brands (separated by comma `,`): `33,67,101`—
ratingenum (7 | 8 | 9)NoParameter is used for filtering the results to certain rating. Available options: `7` - 3.5+ `8` - 4.0+ `9` - 4.5+—
sort_byenum (3 | 8 | 13)NoParameter is used for sorting the results. Default is sort by `Relevance`. Available options: `3` - Lowest price `8` - Highest rating `13` - Most reviewed—
bedroomsnumberNoParameter defines the minimum number of bedrooms. Default to `0`. This parameter only available for Vacation Rentals.—
childrennumberNoParameter defines the number of children. Default to `0`.—
currencyenum (ALL | DZD | ARS | AMD | AWG | AUD | AZN | BSD | BHD | BYN | BMD | BAM | BRL | GBP | BGN | XPF | CAD | CLP | CNY | COP | CRC | CUP | CZK | DKK | DOP | EGP | EUR | GEL | HKD | HUF | ISK | INR | IDR | IRR | ILS | JMD | JPY | JOD | KZT | KWD | LBP | MKD | MYR | MXN | MDL | MAD | TWD | NZD | NOK | OMR | PKR | PAB | PEN | PHP | PLN | QAR | RON | RUB | SAR | RSD | SGD | ZAR | KRW | SEK | CHF | THB | TRY | USD | UAH | AED | VND)NoParameter defines the currency of the returned prices. Default to `USD`. Head to the Google Travel Currencies page for a full list of supported currency codes.—
amenitiesstringNoNo parameter description.—
bathroomsnumberNoParameter defines the minimum number of bathrooms. Default to `0`. This parameter only available for Vacation Rentals.—
max_pricenumberNoParameter defines the upper bound of price range.—
min_pricenumberNoParameter defines the lower bound of price range.—
geo_searchbooleanNoSet to `true` to perform the search as a user in the gl country would. Booking providers and their prices then more closely reflect what that user sees on Google Hotels. For the United States, and for countries where this is not available, the search is processed as usual. Default to `false`.—
hotel_classstringNoParameter defines to include only certain hotel class in the results. Available options: `2` - 2-star `3` - 3-star `4` - 4-star `5` - 5-star Example for single hotel class only: `2` Example for multiple hotel class (separated by comma `,`): `2,3,4`—
check_in_datestringYesParameter defines the check-in date. The format is **YYYY-MM-DD**. e.g. `2026-11-26`—
children_agesstringNoParameter defines the ages of children. The age range is from `1` to `17`, with children who haven't reached 1 year old being considered as `1`. Example for single child only: `5` Example for multiple children (separated by comma `,`): `5,8,10`—
eco_certifiedbooleanNoParameter defines to show results that are eco certified. This parameter isn't available for Vacation Rentals.—
check_out_datestringYesParameter defines the check-out date. The format is **YYYY-MM-DD**. e.g. `2026-11-27`—
property_tokenstringNoParameter is used to get property details which consists of name, address, phone, prices, nearby places, and etc. You can find property_token from Google Hotels Properties API. Parameter can be used without q. If both are set, q is ignored.—
property_typesstringNoNo parameter description.—
special_offersbooleanNoParameter defines to show results that have special offers. This parameter isn't available for Vacation Rentals.—
next_page_tokenstringNoParameter defines the next page token. It is used for retrieving the next page results.—
vacation_rentalsbooleanNoParameter defines to search for Vacation Rentals results. Default search is for Hotels.—
free_cancellationbooleanNoParameter defines to show results that offer free cancellation. This parameter isn't available for Vacation Rentals.—

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_google_search_hotels' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "q": "xxx",
    "check_in_date": "xxx",
    "check_out_date": "xxx"
  }
}'

No response example available yet.