Profile Posts Scraper for LinkedIn

Retrieve public LinkedIn posts by profile username or URL with automatic pagination.

by ApifyReady to run$0.0070 per result · $0.70 per 100 results

Example

You ask your agent

“Get Satya Nadella's two most recent LinkedIn posts and how people reacted.”

You get

First of 2 posts

URL
https://www.linkedin.com/posts/satyanadella_advancing-digital-sovereignty-with-greater-activity-7518239029990023168-eZnX
Posted at
2026-10-20 11:17
Like
2771
Love
40
Funny
1
Curious
0
Insight
25
Reposts
92
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.api-maestro-linkedin-profile-posts",
  "input": {
    "input": {
      "username": "satyanadella",
      "total_posts": 2
    },
    "maxItems": 2
  }
}

Response

{
  "posts": [
    {
      "url": "https://www.linkedin.com/posts/satyanadella_advancing-digital-sovereignty-with-greater-activity-7518239029990023168-eZnX",
      "stats": {
        "like": 2771,
        "love": 40,
        "funny": 1,
        "curious": 0,
        "insight": 25,
        "reposts": 92,
        "support": 12,
        "comments": 80,
        "celebrate": 53,
        "total_reactions": 2902
      },
      "full_urn": "urn:li:activity:7518239029990023168",
      "posted_at": {
        "date": "2026-10-20 11:17:46",
        "relative": "55 minutes ago • Visible to anyone on or off LinkedIn",
        "timestamp": 1792487866876
      }
    },
    {
      "url": "https://www.linkedin.com/posts/satyanadella_securing-the-agentic-insider-the-official-activity-7517971322266640384-ahKI",
      "stats": {
        "like": 860,
        "love": 18,
        "funny": 1,
        "curious": 0,
        "insight": 47,
        "reposts": 82,
        "support": 7,
        "comments": 158,
        "celebrate": 16,
        "total_reactions": 949
      },
      "full_urn": "urn:li:activity:7517971322266640384",
      "posted_at": {
        "date": "2026-10-19 17:34:00",
        "relative": "18 hours ago • Visible to anyone on or off LinkedIn",
        "timestamp": 1792424040381
      }
    }
  ],
  "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 Profile Posts Scraper for LinkedIn (tool ID: apify.api-maestro-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 Profile Posts Scraper for LinkedIn by Apify free?

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

Provide one LinkedIn username or public profile URL and total_posts from 1 to 100 (default 10). Returns post text, source links, timestamps, authors, media and engagement counts. Pagination is handled automatically within that limit. No LinkedIn account or cookies are needed.

All inputs and outputs

Input

inputobject · required

Provider-specific public source, URL or search criteria.

maxItemsinteger · optional

Must cover total_posts. Omit to use total_posts.

minimum: 1 · maximum: 100

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.