Go to example tasks

Analyze LinkedIn Post Engagement

Get engagement per post: reactions, comments, shares, author, and follower count, ready for a dashboard. One row per post.

Try for free
LinkedIn Posts API | Scrape Profile Posts & Engagement
LinkedIn Posts API | Scrape Profile Posts & Engagementjohnvc/linkedin-posts-api
Author
Author Headline
Author Followers
Reactions
+4 fields
Text
Number
Boolean
List
Object

Input

Profile URLs (discover posts):https://www.linkedin.com/in/williamhgates
Max posts per profile:20

Output fields

Author
Author Headline
Author Followers
Reactions
Comments
Shares
Date Posted
Post URL

How it works

Sign up on Apify or log in

The LinkedIn Posts API | Scrape Profile Posts & Engagement Actor is ready to run with the inputs already set for "Analyze LinkedIn Post Engagement". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Analyze LinkedIn Post Engagement" task

The LinkedIn Posts API | Scrape Profile Posts & Engagement Actor will start running based on the input automatically. You can also change all the input fields, like profile urls (discover posts) and max posts per profile, to match your specific use case.

Receive the "Analyze LinkedIn Post Engagement" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as author, author headline, author followers, and more.

Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Analyze LinkedIn Post Engagement" task via API.

Image

Integrate "Analyze LinkedIn Post Engagement" into your workflow

Connect "Analyze LinkedIn Post Engagement" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay

Frequently asked questions

One row per post from the engagement view: authorName, authorHeadline, authorFollowers, numLikes, numComments, datePosted and postUrl. Share counts stay empty, since LinkedIn hides them from signed-out visitors. Export as JSON, CSV or Excel.

A profileUrls list, for example https://www.linkedin.com/in/williamhgates, and maxPostsPerProfile, set to 20 in the example. Company page URLs work too, and includeReposts adds posts the company reshared without comment.

Every Apify task has a run endpoint, and apify-client wraps it for Python and Node. Pass profileUrls, wait for the run to finish, and pull the engagement rows as JSON or CSV into pandas, a warehouse or a BI tool.

In Apify Console choose Actions, then Schedule, on the task and set a cron such as 0 9 * * 1 for Monday mornings. Then add the Google Sheets integration or a Slack webhook so numLikes and numComments arrive without anyone running it.

Add https://mcp.apify.com/?tools=actors,docs,johnvc/linkedin-posts-api as an MCP server in Claude or any other MCP client. The agent can run the task for a profile and compare numLikes or numComments across posts in the same reply.

The cost of an Analyze LinkedIn Post Engagement run depends on how many posts come back, since billing is per post returned with no per-run setup fee. maxPostsPerProfile caps it. The current rate is on the LinkedIn Posts API Actor page.

Analyze LinkedIn Post Engagement returns numLikes and numComments per post plus the author's authorFollowers. Share counts are not included, because LinkedIn hides them when signed out. Scrape LinkedIn Posts to Structured JSON keeps the post text.