Search LinkedIn posts
Search public LinkedIn posts by keyword.
An empty posts array means no matching public posts were returned for this query and page. It is not an error.
Headers
Get your API keyAPI key (`sfk_...`)
Keyword or phrase to search for in public LinkedIn posts.
min 1 chars · max 512 chars
Optional filter for how recently matching posts were published.
one of: last-hour, last-day, last-week, last-month, last-year
Opaque pagination cursor returned by a previous response.
min 1 chars
Endpoint-specific response payload.
Search query that was evaluated for this response.
Matching LinkedIn posts for the current page.
Canonical public URL for this LinkedIn post.
min 1 chars
Full text body of the post when available.
ISO-8601 timestamp for when the post was published, when available.
Primary media URL for the post when available.
Primary image URL for the post when available.
Image URLs associated with the post when available.
min 1 chars
Author of the post when available.
Display name of the author.
min 1 chars
Public profile URL for the author when available.
Avatar image URL when available.
Follower count when available.
≥ 0
Engagement metrics for the post.
Total reactions when available.
≥ 0
Comment count when available.
≥ 0
Pagination state for the current response.
Cursor to pass in the next request when more posts are available.
Whether another page of posts is available.
Metadata describing the request and billing outcome.
Unique request identifier for tracing this API call.
min 1 chars
Credits charged for this request.
≥ 0
Public API version that served the response.
one of: v1
Code example
curl "https://api.socialfetch.dev/v1/linkedin/posts/search?query=ai agents" \
-H "x-api-key: YOUR_API_KEY"Responses
LinkedIn post search results.