Facebook Pixel
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/search

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.

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

FieldTypeRequiredDescription
accountIdstringNoLinkedIn account ID to use. If not provided, uses the default account.
keywordsstringYesSearch keywords to find in post content
countnumberNoNumber of posts to return per page
startnumberNoPagination offset (0-indexed)
datePostedstringNoFilter by when post was published
sortBystringNoSort order: relevance (best match) or date_posted (newest first)
authorJobTitlesarrayNoFilter by author job titles (e.g., ["CEO", "VP Marketing"])

Example

{
  "keywords": "string"
}

Responses

StatusDescription
200Search results retrieved successfully