# LinkedIn Sales Navigator: Search companies

`sales_navigator/companies/search` · version 1.0.1 · pilot · 25 credits a call

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.

Categories: Lead generation

## When to use

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).

## Call

```bash
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)"}}'
```

It answers:

```json
{"object": "run", "status": "succeeded", "count": 25, "has_more": true, "next": {"source": "sales_navigator", "operation": "companies/search", "options": {...}},
 "cost": {"credits": 25}, "balance": {"credits": 9990}, "results": [...]}
```

`cost` and `balance` are objects: a call's credits are `cost.credits`. `results` holds the records (below). `next` is the whole call for the following page: send it as it is; `null` on the last page.

Beside `options`, the call takes:

| Parameter | Type | Description |
|---|---|---|
| `fields` | array of string | The record fields to keep, by path (`title`, `address.city`); `object`, `id` and `position` always come. Left out: every field. |
| `limit` | integer | Only the first N records of this call (1 to 1000), in the call's order; the call costs the same, and `next` keeps the limit. Left out: every record. |

## Options

| Option | Type | Required | Default | Description |
|---|---|---|---|---|
| `search` | string | yes |  | 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 its `query` 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`). |
| `page` | integer, 1 to 66 |  | `1` | The page to start at, 25 companies a page, up to LinkedIn's 66; then follow `next`. The address's own page number is not read. |
| `account` | string |  |  | 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. |
| `cursor` | string |  |  | Where to go on, from `next` in an answer, as it is: opaque, and only for the search it was given with (otherwise `invalid_cursor`). |

## Record

Each item of `results`. Every field is always present, `null` when the site gives nothing.

| Field | Type | Description |
|---|---|---|
| `object` | `"company"` |  |
| `id` | string | The company's id in Sales Navigator and on LinkedIn, a number. |
| `position` | integer | Its rank in the search |
| `url` | string (uri) | The company's account page in Sales Navigator: pass it to sales_navigator/companies/get. |
| `name` | string | null |  |
| `industry` | string | null | As LinkedIn names it: IT Services and IT Consulting. |
| `description` | string | null | The company's own description (About), whole; null when it wrote none. |
| `employee_count` | integer | null | The employees LinkedIn counts on the company (its members who say they work there). |
| `employee_count_range` | string | null | The size the company gives itself: 1-10 employees, 11-50 employees... |
| `logo_url` | string | null (uri) | The logo at its largest size; LinkedIn's link expires. |
| `spotlights` | array | What Sales Navigator points out about the company: HIRING_ON_LINKEDIN, AIQ_STRATEGIC_PRIORITIES (one of its priorities, as Account IQ reads it)... |
| `spotlights[].id` | string | null |  |
| `spotlights[].text` | string | null |  |
| `is_saved` | boolean | null | Whether the account saved the company. |
| `list_count` | integer | null | The number of the account's lists the company is on. |
| `source_url` | string (uri) | The search in Sales Navigator |
| `observed_at` | string (date-time) | When it was read, UTC. |

Example:

```json
{
  "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"
}
```

## Price

25 credits per call that returns companies, a short page included. An empty answer, a failed call and a busy account are free.

## Errors

| Code | Status | Retry | Message |
|---|---|---|---|
| `invalid_search` | 422 | no | 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 | no | 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 | yes | 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. |
| `account_unusable` | 409 | no | 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 | yes | LinkedIn did not answer properly; retry later (not charged). |
| `unexpected_answer` | 424 | no | LinkedIn answered in a shape we do not read yet; we are told and fix it (not charged). |
| `missing_api_key` | 401 | no | No API key: send it as `Authorization: Bearer <key>`. |
| `invalid_api_key` | 401 | no | The key is not valid, or not anymore. |
| `insufficient_credits` | 402 | no | The call costs more credits than are left. |
| `unknown_operation` | 404 | no | No such source and operation in the catalog. |
| `timeout` | 408 | yes | The call did not finish within its deadline (not charged). |
| `invalid_body` | 422 | no | The body is not a call: source, operation, options. |
| `invalid_options` | 422 | no | An option is missing or out of its contract; `param` names it. |
| `invalid_idempotency_key` | 400 | no | The Idempotency-Key header is not printable ASCII, or too long. |
| `concurrency_limit` | 429 | yes | The plan's calls at a time are all in progress (Free 1, Starter 2, Pro 10, Team 50); retry when one has finished (not charged, never queued). |
| `service_busy` | 503 | yes | Too many calls at once on the account; retry in a few seconds. |
| `balance_unavailable` | 503 | yes | The balance could not be read; retry in a few seconds. |

## Changelog

- **1.0.1** (2026-11-22): LinkedIn's depth, measured: the first 1,650 companies of a search, pages 1 to 66.
- **1.0.0** (2026-11-22): First version: the companies of a Sales Navigator account search by its address or a saved search, 25 a page, read with your own connected Sales Navigator account.

Schema: https://api.lobstr.io/v2/catalog/sales_navigator/companies/search · All operations: https://api.lobstr.io/v2/catalog.md
