最好的客户研究很少出现在问卷里,而是藏在那些帖子的评论区:人们在这里对比产品、抱怨价格,或者解释自己为什么换了别家。读一个有 800 条评论的帖子很慢,手动复制又会丢掉谁在回复谁。Lovely Router 返回整个帖子。发送帖子链接,每个帖子或评论返回一个 JSON 对象,按条数从预付费余额中计费。
交给你的 AI 智能体
把这段提示词复制到 Claude Code、Cursor、Codex 或任何编程智能体中。它会告诉智能体文档在哪里,以及如何使用你的 API 密钥。
Reddit 评论数据:用于客户研究与异议挖掘. 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>工作原理
找到相关帖子
自己在 Reddit 上搜索,或用搜索工具查找,然后保留重要帖子的链接:对比、抱怨、推荐。
设置上限后运行工具
把链接连同
max_results发送到POST /v1/tools/reddit-comments/run。运行会从你的余额中预留它的最高费用,并以 JSON 返回帖子和评论。分析用语
按得分和层级对评论分组,再让模型提炼出反复出现的异议、人们使用的措辞,以及他们提到的替代品。
一次请求获取一个帖子的评论
Reddit 评论获取在 urls 中接受帖子链接,并用 maxCommentsPerPost 限制每个帖子的评论数量:
curl https://lovelyrouter.com/v1/tools/reddit-comments/run \
-H "Authorization: Bearer $LOVELY_API_KEY" \
-H "content-type: application/json" \
-d '{
"input": {
"urls": [
"https://www.reddit.com/r/nycrail/comments/1x0x0hw/i_made_a_free_browser_train_sim_of_the_nyc_subway/"
],
"maxCommentsPerPost": 100
},
"max_results": 100
}'maxCommentsPerPost 是输出上限,不等于 Reddit 上的评论总数;当公开访问受限时,一次运行返回的评论也可能更少。运行超过 60 秒仍未结束时会返回 202;轮询方法见运行工具。
每一条包含什么
| 字段组 | 你会得到 |
|---|---|
| 帖子 | 该帖子的主帖 |
| 评论 | 评论正文 |
| 信号 | 得分 |
| 人物 | 作者 |
| 时间 | 日期 |
| 结构 | 回复层级 |
回复层级能显示谁在回应谁,因此模型可以区分顶层观点和反驳。请依法使用他人的数据,包括遵守你所在地的隐私和反垃圾信息规定,责任由你自己承担。
实用配方
取十个把你的产品与替代品做对比的最大帖子,拉取评论,让模型列出人们不选你的理由。
从买家描述自己喜欢什么的帖子里拉取评论,保留得分最高的措辞。
运行用户提出某项功能需求的帖子,数一数有多少条评论表示赞同,并以它们的得分作为权重。
在你发出发布帖一小时后和一天后各运行一次,比较语气和得分。
每周保存同一个类似客服求助帖的评论,观察是否出现了新的抱怨。
更想直接用自然语言提问?连接 MCP 服务器,然后对 Claude Code 或 Cursor 说:"读取 threads.txt 中三个 Reddit 帖子的评论,每个最多 200 条,给我最常重复的五条抱怨,并附上每条的引用和得分。把 max_results 设为 600。"
与 Reddit 搜索搭配
这个工具读取你指定的帖子。要找到合适的帖子,或加入其他声音,可以用下面这些:
按 URL 获取 Reddit 帖子及其评论。
按搜索词或版块获取 Reddit 帖子:标题、正文、得分、评论数、作者、日期。
Google 搜索结果页:自然结果、广告、“相关问题”和相关搜索。一条结果 = 一个结果页(约 10 条自然链接)。
YouTube 视频或 Shorts 的评论:内容、点赞、回复数、作者、日期。按热门或最新排序。
按域名获取公司在 Trustpilot 上的评论:星级、内容、日期、回复。
reddit-search按查询词或子版块查找帖子,帮你得到可以输入的帖子链接。google-search查找更广泛网络上的讨论。youtube-comments补充视频评测下的评论。trustpilot-reviews补充结构化的客户评价,方便与论坛上的说法对照。
费用说明
按条付费:启动运行时会预留它的最高费用,即每次调用费加上每条费用乘以 max_results,结束后按实际返回的结果结算,预留的剩余部分退回你的余额。失败或超时的运行只为已交付的条目付费,在开始时就被拒绝的运行不收费。
读取 500 条评论,就按 500 条计费。没有订阅,也没有每月最低消费:最低充值 $5,工具和模型共用一个余额。上方卡片显示的是当前价格;价格页面列出了所有工具。