Skip to main content
POST /v1/data/linkedin/post-comments/run Pricing: $0.002 per comment ($2.00 per 1,000). Plus a flat $0.001 search fee per run, charged even when nothing is found.

Request

Send the inputs under params. Only the keys below are accepted; any other key returns 422 invalid_params.
string
required
LinkedIn post URL to scrape comments from.Format e.g. https://www.linkedin.com/posts/satyanadella_to-mark-the-broad-rollout-of-agent-mode-in-activity-7452924970042826753-r6bz.
integer
Number of comments to return. Use 0 for all.
string
Only comments within this time window.Allowed values: any (Any time), 24h (Past 24 hours), week (Past week), month (Past month).
boolean
Also fetch replies to each top-level comment.

Example

Response fields

Each row in data is one comment, keyed by these fields.

Example response

Abridged: long text and lists are shortened.
For the posts themselves use linkedin/posts; for who reacted use linkedin/post-reactions.