google-maps
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseGoogle Maps API
Google Maps API
Place search, place details, and reviews as clean JSON — one plain HTTP GET
per call, paid as you go. No Google Cloud project, no API key restriction
rules, no per-request Places API billing.
Base URL:
https://google-maps.fetcher.sh地点搜索、地点详情及评论以简洁JSON格式返回——每次调用仅需一次简单的HTTP GET请求,按需付费。无需Google Cloud项目、无API密钥限制规则、无按请求计费的Places API费用。
基础URL:
https://google-maps.fetcher.shAuthentication
认证
Two ways to pay, same data — full mechanics in the
skill:
fetcherbash
undefined两种付费方式,数据一致——完整机制请查看技能:
fetcherbash
undefined1. Prepaid credits (recommended — get a key at https://fetcher.sh/topup
1. 预付费积分(推荐——通过 https://fetcher.sh/topup 获取密钥
or via POST /api/credits/topup, see the fetcher skill)
或通过POST /api/credits/topup,详见fetcher技能)
export FETCHER_API_KEY="bby_live_xxxxxxxxxxxx"
curl -H "Authorization: Bearer $FETCHER_API_KEY"
"https://google-maps.fetcher.sh/api/place/search?query=coffee"
"https://google-maps.fetcher.sh/api/place/search?query=coffee"
export FETCHER_API_KEY="bby_live_xxxxxxxxxxxx"
curl -H "Authorization: Bearer $FETCHER_API_KEY"
"https://google-maps.fetcher.sh/api/place/search?query=coffee"
"https://google-maps.fetcher.sh/api/place/search?query=coffee"
2. x402 pay-per-call — omit the header; a GET with no payment returns 402
2. x402按调用付费——省略请求头;未支付的GET请求会返回402状态码
with machine-readable payment requirements (USDC on Base, Polygon,
并附带机器可读的支付要求(支持Base、Polygon、Arbitrum、Monad或Solana链上的USDC)。@x402/fetch会自动签名并重试请求。
Arbitrum, Monad, or Solana). @x402/fetch signs and retries automatically.
—
Every response is `{ "status": number, "message": string, "data": ... }`; the
HTTP status mirrors `status`.
每个响应格式均为`{ "status": number, "message": string, "data": ... }`;HTTP状态码与`status`字段值一致。Endpoints (4 — all GET, $0.005/call)
端点(共4个——均为GET请求,每次调用$0.005)
| Endpoint | What it returns |
|---|---|
| Places matching a text query, optionally anchored to a coordinate |
| A place's full details by feature ID |
| A place's reviews |
| A single review by ID |
Required on search: . Optional: , ,
, , , (search radius/precision). Reviews
support (, , , ) and .
querylanguageCodecountryCodelatitudelongitudeoffsetzoomsortrelevantnewesthighestlowestcursor| 端点 | 返回内容 |
|---|---|
| 匹配文本查询的地点,可选择锚定到指定坐标 |
| 通过特征ID(fid)获取地点的完整详情 |
| 地点的评论 |
| 通过ID获取单条评论 |
搜索请求必填参数:。可选参数:、、、、、(搜索半径/精度)。评论请求支持(、、、)和参数。
querylanguageCodecountryCodelatitudelongitudeoffsetzoomsortrelevantnewesthighestlowestcursorScenarios
使用场景
Plain text search:
bash
curl -H "Authorization: Bearer $FETCHER_API_KEY" \
--data-urlencode "query=ramen in brooklyn" -G \
"https://google-maps.fetcher.sh/api/place/search"Anchor the search to a coordinate (for "near me" style queries):
bash
curl -H "Authorization: Bearer $FETCHER_API_KEY" \
--data-urlencode "query=coffee" -G \
--data-urlencode "latitude=40.7128" \
--data-urlencode "longitude=-74.0060" \
"https://google-maps.fetcher.sh/api/place/search"A place's details, then its reviews sorted by newest:
bash
curl -H "Authorization: Bearer $FETCHER_API_KEY" \
"https://google-maps.fetcher.sh/api/place/0x89c259af336b3341%3A0x8c584d6dfe89aa89"
curl -H "Authorization: Bearer $FETCHER_API_KEY" \
--data-urlencode "sort=newest" -G \
"https://google-maps.fetcher.sh/api/place/0x89c259af336b3341%3A0x8c584d6dfe89aa89/reviews"A single review by ID:
bash
curl -H "Authorization: Bearer $FETCHER_API_KEY" \
"https://google-maps.fetcher.sh/api/review/ChdDSUhNMG9nS0VJQ0FnSURDeGRXQnl3RRAB"Localized results (French language, Canadian region):
bash
curl -H "Authorization: Bearer $FETCHER_API_KEY" \
--data-urlencode "query=boulangerie" -G \
--data-urlencode "languageCode=fr" \
--data-urlencode "countryCode=CA" \
"https://google-maps.fetcher.sh/api/place/search"纯文本搜索:
bash
curl -H "Authorization: Bearer $FETCHER_API_KEY" \
--data-urlencode "query=ramen in brooklyn" -G \
"https://google-maps.fetcher.sh/api/place/search"将搜索锚定到坐标(适用于"附近"类查询):
bash
curl -H "Authorization: Bearer $FETCHER_API_KEY" \
--data-urlencode "query=coffee" -G \
--data-urlencode "latitude=40.7128" \
--data-urlencode "longitude=-74.0060" \
"https://google-maps.fetcher.sh/api/place/search"获取地点详情,然后按最新排序获取其评论:
bash
curl -H "Authorization: Bearer $FETCHER_API_KEY" \
"https://google-maps.fetcher.sh/api/place/0x89c259af336b3341%3A0x8c584d6dfe89aa89"
curl -H "Authorization: Bearer $FETCHER_API_KEY" \
--data-urlencode "sort=newest" -G \
"https://google-maps.fetcher.sh/api/place/0x89c259af336b3341%3A0x8c584d6dfe89aa89/reviews"通过ID获取单条评论:
bash
curl -H "Authorization: Bearer $FETCHER_API_KEY" \
"https://google-maps.fetcher.sh/api/review/ChdDSUhNMG9nS0VJQ0FnSURDeGRXQnl3RRAB"本地化结果(法语,加拿大地区):
bash
curl -H "Authorization: Bearer $FETCHER_API_KEY" \
--data-urlencode "query=boulangerie" -G \
--data-urlencode "languageCode=fr" \
--data-urlencode "countryCode=CA" \
"https://google-maps.fetcher.sh/api/place/search"MCP
MCP
json
{
"mcpServers": {
"google-maps": {
"url": "https://google-maps.fetcher.sh/mcp",
"headers": { "Authorization": "Bearer bby_live_..." }
}
}
}Free: , , . Paid:
(any endpoint above), , plus the named shortcut
. Drop the block to pay per call with
x402 instead — see the skill for the full
flow.
search_endpointsdescribe_endpointcheck_balancefetch_datatopup_creditsgoogle_maps_place_searchheadersfetcherjson
{
"mcpServers": {
"google-maps": {
"url": "https://google-maps.fetcher.sh/mcp",
"headers": { "Authorization": "Bearer bby_live_..." }
}
}
}免费接口:、、。付费接口:(上述任意端点)、,以及命名快捷方式。若要改用x402按调用付费,请移除块——完整流程请查看技能。
search_endpointsdescribe_endpointcheck_balancefetch_datatopup_creditsgoogle_maps_place_searchheadersfetcherErrors
错误说明
- — missing/invalid parameter (message names it)
400 - — unknown or rotated key
401 - — payment required (x402 challenge) or
402(credits exhausted)topup_required - — not a priced path
404 - No rate limits; no refunds on upstream failures (settlement precedes delivery)
- —— 参数缺失/无效(消息中会指明具体参数)
400 - —— 密钥未知或已过期
401 - —— 需要支付(x402挑战)或
402(积分耗尽)topup_required - —— 非付费路径
404 - 无速率限制;上游故障不退款(结算先于交付)
Reference
参考链接
- Full agent setup: https://google-maps.fetcher.sh/skill.md
- OpenAPI 3.1 contract: https://google-maps.fetcher.sh/openapi.json
- Condensed catalog: https://google-maps.fetcher.sh/llms.txt
- Payment, credits, and MCP deep dive: skill
fetcher - Site: https://google-maps.fetcher.sh
- 完整Agent设置:https://google-maps.fetcher.sh/skill.md
- OpenAPI 3.1契约:https://google-maps.fetcher.sh/openapi.json
- 精简目录:https://google-maps.fetcher.sh/llms.txt
- 支付、积分及MCP深度解析:技能
fetcher - 官网:https://google-maps.fetcher.sh