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.
- Price
- $0.0009/successPelo preço do provedor
- Success rate
- 86,3%Last 30 days · 4.909 calls
- Latency p50
- 25 sp95 78 s
- Last verified
- 11 de out. de 2026Verified working
POSThttps://toolswitch.dev/v1/tools/crawl4ai.linkedin.user.postsPreview- Uses platform quota
- Synchronous response
- Reads public data
Parâmetros
Esta ferramenta não tem parâmetros. Veja a documentação do provedor ↗ Provider docs
Exemplos de código
Substitua $TOOLSWITCH_KEY pela chave criada no console.
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());Esta API de gateway está em prévia; a URL e a autenticação podem mudar. Os parâmetros do exemplo são dados de amostra. As chamadas são cobradas a $0.0009/success, incluindo a taxa de serviço.