LinkedIn Profile Posts Scraper

Retrieve public LinkedIn profile posts with text, media and engagement counts.

by ApifyReady to run$0.0034 per result · $0.34 per 100 results

Example

You ask your agent

“Get Satya Nadella's last two LinkedIn posts with their likes, shares and comments.”

You get

First of 2 posts

Type
post
Content
Highlights from my opening of the Ignite keynote this morning on how we’re building a frontier ecosystem to turn…
Posted at
2026-11-18 02:35 UTC
LinkedIn URL
https://www.linkedin.com/posts/satyanadella_highlights-from-my-opening-of-the-ignite-activity-7528647007431720960-KV0i
Share LinkedIn URL
https://www.linkedin.com/feed/update/urn:li:ugcPost:7528646800329752576
Sort by
date
Target URL
https://www.linkedin.com/in/satyanadella/
Author name
Satya Nadella
What your agent sends and gets back (JSON)

Your agent works out the exact inputs, such as IDs, dates and settings, from what you ask.

Request

{
  "tool_id": "apify.harvest-api-linkedin-profile-posts",
  "input": {
    "input": {
      "maxPosts": 2,
      "targetUrls": [
        "https://www.linkedin.com/in/satyanadella/"
      ]
    },
    "maxItems": 2
  }
}

Response

{
  "posts": [
    {
      "id": "7528647007431720960",
      "type": "post",
      "query": {
        "page": "1",
        "sortBy": "date",
        "targetUrl": "https://www.linkedin.com/in/satyanadella/"
      },
      "author": {
        "id": "ACoAAAEkwwAB9KEc2TrQgOLEQ-vzRyZeCDyc6DQ",
        "urn": "19186432",
        "info": "Chairman and CEO at Microsoft",
        "name": "Satya Nadella",
        "type": "profile",
        "avatar": {
          "width": 800,
          "height": 800
        },
        "website": null,
        "linkedinUrl": "https://www.linkedin.com/in/satyanadella?miniProfileUrn=urn%3Ali%3Afsd_profile%3AACoAAAEkwwAB9KEc2TrQgOLEQ-vzRyZeCDyc6DQ",
        "websiteLabel": null,
        "universalName": null,
        "publicIdentifier": "satyanadella"
      },
      "header": {
        "text": null
      },
      "content": "Highlights from my opening of the Ignite keynote this morning on how we’re building a frontier ecosystem to turn advances in AI into real-world impact.",
      "comments": [],
      "entityId": "7528647007431720960",
      "postedAt": {
        "date": "2026-11-18T02:35:22.069Z",
        "timestamp": 1794969322069,
        "postedAgoText": "2 days ago • Visible to anyone on or off LinkedIn",
        "postedAgoShort": "2d"
      },
      "shareUrn": "urn:li:ugcPost:7528646800329752576",
      "commentIds": [],
      "engagement": {
        "id": "7528646800329752576",
        "likes": 7087,
        "shares": 591,
        "comments": 294,
        "reactions": [
          {
            "type": "LIKE",
            "count": 6470
          }
        ]
      },
      "postImages": [],
      "linkedinUrl": "https://www.linkedin.com/posts/satyanadella_highlights-from-my-opening-of-the-ignite-activity-7528647007431720960-KV0i",
      "reactionIds": [],
      "socialContent": {
        "shareUrl": "https://www.linkedin.com/posts/satyanadella_highlights-from-my-opening-of-the-ignite-activity-7528647007431720960-KV0i?",
        "trustInterventionBanner": null
      },
      "shareLinkedinUrl": "https://www.linkedin.com/feed/update/urn:li:ugcPost:7528646800329752576",
      "contentAttributes": []
    },
    {
      "id": "7528885100705402880",
      "type": "post",
      "query": {
        "page": "1",
        "sortBy": "date",
        "targetUrl": "https://www.linkedin.com/in/satyanadella/"
      },
      "author": {
        "id": "ACoAAAEkwwAB9KEc2TrQgOLEQ-vzRyZeCDyc6DQ",
        "urn": "19186432",
        "info": "Chairman and CEO at Microsoft",
        "name": "Satya Nadella",
        "type": "profile",
        "avatar": {
          "width": 800,
          "height": 800
        },
        "website": null,
        "profileId": "ACoAAAEkwwAB9KEc2TrQgOLEQ-vzRyZeCDyc6DQ",
        "linkedinUrl": "https://www.linkedin.com/in/satyanadella?miniProfileUrn=urn%3Ali%3Afsd_profile%3AACoAAAEkwwAB9KEc2TrQgOLEQ-vzRyZeCDyc6DQ",
        "websiteLabel": null,
        "universalName": null,
        "publicIdentifier": "satyanadella"
      },
      "header": {
        "text": null
      },
      "repost": {
        "id": "7528564599718297600",
        "author": {
          "id": "3185",
          "urn": "3185",
          "info": "6,929,495 followers",
          "name": "Salesforce",
          "type": "company",
          "avatar": {
            "width": 400,
            "height": 400
          },
          "website": null,
          "companyId": "3185",
          "linkedinUrl": "https://www.linkedin.com/company/salesforce/posts",
          "websiteLabel": null,
          "universalName": "salesforce",
          "publicIdentifier": null
        },
        "header": {
          "text": null
        },
        "content": "Introducing Copilotforce\n\nSalesforce customer context and sales workflows are coming to Microsoft Copilot and Teams—where more than 400M people already collaborate\n\nOur expanded partnership with Microsoft spans Copilot, Teams & Fabric:\n\n→ Salesforce in Microsoft Copilot will help sellers prepare for meetings, spot deal risks & take supported Salesforce actions, informed by customer context, ema...",
        "comments": [],
        "entityId": "7528564599718297600",
        "postedAt": {
          "date": "2026-11-17T21:07:54.539Z",
          "timestamp": 1794949674539,
          "postedAgoText": "3 days ago • Edited • Visible to anyone on or off LinkedIn",
          "postedAgoShort": "3d"
        },
        "shareUrn": "urn:li:ugcPost:7528564596522123265",
        "postVideo": {},
        "engagement": {
          "id": "7528564596522123265",
          "likes": 2275,
          "shares": 377,
          "comments": 55,
          "reactions": [
            {
              "type": "LIKE",
              "count": 1993
            }
          ]
        },
        "postImages": [],
        "linkedinUrl": "https://www.linkedin.com/posts/salesforce_msignite-activity-7528564599718297600-KfxC",
        "socialContent": {
          "shareUrl": "https://www.linkedin.com/posts/salesforce_msignite-activity-7528564599718297600-KfxC?",
          "hideSendAction": true,
          "hideShareAction": true,
          "trustInterventionBanner": null
        },
        "shareLinkedinUrl": "https://www.linkedin.com/feed/update/urn:li:ugcPost:7528564596522123265",
        "contentAttributes": [
          {
            "type": "COMPANY_NAME",
            "start": 88,
            "length": 17,
            "company": {
              "id": "3509299",
              "name": "Microsoft Copilot",
              "linkedinUrl": "https://www.linkedin.com/company/3509299/"
            },
            "textLink": null,
            "hyperlink": "https://www.linkedin.com/company/3509299/"
          }
        ]
      },
      "content": "Bringing Salesforce to Copilot as we build Copilot as the OS for work!",
      "comments": [],
      "entityId": "7528885100705402880",
      "postedAt": {
        "date": "2026-11-18T18:21:27.929Z",
        "timestamp": 1795026087929,
        "postedAgoText": "2 days ago • Visible to anyone on or off LinkedIn",
        "postedAgoShort": "2d"
      },
      "repostId": "7528564599718297600",
      "shareUrn": "urn:li:ugcPost:7528885100181237760",
      "commentIds": [],
      "engagement": {
        "id": "7528885100181237760",
        "likes": 3189,
        "shares": 191,
        "comments": 219,
        "reactions": [
          {
            "type": "LIKE",
            "count": 2914
          }
        ]
      },
      "postImages": [],
      "linkedinUrl": "https://www.linkedin.com/posts/satyanadella_msignite-activity-7528885100705402880-7ICw",
      "reactionIds": [],
      "socialContent": {
        "shareUrl": "https://www.linkedin.com/posts/satyanadella_msignite-activity-7528885100705402880-7ICw?",
        "hideSendAction": true,
        "hideShareAction": true,
        "trustInterventionBanner": null
      },
      "shareLinkedinUrl": "https://www.linkedin.com/feed/update/urn:li:ugcPost:7528885100181237760",
      "contentAttributes": []
    }
  ],
  "post_count": 2
}

