scrape_post_comments
Scrape LinkedIn post comments to identify warm leads, decision-makers, competitor mentions, and pain points. Stores comments and replies for research.
Instructions
Scrape and store comments on a LinkedIn post via Apify.
Use this to research who is engaging with a specific post — comments often reveal warm leads, decision-makers, competitor mentions, and pain points.
Args: post_url: Full LinkedIn post URL. Either /posts/_-activity-XXX or /feed/update/urn:li:activity:XXX form is accepted. max_items: Max comments (and replies) to fetch (default 50, capped at 200). include_replies: If True, also fetch nested replies (default True). profile_mode: "short" (free profile data attached to each comment) or "main" ($0.002/profile, more author detail). Default "short".
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"post_url": "<post_url>"
},
"name": "scrape_post_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_url | Yes | ||
| max_items | No | ||
| profile_mode | No | short | |
| include_replies | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |