新品发布帖或竞争对手广告下的评论区,满是未经过滤的客户反馈:没人回答的问题、对价格的抱怨、对尺码和颜色的需求。靠滑动屏幕来阅读,超过一条帖子就无法应付。Lovely Router 替你收集:发送帖子或 Reels 的 URL,每条评论返回一个 JSON 对象,按评论条数从预付费余额中计费。用一个 API 密钥,就能从脚本、报表任务或 AI 智能体中调用。个人资料和评论数据可能识别出具体的人,因此你需要自行确保合法使用,包括遵守隐私和反垃圾信息的规定。
交给你的 AI 智能体
把这段提示词复制到 Claude Code、Cursor、Codex 或任何编程智能体中。它会告诉智能体文档在哪里,以及如何使用你的 API 密钥。
挖掘 Instagram 评论中的客户问题与顾虑. 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>工作原理
挑选帖子
复制你自己最近的帖子、竞争对手的新品发布帖,或你所在领域评论最多的 Reels 的 URL。
设置上限后运行工具
把 URL 放进
postUrls,发送到POST /v1/tools/instagram-comments/run。input中的maxCommentsPerPost限制每条帖子的评论数,sortOrder可选popular或recent。分组并阅读
用模型按主题给评论分类:提问、抱怨、称赞、需求。统计每个主题的数量,并回答最常见的问题。
一次请求获取 Instagram 评论
列出 Instagram 评论在 postUrls 中接受帖子或 Reels 的 URL。sortOrder 为 popular 时按点赞数从高到低排列,为 recent 时按时间从新到旧排列:
curl https://lovelyrouter.com/v1/tools/instagram-comments/run \
-H "Authorization: Bearer $LOVELY_API_KEY" \
-H "content-type: application/json" \
-d '{
"input": {
"postUrls": [
"https://www.instagram.com/p/DehZj9wggt0/"
],
"maxCommentsPerPost": 100,
"sortOrder": "popular"
},
"max_results": 100
}'每条评论都包含文本、点赞数、回复数、作者和日期。运行超过 60 秒仍未结束时会返回 202;轮询方法见运行工具。
每条评论包含什么
| 字段组 | 你得到的内容 |
|---|---|
| 内容 | 评论文本 |
| 互动 | 点赞数和回复数 |
| 作者 | 评论者 |
| 时间 | 日期 |
请按帖子分别运行,并把帖子 URL 与结果保存在一起,这样你就能分清每条评论来自哪条帖子。
实用配方
从你最近 10 条帖子中拉取 popular 评论,让模型挑出其中的问题,再把答案写进你的商品页。
拉取竞争对手发布帖下的评论,把顾虑按主题归类:价格、质量、物流。
每天早上拉取你自己帖子下的 recent 评论,把含有提问的发送到客服队列。
让模型把评论分为正面、中性和负面,并按帖子绘制图表。
把你帖子下获赞最多的评论作者作为联系对象,但要遵守引言中提到的规定。
更想直接用自然语言提问?连接 MCP 服务器,然后对 Claude Code 或 Cursor 说:"获取这三条 Instagram 帖子 URL 下最受欢迎的 100 条评论,把它们分为提问、抱怨和称赞,并列出最常见的五个问题。把 maxCommentsPerPost 设为 100,max_results 设为 300。"
搭配评论背后的帖子
评论与它所属的帖子放在一起最有用:
按 URL 获取 Instagram 帖子或 Reels 的评论。
Instagram 账号的近期帖子:文案、点赞、评论数、媒体链接、日期。
Instagram 账号的 Reels:文案、播放、点赞、评论、视频链接、日期。
按 URL 获取 TikTok 视频的评论。
instagram-posts列出某个账号最近的帖子,方便你挑选要读评论的帖子。instagram-reels列出某个账号的 Reels,含播放、点赞和评论数据。tiktok-comments读取 TikTok 视频下的同类反馈。
费用说明
按评论付费:启动运行时会预留它的最高费用,即每次调用费加上每条评论费用乘以 max_results,结束后按实际返回的结果结算,预留的剩余部分退回你的余额。失败或超时的运行只为已交付的评论付费,在开始时就被拒绝的运行不收费。
读取 10 条帖子、每条 100 条评论,就按 1,000 条评论计费。没有订阅,也没有每月最低消费:最低充值 $5,工具和模型共用一个余额。上方卡片显示的是当前价格;价格页面列出了所有工具。
常见问题
也能获取 Reels 的评论吗?+
可以。该工具接受帖子 URL(/p/...)和 Reels URL(/reel/...)。
能获取多少条评论?+
maxCommentsPerPost 设置每条帖子的评论数。一次运行总共最多可返回 500 条评论。
能获取最新的评论,而不是热门评论吗?+
可以。把 sortOrder 设为 recent 按时间从新到旧排列,或设为 popular 按点赞数从高到低排列。
对私密账号有效吗?+
该工具按帖子 URL 读取评论。这里不承诺提供任何你不登录就无法在网站上打开的内容。
需要订阅吗?+
不需要。你向预付费余额充值,每次运行从中扣费。失败的运行只为已交付的结果付费,不会自动续费。