Add Tasks
Add LinkedIn post URLs to scrape commenters and likers using the lobstr.io API
https://api.lobstr.io/v2/squid/{squid_id}/taskAdd LinkedIn post URLs as tasks to your squid. The scraper will extract all users who commented on or reacted to the post, along with their profile information.
8a309e0e0df48511111a9da6382b2ef8Headers
AuthorizationstringheaderrequiredYour API authentication token. Value: Token YOUR_API_KEY
Content-TypestringheaderrequiredRequest body format. Value: application/json
URL Format
Use any LinkedIn post URL format:
https://www.linkedin.com/posts/username_post-title-activity-123456789/
https://www.linkedin.com/feed/update/urn:li:activity:123456789/
You can copy the URL directly from any LinkedIn post.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| post_url | string | Yes | URL of the LinkedIn Post to scrape |
Scrape viral posts in your industry to build targeted lead lists from engaged audiences.
The scraper extracts both commenters and likers by default. Use settings to toggle each separately.
Posts from LinkedIn influencers often have high-quality engaged audiences for B2B outreach.
Code Examples
curl -X POST "https://api.lobstr.io/api/v2/squid/YOUR_SQUID_ID/task" \ -H "Authorization: Token YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "post_url": "https://www.linkedin.com/posts/example_great-post-activity-7403510298726375424-RIMy" }'
Response
{ "id": "task_abc123def456", "status": "pending", "created_at": "2025-01-15T10:30:00Z", "post_url": "https://www.linkedin.com/posts/example_great-post-activity-7403510298726375424-RIMy" }