Google Maps Search
32.5 credits per successful search
ae_google_maps_search
按关键词和地区搜索 Google 地图地点
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 |
|---|---|---|---|---|
m | number | No | 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. | — |
q | string | No | 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`. | — |
z | number | No | No parameter description. | — |
gl | enum (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) | No | 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. | — |
hl | enum (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) | No | No parameter description. | — |
ll | string | No | No parameter description. | — |
lat | number | No | 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. | — |
lon | number | No | 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. | — |
data | string | No | No parameter description. | — |
type | enum (search | place) | Yes | 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. | — |
start | number | No | No parameter description. | — |
nearby | boolean | No | 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_cid | string | No | No parameter description. | — |
location | string | No | 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_id | string | No | No parameter description. | — |
max_price | number | No | 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_price | number | No | 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_rating | enum (2.0 | 2.5 | 3.0 | 3.5 | 4.0 | 4.5) | No | 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_state | enum (now | 24h) | No | 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_day | enum (mon | tue | wed | thu | fri | sat | sun) | No | 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_hour | enum (0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23) | No | No parameter description. | — |
google_domain | enum (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) | No | 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. | — |
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_google_maps_search' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"type": "search"
}
}'No response example available yet.

