LinkedIn person's posts by profile URL or slug
tikhub.x.linkedin-web-v2-get-user-postsLinkedin: get user posts (web_v2)
- Price
- $0.001/successAu prix du fournisseur
- Success rate
- 100 %Last 30 days · 65 769 calls
- Latency p50
- 2.8 sp95 5.5 s
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/tikhub.x.linkedin-web-v2-get-user-posts?url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fwilliamhgates%2FPreviewTry onlineBientôtProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Paramètres
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Paramètres de requête | ||||
url | chaîne | Obligatoire | Profile URL or slug | https://www.linkedin.com/in/williamhgates/ |
end_date | other | Facultatif | End date | |
start_date | other | Facultatif | Start date | |
- Paramètres de requête
urlchaîneObligatoireProfile URL or slug
Exemple :
https://www.linkedin.com/in/williamhgates/end_dateotherFacultatifEnd date
start_dateotherFacultatifStart date
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/tikhub.x.linkedin-web-v2-get-user-posts?url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fwilliamhgates%2F' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/tikhub.x.linkedin-web-v2-get-user-posts?url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fwilliamhgates%2F",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/tikhub.x.linkedin-web-v2-get-user-posts?url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fwilliamhgates%2F", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());Cette API de passerelle est en préversion ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à $0.001/success, frais de service inclus.