使用场景

对标顶尖创作者和高管,评估你的 LinkedIn 内容

以 JSON 获取 LinkedIn 个人主页的近期帖子及互动数,了解在你的领域里哪些话题和风格最能引发互动。

预付费,无订阅REST 或 MCP一个密钥搞定模型、数据和智能体
LinkedInlovelyjsonitems[0]"text": "Three things I learne…"engagement": 2590

如果你在 LinkedIn 上为自己、某位创始人或某个品牌写内容,你关心的是你所在领域此刻什么有效,而不是泛泛的建议。答案就在你的受众已经在读的那些人的帖子里。Lovely Router 替你来读:发送主页 URL,每条帖子返回一个 JSON 对象,按帖子数从预付费余额中计费。用脚本或 AI 智能体运行,再把他们的互动数与你的对比。

交给你的 AI 智能体

把这段提示词复制到 Claude Code、Cursor、Codex 或任何编程智能体中。它会告诉智能体文档在哪里,以及如何使用你的 API 密钥。

对标顶尖创作者和高管,评估你的 LinkedIn 内容. 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. 列出主页

    挑选你所在领域的 10 到 20 位创作者、创始人和高管,再加上你自己的主页。

  2. 设置上限后运行工具

    把 URL 放在 targetUrls 中发送到 POST /v1/tools/linkedin-posts/run。maxPosts 限制每个主页的帖子数,postedLimit 限制帖子的发布时间范围,max_results 限制整次运行。

  3. 找出规律

    按互动数排序,阅读排名靠前的帖子,再让模型总结它们的共同点:话题、开头、长度。

02

一次请求获取某个主页的近期帖子

{}

获取 LinkedIn 帖子在 targetUrls 中接受个人主页或公司主页 URL。maxPosts 是每个 URL 的上限,一次运行最多返回 200 条帖子。postedLimit 接受 any、1h、24h、week、month、3months、6months 或 year:

curl https://lovelyrouter.com/v1/tools/linkedin-posts/run \
  -H "Authorization: Bearer $LOVELY_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "input": {
        "targetUrls": [
            "https://www.linkedin.com/in/jane-doe-example"
        ],
        "maxPosts": 10
    },
    "max_results": 50
}'

该工具不采集评论和点赞的文本;你得到的是帖子及其互动数。运行超过 60 秒仍未结束时会返回 202;轮询方法见运行工具。

03

每条帖子包含什么

字段组你会得到
帖子帖子的文字内容
互动帖子上显示的互动数

对于以机构名义发帖的公司主页,linkedin-company-posts 正是为此设计的。你需要自行确保合法使用个人及联系信息,包括遵守所联系对象所在国家的隐私和反垃圾邮件规定。

04

实用配方

找出引发共鸣的内容。

取 10 位创作者最近的 50 条帖子,按互动数排序,让模型按开头和话题对前 20 条分类。

规划下个月的内容。

把过去三个月表现最好的帖子的话题,作为你的选题清单。

和自己对比。

加入你自己的主页,把你的互动数中位数与这组人对比。

选择合作的创作者。

在邀请某人合作之前,先看看他的帖子互动情况如何;请看网红研究。

关注某位高管。

在会面之前,关注潜在客户的 CEO 发布的帖子,了解他自己说关心什么。

更想直接用自然语言提问?连接 MCP 服务器,然后对 Claude Code 或 Cursor 说:"用 linkedin-posts 获取这 12 个 LinkedIn 主页过去 30 天的帖子,每个主页 maxPosts 设为 20,然后给我互动最多的 15 条帖子,并说明每条的开头写法。max_results 设为 240。"

06

费用说明

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

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

07

常见问题

?
一次运行可以读取多个人的帖子吗?+

可以。在 targetUrls 中放入你需要的任意数量的主页 URL;maxPosts 对每个主页都生效。

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

最多 200 条。

可以按日期限制吗?+

可以。postedLimit 按发布时间过滤,范围从 1h 到 year。

包含转发的帖子吗?+

该工具读取主页上发布或转发的内容,与页面显示的一致。

需要订阅吗?+

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

要研究某个领域?请看社交聆听、网红研究,以及其余的工具目录。运行设置见运行工具。

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

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