Go to example tasks

LinkedIn Posts Data API for Python

Call the API from Python: a profile URL in, structured posts out with text, reactions, comments, and author. One row per post.

Try for free
LinkedIn Posts API | Scrape Profile Posts & Engagement
LinkedIn Posts API | Scrape Profile Posts & Engagementjohnvc/linkedin-posts-api
Result Type
Author
Text
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

Result Type
Author
Text
Reactions
Comments
Date Posted
Post URL
Summary

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 "LinkedIn Posts Data API for Python". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "LinkedIn Posts Data API for Python" 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 "LinkedIn Posts Data API for Python" 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 "LinkedIn Posts Data API for Python" task via API.

Image

Integrate "LinkedIn Posts Data API for Python" into your workflow

Connect "LinkedIn Posts Data API for Python" 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