v2

latestOpenAPI 3.0.3AGPL-3.0 license2026-07-2613501.9 MB
scrapers

Scrape LinkedIn profile posts

Returns paginated posts from a LinkedIn profile. Each post carries: postUrl, text, date, likesCount, commentsCount, sharesCount, postUrn, postId, type (activity/ugcPost/share), authorName, authorProfileUrl, authorPublicIdentifier, authorProfileUrn, authorHeadline, authorImageUrl, media (images/video/document/article), isRepost, reactionTypeCounts[] (per-reaction breakdown — LIKE / CELEBRATE / EMPATHY / INTEREST / PRAISE / APPRECIATION with counts), numImpressions (when LinkedIn surfaces it — usually only for owned posts), highlightedReactorName (LinkedIn's 'Liked by X' social-proof line when a viewer's connection engaged), viewerLiked (whether the authenticated viewer reacted). Supports count, start, and paginationToken for pagination.

post/collect/linkedin/posts

Request body

profileUrlstring required

LinkedIn profile identifier. Accepts PERSONAL profiles (full URLs like https://www.linkedin.com/in/username, vanity names like john-doe, or URNs like urn:li:fsd_profile:ACoAAA...) AND COMPANY pages (full URLs like https://www.linkedin.com/company/fnaim or https://fr.linkedin.com/company/fnaim). Company URLs hit the organization-updates feed; personal URLs hit the profile activity feed. Same result shape for both.

countinteger

Number of posts to fetch (0-100, default 20)

startinteger

Pagination offset (default 0).

paginationTokenstring

Pagination token from a previous response to fetch the next page.

returnRepostsboolean

Include reposts/reshares in results. Defaults to false (only original posts).

Response

Paginated list of posts from the profile

successtrue required
countinteger required
totalinteger required
startinteger required
hasMoreboolean required
paginationTokenstring nullable required
previousTotalinteger nullable required

The total from your last call to this endpoint for the same profile (null on first call). Compare with total to detect new posts without client-side tracking.

creditsUsedinteger required

Credits consumed by this call (0 for free endpoints, cached results, or duplicates).

retryAfterinteger required

Seconds to wait before making another call of the same type. 0 means no wait needed.