你每周发三条帖子,却不知道粉丝是你两倍的竞争对手,得到的反馈是不是也是你的两倍。手动比较账号,意味着逐个打开主页,再把数字抄进表格。Lovely Router 一次性把这些数据返回给你:发送账号主页 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>工作原理
列出账号
你自己的账号,加上三到十个竞争对手。
设置上限后运行工具
把账号主页 URL 放进
startUrls,发送到POST /v1/tools/instagram-posts/run。input中的maxItems是所有账号合计的上限,until只保留某个日期之后的帖子。比较每位粉丝的互动
对每条帖子,用点赞数加评论数除以发帖账号的粉丝数,再按账号求平均并进行比较。
一次请求获取近期帖子
获取 Instagram 帖子在 startUrls 中接受账号主页 URL 或用户名。由于 maxItems 是所有账号合计的数量,请把它设为账号数乘以你想从每个账号获取的帖子数:
curl https://lovelyrouter.com/v1/tools/instagram-posts/run \
-H "Authorization: Bearer $LOVELY_API_KEY" \
-H "content-type: application/json" \
-d '{
"input": {
"startUrls": [
"https://www.instagram.com/natgeo/"
],
"until": "2026-09-27",
"maxItems": 30
},
"max_results": 30
}'每条帖子都包含文案、点赞、评论数、媒体、带粉丝数的发布账号以及日期。运行超过 60 秒仍未结束时会返回 202;轮询方法见运行工具。
每条帖子包含什么
| 字段组 | 你得到的内容 |
|---|---|
| 内容 | 文案和媒体 |
| 互动 | 点赞和评论数 |
| 发布账号 | 发帖的账号,含粉丝数 |
| 时间 | 日期 |
实用配方
运行 10 个竞争对手账号,until 设为一周前,计算每位粉丝的互动,并把排名发到团队频道。
把竞争对手的帖子按媒体类型拆分,比较点赞和评论。
把某个账号的帖子日期按星期几分组,看看哪天的帖子获赞最多。
把前 20 条文案发送给模型,问问它们有什么共同点:长度、提问、行动号召。
每天运行,标记出点赞数达到该账号平均值数倍的竞争对手帖子。
更想直接用自然语言提问?连接 MCP 服务器,然后对 Claude Code 或 Cursor 说:"获取这四个 Instagram 账号各自最近的 20 条帖子,计算每位粉丝的点赞加评论数,并对这些账号排名。把 maxItems 和 max_results 设为 80。"
搭配 Reels 与账号数据
帖子只是其中一种形式。再补充账号的其他部分:
Instagram 账号的近期帖子:文案、点赞、评论数、媒体链接、日期。
Instagram 账号的 Reels:文案、播放、点赞、评论、视频链接、日期。
按用户名获取 Instagram 资料:简介、粉丝数、帖子数、近期帖子。
按 URL 获取 Instagram 帖子或 Reels 的评论。
某个 TikTok 账号的视频,附带作者的粉丝数和获赞数。
instagram-reels补充短视频的播放、点赞和评论数据。instagram-profile提供账号层面的简介、粉丝数和帖子数。instagram-comments读取粉丝在突出帖子下说了什么。tiktok-profile在 TikTok 上对标同样的竞争对手。
想了解自然发帖之外的竞争对手广告素材,请看广告情报。
费用说明
按帖子付费:启动运行时会预留它的最高费用,即每次调用费加上每条帖子费用乘以 max_results,结束后按实际返回的结果结算,预留的剩余部分退回你的余额。失败或超时的运行只为已交付的帖子付费,在开始时就被拒绝的运行不收费。
对标 10 个竞争对手、每个 20 条帖子,就按 200 条帖子计费。没有订阅,也没有每月最低消费:最低充值 $5,工具和模型共用一个余额。上方卡片显示的是当前价格;价格页面列出了所有工具。