Search LinkedIn posts by keyword
scrapecreators.x.v1-linkedin-search-postsFinds public LinkedIn posts, feed updates, and Pulse articles by keyword using Google Search, then returns post details such as description, author, media, images, like count, comment count, and published date when LinkedIn exposes them publicly.
- Price
- $0.00188/callAu prix du fournisseur
- Success rate
- 96,9 %Last 30 days · 44 607 calls
- Latency p50
- 10 sp95 18 s
- Last verified
- 28 juil. 2026Verified working
GEThttps://toolswitch.dev/v1/tools/scrapecreators.x.v1-linkedin-search-posts?query=ai+agentsPreview- Uses platform quota
- Synchronous response
- Reads public data
Paramètres
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Paramètres de requête | ||||
query | chaîne | Obligatoire | Keyword or phrase to search for in public LinkedIn posts | ai agents |
cursor | chaîne | Facultatif | The cursor returned from the previous response. The maximum cursor is 11; cursor 12 or greater returns a 400 response. | 2 |
date_posted | chaîne | Facultatif | Google-indexed date window. One of: last-hour | last-day | last-week | last-month | last-year. Values like past-week / past-day are NOT accepted (provider rejects them). | last-week |
- Paramètres de requête
querychaîneObligatoireKeyword or phrase to search for in public LinkedIn posts
Exemple :
ai agentscursorchaîneFacultatifThe cursor returned from the previous response. The maximum cursor is 11; cursor 12 or greater returns a 400 response.
Exemple :
2date_postedchaîneFacultatifGoogle-indexed date window. One of: last-hour | last-day | last-week | last-month | last-year. Values like past-week / past-day are NOT accepted (provider rejects them).
Exemple :
last-week
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.
curl -X GET 'https://toolswitch.dev/v1/tools/scrapecreators.x.v1-linkedin-search-posts?query=ai+agents' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/scrapecreators.x.v1-linkedin-search-posts?query=ai+agents",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/scrapecreators.x.v1-linkedin-search-posts?query=ai+agents", {
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.00188/call, frais de service inclus.