Scrape LinkedIn Posts to Structured JSON
John
Turn a profile URL into clean JSON: post text, reactions, comments, date, and author. One row per post, newest first.
Input
Output fields
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 "Scrape LinkedIn Posts to Structured JSON". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Scrape LinkedIn Posts to Structured JSON" 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 "Scrape LinkedIn Posts to Structured JSON" 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 result type, author, text, 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 "Scrape LinkedIn Posts to Structured JSON" task via API.

One row per post with authorName, text, numLikes, numComments, datePosted, postUrl and a one-line summary, newest first. The dataset downloads as JSON, or as CSV or Excel if a spreadsheet suits you better.
A profileUrls list of LinkedIn person or company page URLs, for example https://www.linkedin.com/in/williamhgates, plus maxPostsPerProfile (20 in the example) to cap how many posts each profile returns. Only public posts are read.
Call the task's run endpoint on the Apify API, or use the apify-client package in Python or Node. Send profileUrls as input, wait for the run, then read the dataset back as JSON or CSV.
Open the task in Apify Console, pick Actions, then Schedule, and enter a cron such as 0 7 * * * for seven every morning. Each run writes a new dataset, and a webhook can hand the JSON to your own endpoint.
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 then ask for a profile's posts and read the structured rows back in the chat.
The LinkedIn posts JSON export bills per post returned, with no per-run setup fee and no subscription. maxPostsPerProfile caps each profile, and the current rate is listed on the LinkedIn Posts API Actor page.
Scrape LinkedIn Posts to Structured JSON starts from a profile and discovers its recent posts. Fetch Specific LinkedIn Posts by URL starts from post links you already have and returns one row for each, so pick it when the post list is yours.