Facebook Pixel
APILinkedIn Posts

LinkedIn Posts API

Fetch, engage, and analyse LinkedIn posts with the ConnectSafely API.

Monitor conversations, react at scale, and keep your outreach relevant. These endpoints enable programmatic engagement with LinkedIn content.

Highlights

Endpoints

Click on any endpoint below to view detailed documentation, parameters, example requests, and try it live.

Get Latest Posts →

POST /linkedin/posts/latest

Retrieve the most recent posts from a LinkedIn profile. Useful for monitoring competitor content, tracking influencer activity, or finding engagement opportunities. Can include or exclude reposts/shares.


React to Post →

POST /linkedin/posts/react

Add a reaction to a LinkedIn post. Supports LIKE, PRAISE (clap), APPRECIATION (heart), EMPATHY (caring), INTEREST (insightful), and ENTERTAINMENT (funny). Reactions are a lightweight way to engage with content.


Comment on Post →

POST /linkedin/posts/comment

Add a comment to a LinkedIn post. Comments increase engagement and visibility. Can optionally tag the post author for notification. Supports posting as a company page if you have admin access.


Get Post Comments →

POST /linkedin/posts/comments

Retrieve comments from a LinkedIn post with pagination support. Useful for analyzing engagement, finding leads who commented, or monitoring discussions. Returns comment content, author info, timestamps, and like counts.


Get All Post Comments →

POST /linkedin/posts/comments/all

Fetch all comments from a LinkedIn post in a single request. Automatically handles pagination internally. Ideal for bulk analysis of post engagement.


Reply to Comment →

POST /linkedin/reply

Post a reply to an existing comment on a LinkedIn post. Replies appear threaded under the original comment. Useful for continuing conversations and engaging with community discussions.


Repost Post →

POST /linkedin/posts/repost

Repost/share a LinkedIn post to your feed. Creates an instant repost without additional commentary. Provide either a post URL (will be scraped for URNs) or the share/ugcPost URN directly for faster execution.


Get Post Reactions →

POST /linkedin/posts/reactions

Fetch reactions (likes) with pagination support. Useful for identifying engaged users and lead generation.


Search Posts →

POST /linkedin/posts/search

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.


Scrape Post Content →

POST /linkedin/posts/scrape

Extract detailed information from a LinkedIn post URL including content, author, engagement metrics, and media. Uses caching to reduce API calls. Supports both authenticated and public scraping with proxy rotation for reliability.


No-Code Alternatives

Prefer visual automation? Use these integrations:

Tip: Each endpoint page includes live playground, code examples in multiple languages, and detailed parameter documentation.