Skip to main content
POST
/
v1
/
squids
/
{squid_hash}
Update Settings
curl --request POST \
  --url https://api.lobstr.io/v1/squids/{squid_hash} \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>'
Configure your LinkedIn Posts Commenters and Likers Scraper squid settings. Control which engagement types to scrape and enable email enrichment.

Headers

Authorization
string
required
Your API authentication token. Value: Token YOUR_API_KEY
Content-Type
string
required
Request body format. Value: application/json

Scraper Parameters

Set these parameters in the params object:
ParameterTypeDefaultDescription
scrape_commentsbooleantrueEnable to scrape users who commented on the post
scrape_reactionsbooleantrueEnable to scrape users who reacted (liked) the post
email_enrichmentbooleanfalseEnable email enrichment to find email addresses (9 credits per profile where an email is found)

Squid Settings

Configure general squid settings:
SettingTypeDescription
namestringDisplay name for your squid configuration
concurrencyintegerNumber of parallel scraping threads (default: 1)
export_unique_resultsbooleanExport only unique results (deduplicated)
to_completebooleanRun until all tasks complete
no_line_breaksbooleanRemove 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
    }
  }'

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
  }
}