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/callAt provider cost
- Success rate
- 96.9%Last 30 days · 44,607 calls
- Latency p50
- 10 sp95 18 s
- Last verified
- Jul 28, 2026Verified working
GEThttps://toolswitch.dev/v1/tools/scrapecreators.x.v1-linkedin-search-posts?query=ai+agentsPreview- Uses platform quota
- Synchronous response
- Reads public data
Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Query parameters | ||||
query | string | Required | Keyword or phrase to search for in public LinkedIn posts | ai agents |
cursor | string | Optional | The cursor returned from the previous response. The maximum cursor is 11; cursor 12 or greater returns a 400 response. | 2 |
date_posted | string | Optional | 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 |
- Query parameters
querystringRequiredKeyword or phrase to search for in public LinkedIn posts
Example:
ai agentscursorstringOptionalThe cursor returned from the previous response. The maximum cursor is 11; cursor 12 or greater returns a 400 response.
Example:
2date_postedstringOptionalGoogle-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).
Example:
last-week
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the 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());This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.00188/call, including the service fee.