搜索 Google
GoogleGoogle 搜索结果页:自然结果、广告、“相关问题”和相关搜索。一条结果 = 一个结果页(约 10 条自然链接)。
搜索 Google 新闻
Google NewsGoogle 新闻中某个搜索的新闻文章(支持运算符:"精确短语"、OR、-排除词、site:、intitle:),可限定时间范围:标题、来源、日期及发布网站上的文章链接。
Google Play 评论
Google PlayAndroid 应用在 Google Play 商店的评论。
Google 趋势热度
Google Trends某关键词随时间及按地区的 Google 趋势热度。
Google 广告透明度中心
Google AdsGoogle 广告透明度中心中某广告主的广告:形式、文案、投放日期、地区。
搜索 Google 航班
Google FlightsGoogle Flights 上某航线和日期的航班与票价:航空公司、时间、经停、时长、价格。
交给你的 AI 智能体
把这段提示词复制到 Claude Code、Cursor、Codex 或任何编程智能体中。它会告诉智能体文档在哪里,以及如何使用你的 API 密钥。
Use the Lovely Router Google data tools to get data for me. They return JSON and are billed per result.
- Docs (read first): https://lovelyrouter.com/docs/tools.md and https://lovelyrouter.com/docs/tools/run.md and https://lovelyrouter.com/docs/api/tools.md
- Tools for this:
- `google-search`: 搜索 Google ($0.00125 / page)
- `google-news`: 搜索 Google 新闻 ($0.006 / article)
- `google-play-reviews`: Google Play 评论 ($0.000195 / review)
- `google-trends`: Google 趋势热度 ($0.039 / call)
- `google-ads-transparency`: Google 广告透明度中心 ($0.0024 / ad)
- `google-flights`: 搜索 Google 航班 ($0.01125 / call)
- 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`.
- Each tool takes its own input fields: read them with GET https://lovelyrouter.com/v1/tools/<id> (public, no key needed) before the first run.
- If you support MCP, you can instead connect the server https://lovelyrouter.com/mcp (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: <describe the data you need and the output format>用代码运行
了解运行、轮询与计费 →curl https://lovelyrouter.com/v1/tools/google-search/run \
-H "Authorization: Bearer $LOVELY_API_KEY" \
-H "content-type: application/json" \
-d '{"input":{"keyword":"best espresso grinder","limit":"10","country":"US"},"max_results":10}'每个工具页面都列出了输入字段和示例输入。智能体可以通过 MCP 使用所有工具: MCP 服务器
常见问题
可以从 Google 获取哪些数据?
6 个工具:搜索 Google, 搜索 Google 新闻, Google Play 评论, Google 趋势热度, Google 广告透明度中心, 搜索 Google 航班。每个都返回 JSON,并有独立页面列出输入字段和价格。
这是Google 搜索 API吗?
是的。如果你在搜索Google 搜索 API、Google Trends 数据接口或谷歌搜索结果抓取,这就是:以 JSON 获取 Google 的搜索结果、新闻、趋势、航班、广告和 Play 商店评论。
抓取 Google 要多少钱?
每个工具按结果单独计价,最低 $0.00019。只为交付的结果付费,从预付费余额扣除,无需订阅。
需要 Google 账号或 API 密钥吗?
不需要。用你的 Lovely Router API 密钥调用工具即可获得 JSON,无需在 Google 上做任何设置。
AI 智能体可以使用这些工具吗?
可以。把 Claude Code、Cursor 或任何 MCP 客户端连接到 Lovely Router 的 MCP 服务器,智能体会用 suggest_tools 选择合适的工具,并用 run_tool 运行。
数据可以随意使用吗?
你需要合法使用数据,结果包含个人数据时还需遵守隐私法规。参见可接受使用政策。