Search companies
The companies (accounts) of a LinkedIn Sales Navigator account search, 25 a page, each with its industry, description, number of employees and logo, read with your connected Sales Navigator account.
sales_navigator/companies/search25 credits a callv1.0.1When to use it
You want the companies a Sales Navigator account search finds: build the search in Sales Navigator's Account tab with its filters (headquarters, headcount, industry, revenue, keywords...), run it, and pass the address your browser then shows (https://www.linkedin.com/sales/search/company?query=...). The companies come in Sales Navigator's own order, each with its industry, its description, its number of employees and its size range. Follow next unchanged for the next page. LinkedIn shows the first 1,650 companies of a search, 66 pages, whatever its total: for more, narrow the search (a headquarters, a headcount) and run its parts. A saved account search works too, by the address it opens at (?savedSearchId=...), with the account that saved it. For everything about one company, pass its url to sales_navigator/companies/get. It needs one of your Sales Navigator accounts connected (POST /v2/accounts).
Try it
The options on the left write the call; the answer on the right is the contract's example. With your API key, the same call returns live data.
curl https://api.lobstr.io/v2/run \ -H "Authorization: Bearer $LOBSTR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "source": "sales_navigator", "operation": "companies/search", "options": { "search": "https://www.linkedin.com/sales/search/company?query=(spellCorrectionEnabled%3Atrue%2Ckeywords%3Aweb%2520scraping)" } }'
An example answer, from the contract. Run it on your own input with your API key.
{ "object": "run", "id": "run_mnwfwfv7spswlc6iyi5tbbk2jm", "livemode": true, "source": "sales_navigator", "operation": "companies/search", "version": "1.0.1", "schema_url": "https://api.lobstr.io/v2/catalog/sales_navigator/companies/search", "options": { "search": "https://www.linkedin.com/sales/search/company?query=(spellCorrectionEnabled%3Atrue%2Ckeywords%3Aweb%2520scraping)" }, "fields": null, "status": "succeeded", "count": 1, "has_more": false, "next": null, "cost": { "credits": 25 }, "results": [ { "object": "company", "id": "1234567", "position": 1, "url": "https://www.linkedin.com/sales/company/1234567", "name": "Acme Data", "industry": "IT Services and IT Consulting", "description": "We collect public web data for retailers.", "employee_count": 42, "employee_count_range": "11-50 employees", "logo_url": null, "spotlights": [ { "id": "HIRING_ON_LINKEDIN", "text": "Hiring on Linkedin" } ], "is_saved": false, "list_count": 0, "source_url": "https://www.linkedin.com/sales/search/company?query=(spellCorrectionEnabled%3Atrue%2Ckeywords%3Aweb%2520scraping)", "observed_at": "2026-11-22T17:00:00Z" } ] }
Options
searchstringrequiredquery alone. What the page adds for itself (sessionId) is ignored. A saved search's address (?savedSearchId=...) is read too, with the account that saved it. A lead search or a list is refused with what to do (invalid_search).pageintegerDefault 1next. The address's own page number is not read.accountstringcursorstringnext in an answer, as it is: opaque, and only for the search it was given with (otherwise invalid_cursor).Record
Each record of results, in the envelope every call returns (Run an operation).
objectstringidstringpositionintegerurlstringnamestringindustrystringdescriptionstringemployee_countintegeremployee_count_rangestringlogo_urlstringspotlightslistis_savedbooleanlist_countintegersource_urlstringobserved_atdateErrors
Its own, besides those of every call (Errors). A failed call is free.
| Code | Status | What it means |
|---|---|---|
invalid_search | 422 | Pass the address of a Sales Navigator account search with its filters (https://www.linkedin.com/sales/search/company?query=...) or of one of the account's saved searches (?savedSearchId=...), on pages 1 to 66. |
account_required | 422 | You have no connected Sales Navigator account. Connect one with POST /v2/accounts {"site": "sales_navigator", "cookies": ...}: the cookies of a browser where you are logged in to linkedin.com/sales (https://docs.lobstr.io/accounts). |
account_rate_limited | 429 | This Sales Navigator account cannot search right now: it pauses a few seconds between two pages, reads 1,000 pages a day, and LinkedIn can slow it down. retry_after says when it can again, in seconds. Retrying before then gets this same answer: nothing is queued. Retryable. |
account_unusable | 409 | LinkedIn logged this account out, asks it a security check, or it no longer has a Sales Navigator seat. Open linkedin.com/sales in the browser the account comes from, then connect it again with POST /v2/accounts and fresh cookies (the same account keeps its id). |
site_unavailable | 503 | LinkedIn did not answer properly; retry later (not charged). Retryable. |
unexpected_answer | 424 | LinkedIn answered in a shape we do not read yet; we are told and fix it (not charged). |
Price
25 credits per call that returns companies, a short page included. An empty answer, a failed call and a busy account are free. What a credit costs on each plan: Credits and pricing.
Each connected account makes one call every 6 seconds, plus 0 to 4 seconds and 1000 a day; a busy account answers at once with account_rate_limited and retry_after.
Changelog
1.0.12026-11-221.0.02026-11-22