Documentation Index
Fetch the complete documentation index at: https://docs.lobstr.io/llms.txt
Use this file to discover all available pages before exploring further.
Add 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.
Your API authentication token. Value: Token YOUR_API_KEY
Request body format. Value: application/json
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"
}