Skip to content
Examples

Update Settings

Configure the LinkedIn Posts Commenters and Likers Scraper settings

The v1 API, for batchesSquids, tasks and runs: many calls on a schedule, delivered where you work. For one call that answers in seconds, use the API v2.
POSThttps://api.lobstr.io/v1/squids/{squid_hash}

Configure your LinkedIn Posts Commenters and Likers Scraper squid settings. Control which engagement types to scrape and enable email enrichment.

Headers

Authorizationstringheaderrequired

Your API authentication token. Value: Token YOUR_API_KEY

Content-Typestringheaderrequired

Request body format. Value: application/json

Scraper Parameters

Set these parameters in the params object:

Parameter Type Default Description
scrape_comments boolean true Enable to scrape users who commented on the post
scrape_reactions boolean true Enable to scrape users who reacted (liked) the post
email_enrichment boolean false Enable email enrichment to find email addresses (9 credits per profile where an email is found)
max_results integer unlimited Maximum results to collect per post
max_unique_results_per_run integer unlimited Maximum unique results across all tasks in the run

Squid Settings

Configure general squid settings:

Setting Type Description
name string Display name for your squid configuration
concurrency integer Number of parallel scraping threads (default: 1)
export_unique_results boolean Export only unique results (deduplicated)
to_complete boolean Run until all tasks complete
no_line_breaks boolean Remove line breaks from results

Email Enrichment

When email enrichment is enabled, lobstr.io will attempt to find email addresses for each profile.

Pricing: 9 credits per profile where an email is found. No email found = 0 credits charged.

Enriched emails include validation status: valid, invalid, catch-all, etc.

Set scrape_comments to true only if you want users who engaged deeply with the content.

Email enrichment costs 9 credits per profile where an email is found. Disable if you don't need emails.

Commenters often have higher intent than passive likers - filter accordingly for outreach campaigns.

Code Examples

curl -X POST "https://api.lobstr.io/v1/squids/YOUR_SQUID_HASH" \
  -H "Authorization: Token YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "LinkedIn Posts Commenters and Likers Scraper (1)",
    "concurrency": 5,
    "export_unique_results": true,
    "to_complete": false,
    "no_line_breaks": true,
    "params": {
      "scrape_comments": true,
      "scrape_reactions": true,
      "email_enrichment": false,
      "max_results": 1000
    }
  }'

Response

201
{
  "name": "LinkedIn Posts Commenters and Likers Scraper (1)",
  "concurrency": 5,
  "export_unique_results": true,
  "to_complete": false,
  "no_line_breaks": true,
  "params": {
    "scrape_comments": true,
    "scrape_reactions": true,
    "email_enrichment": false,
    "max_results": 1000
  }
}