Google Maps Search

每次成功搜索 32.5 积分
ae_google_maps_search

按关键词和地区搜索 Google 地图上的地点。结果可包含地点名称、地址、坐标、评分和营业时间。

地图搜索
每次成功搜索 32.5 积分

价格说明

搜索成功扣 32.5 积分,搜索失败不收费。

工具参数

未传入的可选参数将使用平台默认值。

参数类型必填说明默认值
mnumber否Parameter defines a map height in meters. The minimum value is `1`. The maximum value is `15028132`, which roughly equals `3z` on the equator. At the end, it is encoded as part of the ll parameter. Either m or z is required when using location or lat/lon parameters.—
qstring否Parameter defines the query you want to search. You can use anything that you would use in a regular Google Maps search. The parameter is only required if type is set to `search`.—
znumber否暂无参数说明。—
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)否Parameter defines the country to use for the Google Maps 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. Parameter only affects Place Results API.—
hlenum (af | sq | am | ar | hy | az | eu | be | bn | bs | bg | my | ca | zh | zh-cn | zh-hk | zh-tw | hr | cs | da | nl | en | en-au | en-gb | et | fa | fil | fi | fr | fr-ca | gl | ka | de | el | gu | iw | hi | hu | is | id | it | ja | kn | kk | km | ko | ky | lo | lv | lt | mk | ms | ml | mr | mn | ne | no | pl | pt | pt-br | pt-pt | pa | ro | ru | sr | si | sk | sl | es | es-419 | sw | sv | ta | te | th | tr | uk | ur | uz | vi | zu)否暂无参数说明。—
llstring否暂无参数说明。—
latnumber否Parameter defines a GPS latitude for the search origin. At the end, it is encoded as part of the ll parameter. Parameter is required when using lon parameter. Parameter should be used with z or m parameter. Parameter can't be used with ll or location parameters.—
lonnumber否Parameter defines a GPS longitude for the search origin. At the end, it is encoded as part of the ll parameter. Parameter is required when using lat parameter. Parameter should be used with z or m parameter. Parameter can't be used with ll or location parameters.—
datastring否暂无参数说明。—
typeenum (search | place)是Parameter defines the type of search you want to make. It can be set to: `search` - returns a list of results for the set q parameter, `place` - returns results for a specific place when data parameter is set Parameter is not required when using place_id or data_cid.—
startnumber否暂无参数说明。—
nearbyboolean否Parameter forces to return search results closer to the specified location. Parameter is highly recommended when q parameter includes `near me` keywords. Parameter is not recommended when q parameter includes location. Parameter should be used with ll, location, or lat/lon parameters.—
data_cidstring否暂无参数说明。—
locationstring否Parameter defines the location, whose GPS coordinates are used for the search origin. At the end, coordinates are encoded as part of the ll parameter. Parameter should be used with z or m parameter. Parameter can't be used with ll, lat or lon parameters.—
place_idstring否暂无参数说明。—
max_pricenumber否Parameter defines the upper bound of the place price range. The places with the price range overlapping with the specified one will be returned. Parameter is applicable to searches expected to return places with numerical `price` data (e.g., cafes, restaurants, bars, etc.)—
min_pricenumber否Parameter defines the lower bound of the place price range. The places with the price range overlapping with the specified one will be returned. Parameter is applicable to searches expected to return places with numerical `price` data (e.g., cafes, restaurants, bars, etc.)—
min_ratingenum (2.0 | 2.5 | 3.0 | 3.5 | 4.0 | 4.5)否Parameter defines the preferred minimum rating of the place. Places without a rating or with a rating below the specified value can still be returned, but with reduced relevance. Options: `2.0` - 2.0 `2.5` - 2.5 `3.0` - 3.0 `3.5` - 3.5 `4.0` - 4.0 `4.5` - 4.5—
open_stateenum (now | 24h)否Parameter defines the open state of the place. Options: `now` - Open now `24h` - Open 24 hours Parameter can't be used with open_on_day or open_at_hour parameters.—
open_on_dayenum (mon | tue | wed | thu | fri | sat | sun)否Parameter defines the day on which the place is open. Options: `mon` - Monday `tue` - Tuesday `wed` - Wednesday `thu` - Thursday `fri` - Friday `sat` - Saturday `sun` - Sunday Parameter can't be used with open_state parameter.—
open_at_hourenum (0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23)否暂无参数说明。—
google_domainenum (google.com | google.ad | google.ae | google.com.af | google.com.ag | google.com.ai | google.al | google.am | google.co.ao | google.com.ar | google.as | google.at | google.com.au | google.az | google.ba | google.com.bd | google.be | google.bf | google.bg | google.com.bh | google.bi | google.bj | google.com.bn | google.com.bo | google.com.br | google.bs | google.bt | google.co.bw | google.by | google.com.bz | google.ca | google.com.kh | google.cd | google.cf | google.cg | google.ch | google.ci | google.co.ck | google.cl | google.cm | google.com.co | google.co.cr | google.com.cu | google.cv | google.com.cy | google.cz | google.de | google.dj | google.dk | google.dm | google.com.do | google.dz | google.com.ec | google.ee | google.com.eg | google.es | google.com.et | google.fi | google.fm | google.com.fj | google.fr | google.ga | google.ge | google.com.gh | google.com.gi | google.gl | google.gm | google.gp | google.gr | google.com.gt | google.gy | google.com.hk | google.hn | google.hr | google.ht | google.hu | google.co.id | google.iq | google.ie | google.co.il | google.co.in | google.is | google.it | google.je | google.com.jm | google.jo | google.co.jp | google.co.ke | google.ki | google.kg | google.co.kr | google.com.kw | google.kz | google.la | google.com.lb | google.li | google.lk | google.co.ls | google.lt | google.lu | google.lv | google.com.ly | google.co.ma | google.md | google.mg | google.mk | google.ml | google.com.mm | google.mn | google.ms | google.com.mt | google.mu | google.mv | google.mw | google.com.mx | google.com.my | google.co.mz | google.com.na | google.ne | google.com.ng | google.com.ni | google.nl | google.no | google.com.np | google.nr | google.nu | google.co.nz | google.com.om | google.com.pk | google.com.pa | google.com.pe | google.com.ph | google.pl | google.com.pg | google.com.pr | google.ps | google.pt | google.com.py | google.com.qa | google.ro | google.rs | google.ru | google.rw | google.com.sa | google.com.sb | google.sc | google.se | google.com.sg | google.sh | google.si | google.sk | google.com.sl | google.sn | google.sm | google.so | google.sr | google.com.sv | google.td | google.tg | google.co.th | google.com.tj | google.tk | google.tl | google.tm | google.to | google.tn | google.com.tr | google.tt | google.com.tw | google.co.tz | google.com.ua | google.co.ug | google.co.uk | google.com.uy | google.co.uz | google.com.vc | google.co.ve | google.vg | google.co.vi | google.com.vn | google.vu | google.ws | google.co.za | google.co.zm | google.co.zw)否Parameter defines the Google domain to use. It defaults to `google.com`. Head to the Google domains page for a full list of supported Google domains.—

调用示例

参数模板

根据参数配置生成,使用前请替换示例值。

POST/agent-api/v1/tool/executeX-Api-Key
请求代码request.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_google_maps_search' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "type": "search"
  }
}'

暂无返回示例。