Skip to content
Examples

Update Settings

Configure the LinkedIn Profile Scraper settings including email enrichment

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 Profile Scraper squid settings. The main configurable option is email enrichment, which uses lobstr.io's enrichment service to find email addresses for the profiles you scrape.

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
email_enrichment boolean true Enable email enrichment to find email addresses for profiles (9 credits per profile where an email is found)

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 the email address associated with each LinkedIn profile.

Pricing: 9 credits per profile enriched. No email found = 0 credits charged.

The enrichment service returns:

  • email: The discovered email address (if found)
  • email_status: Validation status of the email (valid, invalid, catch-all, etc.)

Email enrichment is enabled by default. Disable it before running if you don't need email data to avoid unexpected credit usage.

If you don't need email addresses, disable enrichment to reduce costs: set email_enrichment to false.

Backward compatibility: The old function name email is still accepted but deprecated. Migrate to email_enrichment.

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 Profile Scraper (1)",
    "concurrency": 1,
    "export_unique_results": true,
    "to_complete": false,
    "no_line_breaks": true,
    "params": {
      "email_enrichment": true
    }
  }'

Response

201
{
  "name": "LinkedIn Profile Scraper (1)",
  "concurrency": 1,
  "export_unique_results": true,
  "to_complete": false,
  "no_line_breaks": true,
  "params": {
    "email_enrichment": true
  }
}