Add Tasks
Add Sales Navigator company search URLs to scrape using the lobstr.io API
https://api.lobstr.io/v2/squid/{squid_id}/taskAdd Sales Navigator company search URLs as tasks to your squid. The scraper will export all companies matching your search filters.
6b66cba236b64604581864230e1f4d36Headers
AuthorizationstringheaderrequiredYour API authentication token. Value: Token YOUR_API_KEY
Content-TypestringheaderrequiredRequest 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
{ "id": "task_abc123def456", "status": "pending", "created_at": "2025-01-15T10:30:00Z", "url": "https://www.linkedin.com/sales/search/company?query=(keywords:technology)" }