使用场景

对标竞争对手在 Instagram 上的内容与互动

以 JSON 获取竞争对手账号近期的 Instagram 帖子,含文案、点赞、评论和粉丝数,用来对标互动表现和内容策略。

预付费,无订阅REST 或 MCP一个密钥搞定模型、数据和智能体
Instagramlovelyjsonitems[0]"caption": "New roast, same ritua…"likes": 2140"comments_count": 96"owner": "beanbrothers""followers": 48200"date": "2026-10-24"

你每周发三条帖子,却不知道粉丝是你两倍的竞争对手,得到的反馈是不是也是你的两倍。手动比较账号,意味着逐个打开主页,再把数字抄进表格。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>
01

工作原理

010203
  1. 列出账号

    你自己的账号,加上三到十个竞争对手。

  2. 设置上限后运行工具

    把账号主页 URL 放进 startUrls,发送到 POST /v1/tools/instagram-posts/run。input 中的 maxItems 是所有账号合计的上限,until 只保留某个日期之后的帖子。

  3. 比较每位粉丝的互动

    对每条帖子,用点赞数加评论数除以发帖账号的粉丝数,再按账号求平均并进行比较。

02

一次请求获取近期帖子

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

03

每条帖子包含什么

字段组你得到的内容
内容文案和媒体
互动点赞和评论数
发布账号发帖的账号,含粉丝数
时间日期
04

实用配方

每周互动对标。

运行 10 个竞争对手账号,until 设为一周前,计算每位粉丝的互动,并把排名发到团队频道。

了解哪种形式有效。

把竞争对手的帖子按媒体类型拆分,比较点赞和评论。

找出最佳发帖日。

把某个账号的帖子日期按星期几分组,看看哪天的帖子获赞最多。

研究文案。

把前 20 条文案发送给模型,问问它们有什么共同点:长度、提问、行动号召。

及早发现营销活动。

每天运行,标记出点赞数达到该账号平均值数倍的竞争对手帖子。

更想直接用自然语言提问?连接 MCP 服务器,然后对 Claude Code 或 Cursor 说:"获取这四个 Instagram 账号各自最近的 20 条帖子,计算每位粉丝的点赞加评论数,并对这些账号排名。把 maxItems 和 max_results 设为 80。"

06

费用说明

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

对标 10 个竞争对手、每个 20 条帖子,就按 200 条帖子计费。没有订阅,也没有每月最低消费:最低充值 $5,工具和模型共用一个余额。上方卡片显示的是当前价格;价格页面列出了所有工具。

07

常见问题

?
可以用用户名代替 URL 吗?+

可以。startUrls 接受账号主页 URL,用户名也可以。

能得到粉丝数吗?+

可以。每条帖子都包含带粉丝数的发布账号。

一次运行最多能返回多少条帖子?+

最多 200 条,通过 maxItems 设置,它是一次运行中所有账号合计的数量。

可以只获取近期的帖子吗?+

可以。until 接受 YYYY-MM-DD 格式的日期,只返回更新的帖子。

需要订阅吗?+

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

关注的不只是自然发布的帖子?请看广告情报、社媒监听和工具目录。

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

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