你的 CRM 里有客户名称,但决定该给谁打电话的字段(行业、规模、总部、网站)要么空着,要么已经过时好几年。手动补齐,每个账户要花一分钟。Lovely Router 替你读取 LinkedIn 公司主页:发送公司 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>工作原理
收集账户
导出你已有的 LinkedIn 公司 URL;没有 URL 的,只提供公司名称即可。
设置上限后运行工具
把 URL 放在
companies中、名称放在searches中,发送到POST /v1/tools/linkedin-company/run,并带上max_results。运行会从你的余额中预留它的最高费用。把字段写回去
把每条结果与对应账户匹配,更新行业、规模、总部、网站和关注者数。记录运行日期,以便知道数据有多新。
一次请求丰富账户数据
获取 LinkedIn 公司在 companies 中接受公司主页 URL;对于没有链接的公司,可以在 searches 中传公司名称。一次运行最多读取 50 家公司:
curl https://lovelyrouter.com/v1/tools/linkedin-company/run \
-H "Authorization: Bearer $LOVELY_API_KEY" \
-H "content-type: application/json" \
-d '{
"input": {
"companies": [
"https://www.linkedin.com/company/google"
]
},
"max_results": 3
}'通过 searches 传入的名称,请先核对结果再写回,因为同一个名称可能匹配到多家公司。运行超过 60 秒仍未结束时会返回 202;轮询方法见运行工具。
每家公司包含什么
| 字段组 | 你会得到 |
|---|---|
| 身份 | 公司名称和简介 |
| 分类 | 行业和公司规模 |
| 位置 | 总部 |
| 网站 | 官方网站 |
| 触达 | 关注者数 |
这是来自公司主页的企业基本信息。公司里的人是另一项任务,请看下面的搭配工具。
实用配方
导出缺少行业或规模的账户,按每批 50 个运行它们的 LinkedIn URL,再用脚本把字段写回去。
把行业和规模作为理想客户画像的第一道筛选,其余账户按关注者数排序,作为品牌影响力的粗略参考。
把一份公司名称列表放进 searches,在把每个匹配结果加入你的客户区域之前,先核对它的网站和总部。
把展会参会者名单按行业和规模分组,让每个分段都用为它定制的文案。
每季度对整个账户库重新运行一遍,标记规模区间或总部发生变化的账户。
更想直接用自然语言提问?连接 MCP 服务器,然后对 Claude Code 或 Cursor 说:"用 linkedin-company 工具读取 accounts.csv 中的这 40 个公司 URL,然后给我一张包含名称、行业、规模、总部和网站的表格。max_results 设为 40。"
搭配账户和人员数据
公司主页告诉你这个账户是谁。下面这些工具告诉你该和谁沟通,以及那里正在发生什么:
LinkedIn 公司主页:简介、行业、规模、总部、网站、关注者。
按关键词、地点和规模搜索 LinkedIn 公司:名称、行业、规模、链接。
LinkedIn 公司的员工,可按职位、地点和关键词筛选:姓名、头衔、职位、主页链接。
爬取网站,提取邮箱、电话号码和社交主页链接。
linkedin-company-search按关键词、地点和规模发现新账户,加入你的列表。linkedin-company-employees列出已丰富账户中的人员。website-contacts读取公司网站上的联系方式。
完整的潜在客户开发流程,请看线索获取。
费用说明
按家公司付费:启动运行时会预留它的最高费用,即每次调用费加上每家公司费乘以 max_results,结束后按实际返回的结果结算,预留的剩余部分退回你的余额。失败或超时的运行只为已交付的家公司付费,在开始时就被拒绝的运行不收费。
丰富 500 个账户,就按 500 家公司计费。没有订阅,也没有每月最低消费:最低充值 $5,工具和模型共用一个余额。上方卡片显示的是当前价格;价格页面列出了所有工具。
常见问题
可以按名称查找公司吗?+
可以。把名称放进 searches,工具会在 LinkedIn 上搜索它们。如果你有主页 URL,请改为传入 companies,这样可以避免匹配错误。
一次运行最多能读取多少家公司?+
最多 50 家。列表更长时,可以启动多次运行;你的账户最多可以同时进行 10 次运行。
它会列出公司的员工吗?+
不会。它返回的是公司主页字段。要列出人员,请使用 linkedin-company-employees。
数据有多新?+
每次运行都会在运行时读取页面,所以这些字段和 LinkedIn 自己的页面一样新。
需要订阅吗?+
不需要。你向预付费余额充值,每次运行从中扣费。失败的运行只为已交付的结果付费,不会自动续费。