如果你在 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>工作原理
列出主页
挑选你所在领域的 10 到 20 位创作者、创始人和高管,再加上你自己的主页。
设置上限后运行工具
把 URL 放在
targetUrls中发送到POST /v1/tools/linkedin-posts/run。maxPosts限制每个主页的帖子数,postedLimit限制帖子的发布时间范围,max_results限制整次运行。找出规律
按互动数排序,阅读排名靠前的帖子,再让模型总结它们的共同点:话题、开头、长度。
一次请求获取某个主页的近期帖子
获取 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;轮询方法见运行工具。
每条帖子包含什么
| 字段组 | 你会得到 |
|---|---|
| 帖子 | 帖子的文字内容 |
| 互动 | 帖子上显示的互动数 |
对于以机构名义发帖的公司主页,linkedin-company-posts 正是为此设计的。你需要自行确保合法使用个人及联系信息,包括遵守所联系对象所在国家的隐私和反垃圾邮件规定。
实用配方
取 10 位创作者最近的 50 条帖子,按互动数排序,让模型按开头和话题对前 20 条分类。
把过去三个月表现最好的帖子的话题,作为你的选题清单。
加入你自己的主页,把你的互动数中位数与这组人对比。
在邀请某人合作之前,先看看他的帖子互动情况如何;请看网红研究。
在会面之前,关注潜在客户的 CEO 发布的帖子,了解他自己说关心什么。
更想直接用自然语言提问?连接 MCP 服务器,然后对 Claude Code 或 Cursor 说:"用 linkedin-posts 获取这 12 个 LinkedIn 主页过去 30 天的帖子,每个主页 maxPosts 设为 20,然后给我互动最多的 15 条帖子,并说明每条的开头写法。max_results 设为 240。"
搭配其他内容来源
个人主页的帖子只是一个渠道。把它们和其他渠道放在一起看:
LinkedIn 个人或公司主页的近期帖子,附带互动数据。
LinkedIn 公司主页的近期帖子,附带互动数据。
按 URL 获取公开的 LinkedIn 个人资料:头衔、工作经历、教育、技能、所在地。
匹配关键词、话题标签或指定账号的推文:内容、作者、互动数据、日期。
按关键词搜索 YouTube 视频,或从 YouTube 链接(搜索结果、频道、播放列表或视频 URL)获取:标题、播放、点赞、评论数、时长、频道、日期。
linkedin-company-posts覆盖你所在市场的公司主页。linkedin-profile为你关注的人补充标题和背景。x-search展示同样这些人在 X 上说了什么。youtube-search找到他们的长内容。
如果要跨平台追踪某个话题,请看社交聆听。
费用说明
按条帖子付费:启动运行时会预留它的最高费用,即每次调用费加上每条帖子费乘以 max_results,结束后按实际返回的结果结算,预留的剩余部分退回你的余额。失败或超时的运行只为已交付的条帖子付费,在开始时就被拒绝的运行不收费。
读取 200 条帖子,就按 200 条帖子计费。没有订阅,也没有每月最低消费:最低充值 $5,工具和模型共用一个余额。上方卡片显示的是当前价格;价格页面列出了所有工具。