LinkedIn Posts
Posts from profiles and companies. Auto-paginated, clean JSON.
per event $0.001
What it does
Extracts posts from LinkedIn profiles and company pages at scale. Handles pagination automatically, respects rate limits, and returns clean JSON with author snapshots, post content, media, and engagement stats. No LinkedIn account needed on your end.
Input
Request body
| Field | Type | Description | |
|---|---|---|---|
| profiles | string[] | optional | LinkedIn profile URLs to scrape posts from. |
| companies | string[] | optional | LinkedIn company URLs to scrape posts from. |
| maxPosts | number | optional | Max posts per profile/company. Default: unlimited. |
| postedSince | ISO date | optional | Only include posts published after this date. |
Output
Post object
| Field | Type | Description | |
|---|---|---|---|
| urn | string | required | LinkedIn post URN (unique identifier). |
| url | string | required | Public post URL. |
| text | string | optional | Post text content. |
| author | object | required | Author profile snapshot — name, headline, profileUrl. |
| postedAt | ISO date | required | When the post was published. |
| stats | object | required | Reactions, comments, and reposts counts. |
| media | object[] | optional | Images, videos, or documents attached to the post. |
Example request
curl -X POST \
"https://api.apify.com/v2/acts/3hyVeyxRJfTfNA7S6/runs?token=YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"profiles": ["https://www.linkedin.com/in/someone/"],
"maxPosts": 50
}' Features
- Auto-pagination — no cursor juggling on your side.
- Incremental scraping —
postedSincefetches only new posts. - Classified errors — every error is tagged
client(your input/access) ortransient(our side or upstream), so your retry logic stays clean. - No LinkedIn account — zero account-burning risk.
Errors & limits
INVALID_INPUT— malformed profile or company URL.PROFILE_NOT_FOUND— profile is private, deleted, or blocked.RATE_LIMITED— temporary throttle; retry with backoff.
Changelog
- 1.0.24 — every error is now tagged
clientortransientin the response body. - 1.0.23 — stability fixes for company page pagination.
AT SCALE
Running high volumes?
Skip the marketplace tiers and get unit pricing scoped to your real call volume — direct line to the team that runs the pipeline.
Get volume pricing