n8n LinkedIn posts scraper

n8n LinkedIn Profile Posts Scraper extracts posts with engagement metrics from any profile. Connect it to n8n for content monitoring or competitive analysis.

Trusted by industry leaders all over the world

What data you can get with n8n LinkedIn posts scraper

Post text, images, videos, likes, comments, shares, and timestamps. Author information and hashtags included. Use for content analysis or trend tracking. Export as JSON or CSV.

Output

{
"data": {
"posts": [
{
"url": "https://www.linkedin.com/posts/username_sample-activity-7123456789012345678-AbCd",
"urn": "7123456789012345678",
"text": "Sample post text content. This is where the LinkedIn post text appears.",
"media": {
"url": "https://media.licdn.com/dms/image/sample-image.jpg",
"type": "image",
"thumbnail": "https://media.licdn.com/dms/image/sample-thumbnail.jpg"
},
"stats": {
"like": 100,
"love": 10,
"insight": 3,
"reposts": 7,
"support": 5,
"comments": 15,
"celebrate": 5,
"total_reactions": 123
},
"author": {
"headline": "CEO at Example Company",
"username": "johndoe",
"last_name": "Doe",
"first_name": "John",
"profile_url": "https://www.linkedin.com/in/johndoe",
"profile_picture": "https://media.licdn.com/dms/image/profile-pic.jpg"
},
"full_urn": "urn:li:ugcPost:7123456789012345678",
"post_type": "regular",
"posted_at": {
"date": "2025-05-15 14:30:20",
"relative": "2 days ago • Visible to anyone on or off LinkedIn",
"timestamp": 1745678901234
}
},
{
"url": "https://www.linkedin.com/posts/username_example-activity-7123456789987654321-XyZw",
"urn": "7123456789987654321",
"text": "This is a reshared post with a quote added by the user.",
"stats": {
"like": 40,
"love": 3,
"insight": 1,
"reposts": 2,
"support": 0,
"comments": 5,
"celebrate": 1,
"total_reactions": 45
},
"author": {
"headline": "CEO at Example Company",
"username": "johndoe",
"last_name": "Doe",
"first_name": "John",
"profile_url": "https://www.linkedin.com/in/johndoe",
"profile_picture": "https://media.licdn.com/dms/image/profile-pic.jpg"
},
"full_urn": "urn:li:ugcPost:7123456789987654321",
"post_type": "quote",
"posted_at": {
"date": "2025-05-14 10:15:30",
"relative": "3 days ago • Visible to anyone on or off LinkedIn",
"timestamp": 1745578901234
},
"reshared_post": {
"url": "https://www.linkedin.com/posts/janedoe_example-activity-7123456788888888888-AbCd",
"urn": "7123456788888888888",
"text": "Original post that was reshared.",
"media": {
"url": "https://dms.licdn.com/playlist/sample-video.mp4",
"type": "video",
"thumbnail": "https://media.licdn.com/dms/image/video-thumbnail.jpg"
},
"stats": {
"like": 200,
"love": 25,
"insight": 5,
"reposts": 15,
"support": 10,
"comments": 30,
"celebrate": 10,
"total_reactions": 250
},
"author": {
"headline": "Product Manager at Example Corp",
"username": "janedoe",
"last_name": "Doe",
"first_name": "Jane",
"profile_url": "https://www.linkedin.com/in/janedoe",
"profile_picture": "https://media.licdn.com/dms/image/jane-profile-pic.jpg"
},
"post_type": "regular",
"posted_at": {
"date": "2025-05-13 09:30:00",
"relative": "4 days ago • Visible to anyone on or off LinkedIn",
"timestamp": 1745488901234
}
}
},
{
"url": "https://www.linkedin.com/posts/johndoe_article-activity-7123456777777777777-LmNo",
"urn": "7123456777777777777",
"text": "Sharing an interesting article I found.",
"stats": {
"like": 70,
"love": 5,
"insight": 10,
"reposts": 8,
"support": 0,
"comments": 12,
"celebrate": 0,
"total_reactions": 85
},
"author": {
"headline": "CEO at Example Company",
"username": "johndoe",
"last_name": "Doe",
"first_name": "John",
"profile_url": "https://www.linkedin.com/in/johndoe",
"profile_picture": "https://media.licdn.com/dms/image/profile-pic.jpg"
},
"article": {
"url": "https://example.com/sample-article",
"title": "Sample Article Title",
"subtitle": "example.com",
"thumbnail": "https://media.licdn.com/dms/image/article-thumbnail.jpg"
},
"full_urn": "urn:li:activity:7123456777777777777",
"post_type": "regular",
"posted_at": {
"date": "2025-05-12 16:45:30",
"relative": "5 days ago • Visible to anyone on or off LinkedIn",
"timestamp": 1745398901234
}
},
{
"url": "https://www.linkedin.com/posts/johndoe_document-activity-7123456666666666666-PqRs",
"urn": "7123456666666666666",
"text": "Sharing this important document with my network.",
"stats": {
"like": 28,
"love": 2,
"insight": 2,
"reposts": 3,
"support": 0,
"comments": 5,
"celebrate": 0,
"total_reactions": 32
},
"author": {
"headline": "CEO at Example Company",
"username": "johndoe",
"last_name": "Doe",
"first_name": "John",
"profile_url": "https://www.linkedin.com/in/johndoe",
"profile_picture": "https://media.licdn.com/dms/image/profile-pic.jpg"
},
"document": {
"url": "https://media.licdn.com/dms/document/sample-document.pdf",
"title": "Sample Document Title",
"thumbnail": "https://media.licdn.com/dms/image/document-thumbnail.jpg",
"page_count": 12
},
"full_urn": "urn:li:ugcPost:7123456666666666666",
"post_type": "regular",
"posted_at": {
"date": "2025-05-10 11:20:15",
"relative": "1 week ago • Visible to anyone on or off LinkedIn",
"timestamp": 1745218901234
}
},
{
"url": "https://www.linkedin.com/posts/johndoe_event-activity-7123455555555555555-TuVw",
"urn": "7123455555555555555",
"text": "Check out these photos from our recent company event!",
"media": {
"url": "https://media.licdn.com/dms/image/main-image.jpg",
"type": "images",
"images": [
{
"url": "https://media.licdn.com/dms/image/image1.jpg",
"width": 1280,
"height": 853
},
{
"url": "https://media.licdn.com/dms/image/image2.jpg",
"width": 1280,
"height": 853
},
{
"url": "https://media.licdn.com/dms/image/image3.jpg",
"width": 1280,
"height": 853
}
]
},
"stats": {
"like": 120,
"love": 20,
"insight": 0,
"reposts": 7,
"support": 0,
"comments": 18,
"celebrate": 5,
"total_reactions": 145
},
"author": {
"headline": "CEO at Example Company",
"username": "johndoe",
"last_name": "Doe",
"first_name": "John",
"profile_url": "https://www.linkedin.com/in/johndoe",
"profile_picture": "https://media.licdn.com/dms/image/profile-pic.jpg"
},
"full_urn": "urn:li:ugcPost:7123455555555555555",
"post_type": "regular",
"posted_at": {
"date": "2025-05-05 09:15:00",
"relative": "2 weeks ago • Visible to anyone on or off LinkedIn",
"timestamp": 1744778901234
}
}
],
"pagination_token": "dXJuOmxpOmFjdGl2aXR5Ojc1MjM0NTU1NTU1NTU1NTU1NTUtMTc0NDc3ODkwMTIzNA=="
},
"message": "response retrieved successfully",
"success": true
}

