使用场景

Reddit 评论数据:
用于客户研究与异议挖掘

以 JSON 获取 Reddit 帖子及评论,含正文、得分、作者、日期和回复层级,了解客户怎么说话,以及是什么让他们不下单。

预付费,无订阅REST 或 MCP一个密钥搞定模型、数据和智能体
Redditlovelyjsonitems[0]"author": "keeb_nerd""text": "Switched to linear sw…"score": 214"date": "2026-09-14""depth": 1

最好的客户研究很少出现在问卷里,而是藏在那些帖子的评论区:人们在这里对比产品、抱怨价格,或者解释自己为什么换了别家。读一个有 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>
01

工作原理

010203
  1. 找到相关帖子

    自己在 Reddit 上搜索,或用搜索工具查找,然后保留重要帖子的链接:对比、抱怨、推荐。

  2. 设置上限后运行工具

    把链接连同 max_results 发送到 POST /v1/tools/reddit-comments/run。运行会从你的余额中预留它的最高费用,并以 JSON 返回帖子和评论。

  3. 分析用语

    按得分和层级对评论分组,再让模型提炼出反复出现的异议、人们使用的措辞,以及他们提到的替代品。

02

一次请求获取一个帖子的评论

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;轮询方法见运行工具。

03

每一条包含什么

字段组你会得到
帖子该帖子的主帖
评论评论正文
信号得分
人物作者
时间日期
结构回复层级

回复层级能显示谁在回应谁,因此模型可以区分顶层观点和反驳。请依法使用他人的数据,包括遵守你所在地的隐私和反垃圾信息规定,责任由你自己承担。

04

实用配方

收集异议。

取十个把你的产品与替代品做对比的最大帖子,拉取评论,让模型列出人们不选你的理由。

用客户的话写文案。

从买家描述自己喜欢什么的帖子里拉取评论,保留得分最高的措辞。

验证功能需求。

运行用户提出某项功能需求的帖子,数一数有多少条评论表示赞同,并以它们的得分作为权重。

检查发布后的反应。

在你发出发布帖一小时后和一天后各运行一次,比较语气和得分。

追踪反复出现的抱怨。

每周保存同一个类似客服求助帖的评论,观察是否出现了新的抱怨。

更想直接用自然语言提问?连接 MCP 服务器,然后对 Claude Code 或 Cursor 说:"读取 threads.txt 中三个 Reddit 帖子的评论,每个最多 200 条,给我最常重复的五条抱怨,并附上每条的引用和得分。把 max_results 设为 600。"

06

费用说明

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

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

07

常见问题

?
什么算一条?+

主帖和每条评论各算一条,你用 max_results 限制总数。

能读到回复的回复吗?+

评论会带有回复层级,所以只要不超出你设置的上限,嵌套的回复也会包含在内。

超大帖子里的每条评论我都能拿到吗?+

不一定。上限只是输出限制,公开访问或时间限制可能导致返回的评论比帖子实际的少。

能用这个工具按关键词搜索 Reddit 吗?+

不能,它按链接读取帖子。请先用 Reddit 搜索找到它们。

需要订阅吗?+

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

想把论坛里的讨论转化为决策?请看社交聆听、评论监测和工具目录。

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

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