linkedin

Search Posts

Search for public LinkedIn posts by keyword. Uses Google Search to find indexed posts, then scrapes the public LinkedIn pages. Use the cursor from each response to page through more results.

get/v1/scrape/linkedin/search/posts

Request

  • Base URL: https://api.sociavault.com
  • URL: https://api.sociavault.com/v1/scrape/linkedin/search/posts
  • Auth: API key in header X-API-Key

Query parameters

querystring required
Example:ai agents

Keyword or phrase to search for in public LinkedIn posts

date_posted'last-hour' | 'last-day' | 'last-week' | 'last-month' | 'last-year'
Example:last-week

Filter results by how recently they were posted (based on Google-indexed results)

cursorinteger
Example:2

Pagination cursor from the previous response. Must be between 1 and 11; cursor 12 or greater returns a 400 response.

Response

Successful response Key Response Fields:

  • data.query: The search term that was run
  • data.posts[n].url: Permalink to the post — the /posts/<slug>_ segment identifies the author
  • data.posts[n].name: Post title or opening line
  • data.posts[n].description: Full post body text
  • data.posts[n].datePublished: ISO timestamp of publication
  • data.posts[n].likeCount: Total reactions on the post
  • data.posts[n].commentCount: Total comment count
  • data.posts[n].author.name: Author's full name
  • data.posts[n].author.url: Author's LinkedIn profile URL
  • data.posts[n].author.followers: Author's follower count
  • data.posts[n].image: Primary image attached to the post
  • data.posts[n].images: All images attached to the post
  • data.posts[n].transcript: Video transcript, present only on video posts
  • data.posts[n].comments: Public comments, when LinkedIn exposes them
  • data.cursor: Pass back as cursor for the next page (max 11)

Changes

No recorded changes to this operation across all 1 revision of this API.