How to set up n8n LinkedIn posts scraper with Apify

Configure the Actor with LinkedIn profile URLs. It extracts posts with text, images, and engagement data. Set limits on how many posts to retrieve per profile.

Sign up for Apify account01

Creating an account is quick and free. No credit card required. Your account gives you access to more than 20,000+ scrapers and APIs.

Start for free
Get your Apify API token02

Go to Settings in Apify Console and navigate to the API & Integrations tab. There, create a new token and save it for later.

Test run LinkedIn posts scraper03

Open LinkedIn posts scraper in Apify Console and configure your input parameters. Click Start to run the Actor and preview the data structure you receive in your n8n workflow.

Integrate LinkedIn posts scraper via n8n04

Add the Apify node to your n8n workflow. Select Run Actor as the operation, choose your Actor, and pass your input configuration as JSON. Enable Wait for finish to retrieve results directly in subsequent nodes.

Why use Apify?

Never get blocked

Never get blocked

Every plan (free included) comes with Apify Proxy, which is great for avoiding blocking and giving you access to geo-specific content.

Customers love us

Customers love us

We truly care about the satisfaction of our users and thanks to that we're one of the best-rated data extraction platforms on both G2 and Capterra.

Monitor your runs

Monitor your runs

With our latest monitoring features, you always have immediate access to valuable insights on the status of your web scraping tasks.

Frequently Asked Questions

Use the HTTP Request node to call the Apify API. Authenticate with your API token, specify the LinkedIn posts scraper Actor ID and input parameters, then trigger the run. For short scrapes, you can wait for results synchronously. For longer runs, use webhooks to notify your workflow when data is ready.

Apify offers a free tier with prepaid platform usage - enough for testing and small-scale scraping. Paid plans are available for larger data volumes. No credit card required to try the free tier.

No. Most Apify Actors work through a simple web interface where you configure URLs and extraction settings. Connect the LinkedIn posts scraper Actor to n8n using the HTTP Request node with no coding required. For advanced customizations, you can modify Actor inputs or write custom extraction logic.

Apify Actors automatically rotate proxies, manage browser fingerprints, solve CAPTCHAs, and handle rate limiting. When a site adds new protections, the Apify team updates the Actors. You get reliable data extraction without managing infrastructure or chasing site changes.

Try n8n LinkedIn posts scraper now