ApiUncategorized
Search posts by keyword
Search LinkedIn posts by keywords with filtering options. Find relevant content for engagement, monitor industry discussions, or discover trending topics. Filter by date posted, sort by relevance or recency, and target posts by author job titles.
POST
/posts/searchSearch posts by keyword
Search LinkedIn posts by keywords with filtering options. Find relevant content for engagement, monitor industry discussions, or discover trending topics. Filter by date posted, sort by relevance or recency, and target posts by author job titles.
Authentication requiredPosts
Code Examples
curl -X POST '/linkedin/posts/search' \ -H 'Authorization: Bearer <your_api_key>' \ -H 'Content-Type: application/json' \ -d '{"keywords":"string"}'Parameters
No parameters.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
accountId | string | No | LinkedIn account ID to use. If not provided, uses the default account. |
keywords | string | Yes | Search keywords to find in post content |
count | number | No | Number of posts to return per page |
start | number | No | Pagination offset (0-indexed) |
datePosted | string | No | Filter by when post was published |
sortBy | string | No | Sort order: relevance (best match) or date_posted (newest first) |
authorJobTitles | array | No | Filter by author job titles (e.g., ["CEO", "VP Marketing"]) |
Example
{
"keywords": "string"
}Responses
| Status | Description |
|---|---|
| 200 | Search results retrieved successfully |
