无论是你发布产品,还是竞争对手发布产品,公告下的回复都是了解反响最快、最真实的渠道,但没人会逐条去读 400 条回复,而且这个帖子还在不断增长。Lovely Router 替你读。发送帖子链接,每条回复返回一个 JSON 对象,按回复数量从预付费余额中计费。用一个 API 密钥,就能从脚本、每日报告或 AI 智能体中调用。
交给你的 AI 智能体
把这段提示词复制到 Claude Code、Cursor、Codex 或任何编程智能体中。它会告诉智能体文档在哪里,以及如何使用你的 API 密钥。
读懂 X 帖子下的回复,看产品发布反响如何. 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/x-replies/run。运行会从你的余额中预留它的最高费用,并以 JSON 返回回复。梳理大家说了什么
把回复归类为提问、好评、缺陷报告和功能需求,可以手动,也可以交给模型,再按互动量排序。
一次请求获取帖子的回复
获取 X(Twitter)帖子回复在 postUrls 中接受帖子链接,上限填在 resultsLimit:
curl https://lovelyrouter.com/v1/tools/x-replies/run \
-H "Authorization: Bearer $LOVELY_API_KEY" \
-H "content-type: application/json" \
-d '{
"input": {
"postUrls": ["https://x.com/elonmusk/status/1905584213761351970"],
"resultsLimit": 100
},
"max_results": 100
}'运行超过 60 秒仍未结束时会返回 202;运行工具介绍了如何轮询。
每条回复包含什么
| 字段分组 | 包含内容 |
|---|---|
| 内容 | 回复的文本 |
| 作者 | 回复的作者 |
| 互动 | 这条回复的互动数据 |
| 时间 | 发布日期 |
一次运行最多返回 500 条回复,默认 20 条。请把上限设为你实际会阅读或分析的数量。
实用做法
公告发出两小时后,拉取最早的 200 条回复。统计其中的提问,标出缺陷报告,并把互动量最高的五条发给团队。
让模型把竞争对手调价帖下的回复聚类成若干主题,再把最大的主题用到你自己的宣传中。
当客户投诉开始扩散,收集回复,看看还有谁遇到同样的问题、他们尝试过什么。
拉取你产品帖下的回复,保留以问号结尾的,在文档中回答重复最多的那些。
对你的帖子和对手的帖子运行同一个任务,比较回复数量和互动最高的回复。
想用大白话操作?连接 MCP 服务器,然后对 Claude Code 或 Cursor 说:"读取这条 X 帖子最新的 200 条回复,分成提问、投诉和好评三组,并在每组中引用点赞最多的三条。把 max_results 设为 200。"
搭配其他 X 数据
回复只是一条讨论线索。要看更广泛的讨论以及参与者是谁:
按 URL 获取 X/Twitter 帖子的回复:内容、作者、互动、日期。
匹配关键词、话题标签或指定账号的推文:内容、作者、互动数据、日期。
X/Twitter 账号的资料:简介、粉丝、关注、认证状态与各项计数。
按 URL 获取 Reddit 帖子及其评论。
YouTube 视频或 Shorts 的评论:内容、点赞、回复数、作者、日期。按热门或最新排序。
x-search能找到讨论你的发布、却没有 @ 你的帖子,支持min_faves:和since:等运算符。x-profile用来查看回复最活跃的人是谁。reddit-comments收集同一次发布在 Reddit 上的讨论。youtube-comments针对发布视频做同样的事。
如需持续的提及信息流,请参阅社交聆听。
回复来自真实的用户。如果你要存储或联系他们,需要自行负责合法使用这些数据,包括遵守隐私和反垃圾信息规定。
费用说明
按回复计费:开始运行时会预留最高费用,即单次调用费加上单条回复费用乘以 max_results,运行结束后按实际返回的数量结算,其余预留金额退回你的余额。运行失败或超时只为已交付的回复付费,开始时就被拒绝的运行不收费。
读取 200 条回复按 200 条回复计费。没有订阅,也没有每月最低消费:最低 $5 起充值,一份余额同时支付工具和模型。上方卡片显示今天的价格;定价列出了所有工具。
常见问题
一次运行可以传入多个帖子吗?+
postUrls 是列表,所以可以。resultsLimit 的上限是共用的,帖子越多,就应相应调高。
最多能获取多少条回复?+
每次运行最多 500 条;不设置上限时为 20 条。需要更多的话,可以再发起运行。
每条回复里有什么?+
文本、作者、互动数据和日期。
包含对回复的回复吗?+
该工具的描述是按 URL 获取帖子的回复,关于嵌套回复没有更多文档说明,所以请先用一次小规模运行确认。
需要 X 账号吗?+
不需要。你只需发送帖子链接和一个 API 密钥。
需要订阅吗?+
不需要。你向预付费余额充值,每次运行从中扣减。失败的运行只为已交付的结果付费,也不会自动续费。