v2

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

Scrape LinkedIn post comments

Returns paginated top-level comments for a LinkedIn post (newest first). Each commenter carries name, headline, profileUrl, profileUrn, publicIdentifier, imageUrl, PLUS rich comment-level metadata: commentText (what they wrote — gold for personalised outreach), timestamp (when they commented), isPostAuthor (skip if true), commentUrn (use with scrape_comment_repliers to get reply tree), repliesCount, hasReplyFromPostAuthor. When campaignSlug is provided, also includes knownDistance (cached connection degree from recent visits) and actionsCompleted (message/reply/like/visit/connect booleans). Use count=0 to get only the total count without profile data. Response includes previousTotal to detect new comments without client-side tracking.

post/collect/linkedin/comments

Request body

postUrlstring required

LinkedIn post URL to inspect for comments.

startinteger

Pagination offset (multiples of 100).

countinteger

Number of comments to fetch per page (0-100, default 100). Use count=0 to fetch only the total count without profile data.

campaignSlugstring

When provided, each profile in the response includes actionsCompleted (message/reply/like/visit/connect booleans) and knownDistance (cached memberDistance from recent visits, null if not cached). Enables campaign-aware scraping without manual cross-referencing. Also auto-adds contacts to the campaign.

omitDataboolean

When true, returns only counts (no profiles array). Data is still saved to DB.

Response

List of profiles who commented on the post

successtrue required
countinteger required

Number of profiles returned in this page.

totalinteger required

Total number of comments on the post.

startinteger required

Pagination offset used for this response.

hasMoreboolean required

True when more pages are available beyond this one.

previousTotalinteger nullable required

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

processedCountinteger

Number of returned profiles that already have a completed 'message' action in this campaign. Only present when campaignSlug is provided.

newCountinteger

Number of returned profiles that have NOT yet been messaged in this campaign. Only present when campaignSlug is provided.

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.