LinkedIn Profile Posts Scraper

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

by ApifyReady to run$0.0028 per result · $0.28 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
Posted at
2026-10-20 09:17 UTC
LinkedIn URL
https://www.linkedin.com/posts/satyanadella_advancing-digital-sovereignty-with-greater-activity-7518239029990023168-eZnX
Likes
2886
Shares
91
Comments
78
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": "7518239029990023168",
      "type": "post",
      "postedAt": {
        "date": "2026-10-20T09:17:46.876Z",
        "timestamp": 1792487866876,
        "postedAgoText": "54 minutes ago • Visible to anyone on or off LinkedIn",
        "postedAgoShort": "54m"
      },
      "engagement": {
        "id": "7518239029990023168",
        "likes": 2886,
        "shares": 91,
        "comments": 78,
        "reactions": [
          {
            "type": "LIKE",
            "count": 2755
          },
          {
            "type": "PRAISE",
            "count": 53
          },
          {
            "type": "EMPATHY",
            "count": 40
          },
          {
            "type": "INTEREST",
            "count": 25
          },
          {
            "type": "APPRECIATION",
            "count": 12
          },
          {
            "type": "ENTERTAINMENT",
            "count": 1
          }
        ]
      },
      "linkedinUrl": "https://www.linkedin.com/posts/satyanadella_advancing-digital-sovereignty-with-greater-activity-7518239029990023168-eZnX"
    },
    {
      "id": "7517971322266640384",
      "type": "post",
      "postedAt": {
        "date": "2026-10-19T15:34:00.381Z",
        "timestamp": 1792424040381,
        "postedAgoText": "18 hours ago • Visible to anyone on or off LinkedIn",
        "postedAgoShort": "18h"
      },
      "engagement": {
        "id": "7517971322266640384",
        "likes": 947,
        "shares": 82,
        "comments": 158,
        "reactions": [
          {
            "type": "LIKE",
            "count": 859
          },
          {
            "type": "INTEREST",
            "count": 47
          },
          {
            "type": "EMPATHY",
            "count": 17
          },
          {
            "type": "PRAISE",
            "count": 16
          },
          {
            "type": "APPRECIATION",
            "count": 7
          },
          {
            "type": "ENTERTAINMENT",
            "count": 1
          }
        ]
      },
      "linkedinUrl": "https://www.linkedin.com/posts/satyanadella_securing-the-agentic-insider-the-official-activity-7517971322266640384-ahKI"
    }
  ],
  "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.

Other tools for this job

Compare all 8 →

Questions

Is LinkedIn Profile Posts Scraper by Apify free?

Scrollport has no free tier: it costs $0.0028 per result ($0.28 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

Use 1–10 public LinkedIn profile URLs and 1–100 posts per profile, up to 250 posts in total. maxPosts defaults to 10 per profile. maxItems, when supplied, must cover targetUrls × maxPosts. No LinkedIn account or cookies are needed. Comments and individual reactions are not scraped. Pricing includes a small start charge and any reported empty-query charge; a wholly empty run is not charged.

All inputs and outputs

Input

inputobject · required

Provider-specific public source, URL or search criteria.

maxItemsinteger · optional

Must cover all profiles × maxPosts. Omit to derive it from the input.

minimum: 1 · maximum: 250

Output

post_countnumber
postsarray
Errors and limits
  • bad_input: Use a public LinkedIn profile and a bounded post count.Do not supply cookies, credentials, comments or reaction-scraping options. Nothing is submitted for invalid input.
  • upstream_no_usable_results: The profile returned no usable public posts.Check that the profile exists and has public activity. A run with no usable posts is not charged.