使用场景

分析你在 Google Maps 上各门店的顾客评价

以 JSON 收集你各门店在 Google Maps 上的评论:正文、星级、日期和商家回复,按时间从新到旧,找出顾客都在抱怨什么。

预付费,无订阅REST 或 MCP一个密钥搞定模型、数据和智能体
Google Mapslovelyjsonitems[0]"stars": 2"text": "Waited 40 minutes and…"date": "2026-10-22""owner_reply": "Sorry about that, ple…"place_id": "ChIJN1t_tDeuEmsRUsoyG…

如果你经营餐饮集团、诊所网络或连锁零售,每家门店都有自己的 Google Maps 评论,而且各说各的:这家服务慢,那家经理态度差。要在十家或五十家门店之间每周通读一遍,没有人能做到。Lovely Router 替你收集。发送地点 ID 或链接,每条评论返回一个 JSON 对象,按评论条数从预付费余额中计费。用一个 API 密钥,就能从脚本、看板任务或 AI 智能体中调用。

交给你的 AI 智能体

把这段提示词复制到 Claude Code、Cursor、Codex 或任何编程智能体中。它会告诉智能体文档在哪里,以及如何使用你的 API 密钥。

分析你在 Google Maps 上各门店的顾客评价. Use the Lovely Router data tools: each returns JSON and is billed per result.

- Docs (read first): https://lovelyrouter.com/docs/tools/find.md and https://lovelyrouter.com/docs/tools/run.md
- Plan first: POST https://lovelyrouter.com/v1/tools/suggest with `{"task": "<my task in plain words>"}` (free). It returns the tools to run in order, each with an example `input`, the `input_required` fields, an estimated cost and a ready-made `run` request. Replace the example values with my task's; if a field is unclear, read the tool with GET https://lovelyrouter.com/v1/tools/<id>. To browse instead, POST https://lovelyrouter.com/v1/tools/discover searches the catalog.
- Show me the plan and its estimated cost (`total_est_cost_usd`) before running anything large.
- Run: POST https://lovelyrouter.com/v1/tools/<id>/run with `{"input": {...}, "max_results": N}`. A 200 has the finished run with `items`; a 202 means it is still running, so poll the `poll` path until `status` is `succeeded`, `failed`, `timed_out` or `stopped`.
- Only delivered results are billed. Keep max_results small on the first run, check the output, then scale up.
- If you support MCP, connect https://lovelyrouter.com/mcp instead (Streamable HTTP, same key; https://lovelyrouter.com/docs/tools/mcp.md) and use suggest_tools, get_tool and run_tool.
- Auth: read my API key from the LOVELY_API_KEY environment variable and send it as `Authorization: Bearer $LOVELY_API_KEY`. Never print or commit the key. If it is not set, ask me to create one at https://lovelyrouter.com/app/keys.
- Billing is prepaid: every call is charged to my balance, so test with a small request before running anything large.
- Every docs page is plain Markdown; the full index is https://lovelyrouter.com/llms.txt.

My task: <the inputs (links, keywords or accounts) and how many results you need>
01

工作原理

010203
  1. 收集你的地点 ID

    使用每家门店的地点 ID,即以 ChIJ 或 GhIJ 开头的 27 位字符串,或者 Google Maps 的地点链接。

  2. 设置上限后运行工具

    把它们连同 maxReviews 和 max_results 发送到 POST /v1/tools/google-maps-reviews/run。用 reviewsSort 选择先返回最新的、评分最低的,还是最相关的。

  3. 分组并阅读

    按地点和周对评论分组,统计低星评论,再让模型总结这些抱怨有哪些共同点。

02

一次请求获取评论

Google Maps 评论接受 placeIds 或 startUrls。maxReviews 限制每个地点的评论数,max_results 限制整次运行:

curl https://lovelyrouter.com/v1/tools/google-maps-reviews/run \
  -H "Authorization: Bearer $LOVELY_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "input": {
      "placeIds": ["ChIJN1t_tDeuEmsRUsoyG83frY4"],
      "maxReviews": 3,
      "reviewsSort": "newest"
    },
    "max_results": 3
  }'

运行超过 60 秒仍未结束时会返回 202;轮询方法见运行工具。

03

每条评论包含什么

字段组你能获得的内容
评分给出的星级
内容评论正文
时间评论日期
回复商家的回复(如果有)

用 language 可以获取指定语言的评论。把输出与模型搭配,可以在同一个任务中翻译或分类评论。

04

实用配方

每周各门店低星评论摘要。

把每家门店的 reviewsSort 设为 newest 运行,保留最近七天内一星或两星的评论,发给对应门店的经理。

找出未回复的评论。

筛选没有商家回复的评论,把清单交给负责客户服务的同事。

按抱怨主题给门店排名。

为每家门店收集 200 条评论,请模型按等待时间、员工、清洁度或价格等主题给每条评论打标签,再对比各门店。

先读最差的评论。

把 reviewsSort 设为 lowestRanking,先看最不满的顾客写了什么,再去看普通的评论。

查看竞争对手的短板。

用对手的地点 ID 搭配 lowestRanking 运行,看哪些抱怨反复出现,再判断你能否在这些方面做得更好。

更想直接用自然语言提问?连接 MCP 服务器,然后对 Claude Code 或 Cursor 说:"读取 places.txt 中每个地点 ID 的最新 100 条评论,标出所有一星或两星的评论,并按主题对抱怨分组。把 max_results 设为 1000。"

06

费用说明

按评论付费:启动运行时会预留它的最高费用,即每次调用费加上每条评论的费用乘以 max_results,结束后按实际返回的结果结算,预留的剩余部分退回你的余额。失败或超时的运行只为已交付的评论付费,在开始时就被拒绝的运行不收费。

每周拉取 300 条评论,就按每周 300 条评论计费。没有订阅,也没有每月最低消费:最低充值 $5,工具和模型共用一个余额。上方卡片显示的是当前价格;价格页面列出了所有工具。

07

常见问题

?
在哪里能找到地点 ID?+

地点 ID 是以 ChIJ 或 GhIJ 开头的 27 位字符串。你也可以改在 startUrls 中传入 Google Maps 的地点链接。google-maps-places 可以帮你找到地点。

最多能获取多少条评论?+

maxReviews 限制每个地点的评论数,通过 max_results,一次运行总共最多返回 500 条评论。需要更多时,请启动多次运行。

能只获取最新的评论吗?+

可以。把 reviewsSort 设为 newest。其他选项有 mostRelevant、highestRanking 和 lowestRanking。

包含商家的回复吗?+

包含。有商家回复时,回复就是每条评论的一部分。

需要订阅吗?+

不需要。你向预付费余额充值,每次运行从中扣费。失败的运行只为已交付的结果付费,不会自动续费。

要跨平台监测评论?请看评论监测、工具目录和价格页面。

一个预付费密钥,搞定模型、数据和智能体

无需订阅。充值后按需使用,每笔费用都能在日志中查看。