Posts of a LinkedIn member
crawl4ai.linkedin.user.postsThe posts of one LinkedIn member, newest first, one row per post: link, text (500 chars), time, likes (all reactions), comments, reposts, kind (post, repost or article) and one media link. `profile` = the public identifier (williamhgates) or the linkedin.com/in/ URL; `limit` up to 50. `session` (your `li_at` and `JSESSIONID` cookies, from the Crawl4AI Session extension) is optional, used for this run only and never stored. Without it you get the member's recent public posts and reposts (about 10), without repost counts and media; LinkedIn's internal id (ACoAA…) needs a session. Columns: url, text, posted_at, likes, comments, reposts, kind, media.
- 价格
- $0.0009/success按供应商原价
- 成功率
- 86.3%近 30 天 · 4,909 次
- 延迟 p50
- 25 秒p95 78 秒
- 最后验证
- 2026年10月11日实测可用
POSThttps://toolswitch.dev/v1/tools/crawl4ai.linkedin.user.posts预览- 可用平台额度调用
- 同步返回
- 读取公开数据
参数
这个工具没有参数,详见供应商文档 ↗ 供应商文档
代码示例
将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。
curl -X POST 'https://toolswitch.dev/v1/tools/crawl4ai.linkedin.user.posts' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"profile":"williamhgates"}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/crawl4ai.linkedin.user.posts",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"profile\":\"williamhgates\"}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/crawl4ai.linkedin.user.posts", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"profile\":\"williamhgates\"}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());网关接口为预览版,地址与鉴权方式可能调整。 示例参数仅为样例数据。 调用按 $0.0009/success 计费,已含服务费。