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/successAl precio del proveedor
- Success rate
- 86,3 %Last 30 days · 4909 calls
- Latency p50
- 25 sp95 78 s
- Last verified
- 11 oct 2026Verified working
POSThttps://toolswitch.dev/v1/tools/crawl4ai.linkedin.user.postsPreview- Uses platform quota
- Synchronous response
- Reads public data
Parámetros
Esta herramienta no tiene parámetros. Consulta la documentación del proveedor ↗ Provider docs
Ejemplos de código
Sustituye $TOOLSWITCH_KEY por la clave que creaste en la consola.
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());La API de la pasarela está en versión preliminar; su URL y autenticación pueden cambiar. Los parámetros del ejemplo son datos de muestra. Las llamadas se facturan a $0.0009/success, incluida la tarifa de servicio.