Use it with your agent

Copy the prompt and paste it into your agent, then tell it what you need.

Read https://scrollport.com/start. Use my existing Scrollport connection, or help me connect if needed. Help me use LinkedIn Profile Posts Scraper (tool ID: apify.harvest-api-linkedin-profile-posts). Ask me for the details you need, then show me the result.

Provider access is included. If your agent isn't connected to Scrollport yet, it will help you set that up.

No agent yet? Create your account on the web and connect one from your dashboard later.

Other tools for this job

Compare all 10 →

Questions

Is LinkedIn Profile Posts Scraper by Apify free?

Scrollport has no free tier: it costs $0.0034 per result ($0.34 per 100 results), paid per use from a prepaid wallet with no subscription. Connecting your first agent adds $1 of trial credit, so you can try it before adding funds.

Do I need an API key from Apify?

No. Your agent runs it through your Scrollport connection (MCP, the Scrollport CLI or the HTTP API), and Scrollport handles access to Apify, so you don't sign up with Apify or manage an API key.

Details

About this tool

Collect recent public posts from up to 10 LinkedIn profile URLs. maxPosts sets the posts per profile (default 10); targetUrls × maxPosts must fit maxItems, which you can omit to derive it. Each post includes text, date, reactions, comments and reposts counts, and media links. You're charged per post returned. The worked example shows selected fields: long text is shortened, nested lists keep one item and expiring media links are left out.

All inputs and outputs

Input

inputobject · required

Provider-specific public source, URL or search criteria.

maxItemsinteger · optional

Maximum number of records to return.

minimum: 1 · maximum: 250

Output

post_countnumber
postsarray
Errors and limits
  • upstream_error: The scraper could not return usable results; the wallet was not charged.Check the input and limits, or retry later.