使用场景

挖掘 YouTube 评论中的产品反馈和观众提问

以 JSON 导出 YouTube 视频和 Shorts 的评论,含正文、点赞数、回复数、作者和日期,用来发现功能需求、投诉和观众提出的问题。

预付费,无订阅REST 或 MCP一个密钥搞定模型、数据和智能体
YouTubelovelyjsonitems[0]"text": "Does it work with a 5…"likes": 214"replies": 9"author": "@beanthere""date": "2026-10-18"

你的产品或对手产品的一条测评视频下,可能有成千上万条评论,真正有用的却被埋在里面:提出缺失功能的人,解释自己为什么退货的人。一条条翻下去根本做不到规模化。Lovely Router 替你读取评论:传入视频链接,每条评论返回一个 JSON 对象,按评论条数从预付费余额中计费。用一个 API 密钥,就能把结果交给表格、分类器或 AI 智能体。

交给你的 AI 智能体

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

挖掘 YouTube 评论中的产品反馈和观众提问. 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. 选择视频

    选出你的受众会发表看法的测评视频、教程、发布视频或竞品视频。Shorts 链接同样可用。

  2. 设置上限后运行工具

    把链接发送到 POST /v1/tools/youtube-comments/run,用 sort 设为 top 或 latest,用 maxItems 指定评论数量,并用 max_results 作为运行上限。运行会从你的余额中预留它的最高费用,并以 JSON 返回评论。

  3. 打标签并统计

    让模型给每条评论打上标签(提问、投诉、功能需求、好评),然后按标签统计,并按点赞数排序,看清最重要的是什么。

02

一次请求获取视频评论

列出 YouTube 评论在 startUrls 中接受视频或 Shorts 链接。用 sort: "top" 获取大家认同的评论,用 "latest" 获取最新的反应:

curl https://lovelyrouter.com/v1/tools/youtube-comments/run \
  -H "Authorization: Bearer $LOVELY_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "input": {
      "startUrls": ["https://www.youtube.com/watch?v=xObhZ0Ga7EQ"],
      "sort": "top",
      "maxItems": 20
    },
    "max_results": 20
  }'

运行超过 60 秒仍未结束时会返回 202;轮询方法见运行工具。一次运行最多可返回 500 条评论。不包含回复,但每条评论都带有它的回复数。

03

每条评论包含什么

Field groupWhat you get
内容评论正文
触达点赞数
互动回复数
作者评论者的名称
时间评论日期
04

使用方案

建立功能需求清单。

拉取对手测评视频的前 300 条评论,让模型提取所有需求和投诉,并按评论的点赞数排序。

回答观众的提问。

取自己教程下的评论,保留带提问的,把点赞最多的整理成 FAQ 条目或下一期视频的选题。

盯住一次发布。

在发布后的一天里,每隔几小时对你的发布视频运行一次 sort: "latest",标出情绪变化,或多人反馈的同一个 bug。

比较两款产品。

拉取两者测评视频的评论,对比观众夸什么、抱怨什么。

找到铁杆粉丝。

在多个视频里,找出评论获得最多点赞和回复的作者。

更想用自然语言?连接 MCP 服务器,然后告诉 Claude Code 或 Cursor:"获取这个 YouTube 视频的前 100 条热门评论,分成提问、投诉和功能需求三组,并列出每组点赞最多的五条。把 max_results 设为 100。"

06

费用说明

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

读取 500 条评论,按 500 条评论计费。没有订阅,也没有每月最低消费:从 $5 起充值,一份余额同时支付工具和模型。上方卡片显示今日价格;价格页列出了每个工具。

07

常见问题

?
可以获取 Shorts 的评论吗?+

可以。该工具在 startUrls 中接受 YouTube 视频或 Shorts 链接。

可以按最新或最多点赞排序吗?+

可以。sort 接受 top 或 latest。

包含回复吗?+

不包含。该工具返回的是一级评论,每条评论会显示它有多少条回复。

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

用 maxItems 设置每次运行的数量。运行上限 max_results 每次运行最高 500 条评论。

需要 YouTube 账号或 API 配额吗?+

不需要。你只需传入链接和 API 密钥。

需要订阅吗?+

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

评论就是客户的声音。请参阅评论监控、社交聆听和工具目录。

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

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