人们会在 Reddit 上问该买哪款产品,把你的品牌和竞争对手放在一起提,还没联系客服就先抱怨一通。手动查看,只能看到恰好出现在你信息流里的帖子,其余的都会漏掉。Lovely Router 按你掌控的计划来执行搜索。发送关键词或子版块,每个帖子返回一个 JSON 对象,按帖子数从预付费余额中计费。
交给你的 AI 智能体
把这段提示词复制到 Claude Code、Cursor、Codex 或任何编程智能体中。它会告诉智能体文档在哪里,以及如何使用你的 API 密钥。
用 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>工作原理
写好你的搜索词
你的品牌名、产品名、竞争对手的名字,以及买家会问的问题。也可以指定一个子版块,只在其中搜索。
设置上限后运行工具
把它们连同
max_results发送到POST /v1/tools/reddit-search/run。运行会从你的余额中预留它的最高费用,并以 JSON 返回帖子。对新内容发出提醒
用
timeframe把每次运行限定在最近一天或一周,保存已经见过的帖子链接,再把新的发给团队。
一次请求获取 Reddit 上的提及
Reddit 帖子搜索在 queries 中接受搜索词,用 maxPosts 限制每个搜索词的帖子数,并用 timeframe 设置时间范围:
curl https://lovelyrouter.com/v1/tools/reddit-search/run \
-H "Authorization: Bearer $LOVELY_API_KEY" \
-H "content-type: application/json" \
-d '{
"input": {
"queries": [
"best budget mechanical keyboard"
],
"maxPosts": 20,
"timeframe": "week"
},
"max_results": 20
}'timeframe 可取 all、year、month、week、day 或 hour。加上 subredditName 可以只在某一个社区内搜索,sort 可取 relevance、hot、top、new 或 comments。运行的 max_results 限制总数,并在你的各个搜索词之间平均分配。运行超过 60 秒仍未结束时会返回 202;轮询方法见运行工具。
每个帖子包含什么
| 字段组 | 你会得到 |
|---|---|
| 内容 | 帖子标题和正文 |
| 信号 | 得分和评论数 |
| 人物 | 作者 |
| 时间 | 日期 |
在整个 Reddit 范围内搜索时,请让 sort 保持为 relevance。其他排序方式与 subredditName 搭配使用效果最好。请依法使用他人的数据,包括遵守你所在地的隐私和反垃圾信息规定,责任由你自己承担。
实用配方
用你的品牌名搜索,把 timeframe 设为 day,每天早上把新帖子通过邮件发给你的社区经理。
把你的名字和每个竞争对手的名字放在一起搜索,统计谁被推荐得比其他人更多、频率如何。
在 year 范围内搜索 best budget mechanical keyboard 这样的短语,回复那些仍然活跃的帖子。
设置 subredditName,把 sort 设为 top、timeframe 设为 month,看看这个社区最关心什么。
取评论最多的帖子的链接,发送给评论工具,获取完整的讨论。
更想直接用自然语言提问?连接 MCP 服务器,然后对 Claude Code 或 Cursor 说:"在 Reddit 上搜索我们的产品名和这个列表里的两个竞争对手,范围是最近一个月,取 60 个帖子,告诉我哪些问题出现得最多。把 max_results 设为 60。"
与其他聆听来源搭配
Reddit 只是其中一个声音,其他工具覆盖对话的其余部分:
按搜索词或版块获取 Reddit 帖子:标题、正文、得分、评论数、作者、日期。
按 URL 获取 Reddit 帖子及其评论。
匹配关键词、话题标签或指定账号的推文:内容、作者、互动数据、日期。
Threads 用户的帖子或关键词搜索结果。
Google 新闻中某个搜索的新闻文章(支持运算符:"精确短语"、OR、-排除词、site:、intitle:),可限定时间范围:标题、来源、日期及发布网站上的文章链接。
reddit-comments读取你找到的帖子的完整评论。x-search用同样的关键词查找 X 上的帖子。threads-posts搜索 Threads 上的公开帖子。google-news补充对同样名字的媒体报道。
费用说明
按帖子付费:启动运行时会预留它的最高费用,即每次调用费加上每个帖子费乘以 max_results,结束后按实际返回的结果结算,预留的剩余部分退回你的余额。失败或超时的运行只为已交付的帖子付费,在开始时就被拒绝的运行不收费。
每天检查 100 个帖子,就按每天 100 个帖子计费。没有订阅,也没有每月最低消费:最低充值 $5,工具和模型共用一个余额。上方卡片显示的是当前价格;价格页面列出了所有工具。
常见问题
可以只在某一个子版块里搜索吗?+
可以。设置 subredditName,不要带 r/。配合 queries 时在该社区内搜索;不带 queries 时,则按 sort 和 timeframe 列出该社区的帖子。
为什么会得到不相关的帖子?+
relevance 之外的排序方式会把所有仅仅提到你的词的帖子都排进来,往往只是出现在正文里。请把它们与 subredditName 搭配使用。
能只关注新帖子吗?+
使用较短的 timeframe,例如 day,并保存已经见过的链接。
会返回评论吗?+
不会,只返回帖子及其评论数。要读取一个帖子的内容,请使用 Reddit 评论。
需要订阅吗?+
不需要。你向预付费余额充值,每次运行从中扣费。失败的运行只为已交付的结果付费,不会自动续费。