Skip to content
Examples

Add Tasks

Add Sales Navigator company search URLs to scrape using the lobstr.io API

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/v2/squid/{squid_id}/task

Add Sales Navigator company search URLs as tasks to your squid. The scraper will export all companies matching your search filters.

Crawler ID: 6b66cba236b64604581864230e1f4d36

Headers

Authorizationstringheaderrequired

Your API authentication token. Value: Token YOUR_API_KEY

Content-Typestringheaderrequired

Request body format. Value: application/json

URL Format

The scraper accepts three types of Sales Navigator company URLs:

  • Search URL — a filtered company search: https://www.linkedin.com/sales/search/company?query=(keywords:technology)
  • Custom list URL — a saved company list: https://www.linkedin.com/sales/lists/company/YOUR_LIST_ID
  • All Saved Accounts dashboard — your full saved accounts list: https://www.linkedin.com/sales/accounts/dashboard

Build your search or open a saved list in Sales Navigator, then copy the URL from your browser.

Request Body

Field Type Required Description
url string Yes Sales Navigator company search URL, custom list URL, or All Saved Accounts dashboard URL

Build your search in Sales Navigator first, apply all filters, then copy the URL to ensure accurate results.

This scraper requires a linked Sales Navigator account. Connect your account in lobstr.io settings first.

Each search URL can return up to 2,500 companies (100 pages × 25 results per page).

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 '{
    "url": "https://www.linkedin.com/sales/search/company?query=(keywords:technology)"
  }'

Response

200
{
  "id": "task_abc123def456",
  "status": "pending",
  "created_at": "2025-01-15T10:30:00Z",
  "url": "https://www.linkedin.com/sales/search/company?query=(keywords:technology)"
}