使用场景

追踪俄语市场的 Yandex 搜索排名

以 JSON 获取某个查询的 Yandex 结果页,含排名位置、标题、链接、摘要和广告,在 Google 不是主流引擎的市场追踪排名和竞争对手。

预付费,无订阅REST 或 MCP一个密钥搞定模型、数据和智能体
Yandexlovelyjsonitems[0]"position": 3"title": "Купить кофемолку для …"link": "https://example.com/e…"snippet": "Сравнение моделей и ц…"type": "organic""query": "кофемолка для эспресс…

如果你的客户在俄语市场,Google 的排名几乎说明不了什么,因为 Yandex 的排序方式不同,展示的竞争对手也不同。手动检查需要浏览器、地区设置和大量复制粘贴。Lovely Router 替你返回结果页。发送查询,每个结果页返回一个 JSON 对象,按页数从预付费余额中计费。用一个 API 密钥,就能从排名追踪脚本、报表任务或 AI 智能体中调用。

交给你的 AI 智能体

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

追踪俄语市场的 Yandex 搜索排名. 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. 列出你的查询

    写下客户会输入的搜索词,用他们输入的语言:产品词、品牌名、问题。

  2. 设置上限后运行工具

    把每条查询连同 max_results 发送到 POST /v1/tools/yandex-search/run。运行会从你的余额中预留它的最高费用,并以 JSON 返回结果页。

  3. 记录排名

    在自然搜索结果中找到你的域名,连同日期保存它的位置,并记下排在你前面的是谁、出现了哪些广告。

02

一次请求获取 Yandex 结果页

搜索 Yandex 接受 query,用 maxPages 指定读取多少页结果(每页约 10 条自然搜索结果),并用 language 控制地区排名,例如 ru、en、uk、de、tr 或 kk:

curl https://lovelyrouter.com/v1/tools/yandex-search/run \
  -H "Authorization: Bearer $LOVELY_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "input": {
      "query": "кофемолка для эспрессо",
      "maxPages": 2,
      "language": "ru"
    },
    "max_results": 2
  }'

请让 maxPages 和 max_results 保持相等。运行超过 60 秒仍未结束时会返回 202;运行工具介绍了如何轮询。

03

每个结果页包含什么

字段分组包含内容
自然搜索结果位置、标题、链接和摘要
广告该查询下展示的广告

一次运行最多读取 10 页,一个查询大约对应 100 条自然搜索结果。

04

实用做法

每周排名报告。

对 50 个目标查询读取第一页,找到你的域名,按日期保存位置。再按查询绘制排名变化图。

找出谁排在你前面。

收集主要查询的前 10 条链接,统计哪些域名出现得最多。这些就是你在 Yandex 上真正的竞争对手。

对比地区和语言。

用 ru、kk 和 uk 分别运行同一个查询,看地区排名如何改变出现的结果。

留意广告。

观察哪些广告主出现在你的购买意向查询中,以及他们的文案如何变化。

审查你的摘要。

查看你的标题和摘要如何显示,再改写那些摘要被截断或偏离主题的页面。

想用大白话操作?连接 MCP 服务器,然后对 Claude Code 或 Cursor 说:"用俄语在 Yandex 上搜索 queries.txt 里的查询,每个读取一页,告诉我 mysite.com 在每个查询中的位置。把 max_results 设为查询的数量。"

06

费用说明

按页计费:开始运行时会预留最高费用,即单次调用费加上单页费用乘以 max_results,运行结束后按实际返回的数量结算,其余预留金额退回你的余额。运行失败或超时只为已交付的页面付费,开始时就被拒绝的运行不收费。

追踪 100 个查询的第一页,按 100 页计费。没有订阅,也没有每月最低消费:最低 $5 起充值,一份余额同时支付工具和模型。上方卡片显示今天的价格;定价列出了所有工具。

07

常见问题

?
可以针对哪些语言和地区查看排名?+

language 参数支持 en、ru、uk、de、fr、tr、be、kk、uz、az、lv、lt 和 et,并以此决定地区排名。

每页有多少条结果?+

每页大约 10 条自然搜索结果,外加展示的广告。

最多可以读取多少页?+

每次运行最多 10 页,默认 1 页。

可以查看我的网站排名位置吗?+

可以。结果中每条自然搜索结果都有位置和链接,在你自己的代码中匹配你的域名即可。

能返回某个城市的结果吗?+

数据中只记录了通过语言设置来实现地区排名,所以我不建议依赖城市级别的结果。

需要订阅吗?+

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

想对比不同的搜索引擎?请参阅网页数据提取、研究智能体以及工具目录中的其他内容。

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

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