---
title: "Search companies in my Sales Navigator, every filter typed"
method: POST
path: "/v1/actions/search_linkedin_sales_navigator_companies"
tags: ["Search"]
---

# Search companies in my Sales Navigator, every filter typed

`POST /v1/actions/search_linkedin_sales_navigator_companies`

## Request

- Base URL: `https://api.heyreagent.com`
- URL: `https://api.heyreagent.com/v1/actions/search_linkedin_sales_navigator_companies`
- Auth: HTTP bearer

Search companies in Sales Navigator on your own seat, with each Sales Navigator filter as its own typed input.

At most 100 rows per call: LinkedIn's page size for this search.

LinkedIn returns at most 1,000 rows for one search; narrow the filters to reach the rest.

Needs a Sales Navigator seat on your own LinkedIn account.

Look filter ids up with lookup_search_ids service SALES_NAVIGATOR: that input selects which product's list is searched.

Docs: https://heyreagent.com/docs/actions/search_linkedin_sales_navigator_companies

## Request body

- object
  - `keywords` string: Words to search for.
  - `lastViewedAt` number: With savedSearchId: only results newer than this moment (Unix time).
  - `savedSearchId` string: Run one of your saved searches; it replaces every other filter: an id from lookup_search_ids type SAVED_SEARCHES, service SALES_NAVIGATOR.
  - `recentSearchId` string: Run one of your recent searches again; it replaces every other filter: an id from lookup_search_ids type RECENT_SEARCHES, service SALES_NAVIGATOR.
  - `industry` object: Industries to include and to leave out.
    - `include` string[]: Ids from lookup_search_ids type SALES_INDUSTRY, service SALES_NAVIGATOR.
    - `exclude` string[]: Ids from lookup_search_ids type SALES_INDUSTRY, service SALES_NAVIGATOR.
  - `location` object: Headquarters places to include and to leave out.
    - `include` string[]: Ids from lookup_search_ids type LOCATION, service SALES_NAVIGATOR.
    - `exclude` string[]: Ids from lookup_search_ids type LOCATION, service SALES_NAVIGATOR.
  - `locationByPostalCode` object: Postal codes to include and to leave out.
    - `include` string[]: Ids from lookup_search_ids type POSTAL_CODE, service SALES_NAVIGATOR.
    - `exclude` string[]: Ids from lookup_search_ids type POSTAL_CODE, service SALES_NAVIGATOR.
    - `withinArea` number: Miles around the postal code.
  - `hasJobOffers` boolean: Only companies hiring on LinkedIn.
  - `headcount` object[]: Company sizes, as LinkedIn's own bands, e.g. { min: 51, max: 200 }.
    - `min` unknown
    - `max` unknown
  - `headcountGrowth` object: Headcount growth, in percent.
    - `min` number
    - `max` number
  - `departmentHeadcount` object: How many people work in given departments.
    - `department` string[], required: Ids from lookup_search_ids type DEPARTMENT, service SALES_NAVIGATOR.
    - `min` number
    - `max` number
  - `departmentHeadcountGrowth` object: How fast given departments are growing, in percent.
    - `department` string[], required: Ids from lookup_search_ids type DEPARTMENT, service SALES_NAVIGATOR.
    - `min` number
    - `max` number
  - `networkDistance` unknown[]: Connection degrees from you: 1, 2, 3.
    - unknown
  - `annualRevenue` object: Yearly revenue in millions, as LinkedIn's own steps. For "1000+" set max to 1001.
    - `currency` string, required: Three-letter currency code, e.g. "USD".
    - `min` unknown, required
    - `max` unknown, required
  - `followersCount` object[]: Number of followers, as LinkedIn's own bands.
    - `min` unknown
    - `max` unknown
  - `fortune` object[]: Fortune ranking, as LinkedIn's own bands.
    - `min` unknown
    - `max` unknown
  - `technologies` string[]: Technologies the company uses: ids from lookup_search_ids type TECHNOLOGIES, service SALES_NAVIGATOR.
  - `recentActivities` string[]: Only companies with these recent events.
  - `savedAccounts` string[]: Your saved accounts: ids from lookup_search_ids type SAVED_ACCOUNTS, service SALES_NAVIGATOR.
  - `accountLists` object: Your account lists (an id, or "ALL") to include and to leave out.
    - `include` string[]: Ids from lookup_search_ids type ACCOUNT_LISTS, service SALES_NAVIGATOR.
    - `exclude` string[]: Ids from lookup_search_ids type ACCOUNT_LISTS, service SALES_NAVIGATOR.
  - `limit` number: How many to return (1–100, default 10).
  - `cursor` string: nextCursor from the previous call, to get the next page. Keep the other arguments the same.
  - `connectionId` string: Which of your LinkedIn accounts to act from (its id from list_linkedin_accounts). Omit to use your first live one.

## Response `200`

It worked. Inside result: returned, nextCursor, results[].type, results[].id, results[].name, results[].location, results[].profileUrl, results[].industry, results[].summary, results[].followersCount, results[].jobOffersCount, results[].headcount.

- Worked
  - `ok` true, required
  - `result` object, required: What was asked for. A field that does not apply is left out, or is null.

## Other responses

- `default`: It did not work. The message says why, in plain English.

---

[API](https://skmtc.dev/heyreagent/apis/heyreagent-api.md) · [All operations](https://skmtc.dev/heyreagent/apis/heyreagent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/heyreagent/apis/heyreagent-api/revisions/917360c5f841?raw)
