LinkedIn Sales Navigator: 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.
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" } ] }
15 fields per company
Every call returns them for each record, in the results of its JSON answer.
Search companies
15 fields- object
- text
- company
- id
- id
- The company's id in Sales Navigator and on LinkedIn, a number.
1234567- position
- number
- Its rank in the search
- 1
- url
- link
- The company's account page in Sales Navigator: pass it to sales_navigator/companies/get.
- linkedin.com/sales/company/1234567
- name
- text
- Acme Data
What it costs
Billed by the call: 25 credits, whatever the page holds (up to 25 companys). Pick how many calls a month.
25 credits a call
Calls a month
100
Built to run
Every call counts; a day is green at 99.5% successful.
- Successful calls
- 100.00%
- Median call
- 2.6 s
A call fails when the site does not answer or we cannot read its answer; a wrong input is not counted.
Frequently asked questions
What people ask before calling sales_navigator/companies/search.
Search companies
When do I 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).
What do I give it?
search(required): The account search, as Sales Navigator writes it: the address of its results page, copied from the browser (https://www.linkedin.com/sales/search/company?query=(...)), or itsqueryalone. 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).account: The connected Sales Navigator account to read with (GET /v2/accounts). Left out, the platform takes the first of your Sales Navigator accounts with a free slot.
What does it return?
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. Every record has the same fields, empty ones included: they are all listed above.
How do I get the next page?
Each answer ends with next: the following call, whole. Send it as it is; it is null after the last page. A page holds 25 records at most, up to page 66.
Pricing
What does a call cost?
25 credits per call that returns companies, a short page included. An empty answer, a failed call and a busy account are free.
When is a call free?
- an empty page (past the end, or nothing found)
- a call that fails
- a call the account is too busy for (it answers with retry_after)
Errors
What can go wrong?
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, retry): 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_aftersays when it can again, in seconds. Retrying before then gets this same answer: nothing is queued.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, retry): LinkedIn did not answer properly; retry later (not charged).unexpected_answer(424): LinkedIn answered in a shape we do not read yet; we are told and fix it (not charged).
How long can a call take?
30 seconds at most by default, up to 60 with timeout_s. A call past it answers timeout (408), is not charged, and can be sent again.
API and agents
Can my AI agent run it?
Yes: connect the lobstr.io MCP server (https://api.lobstr.io/v2/mcp, your API key as a Bearer token); its run_operation tool runs sales_navigator/companies/search. Its page for agents, in Markdown: sales_navigator/companies/search.md.
Where is its full description?
The contract, as JSON: https://api.lobstr.io/v2/catalog/sales_navigator/companies/search: every option, every field, the price and the errors. This page is drawn from it.
Ready to call it?
An API key in a minute, then the call above, from your code or your agent.