# search_linkedin_sales_navigator_companies: Search companies in my Sales Navigator, every filter typed

Search companies in Sales Navigator on your own seat, with each Sales Navigator filter as its own typed input. This action only reads; it changes nothing. Plan: Free and Connect.

```
POST https://api.heyreagent.com/v1/actions/search_linkedin_sales_navigator_companies
Authorization: Bearer YOUR_KEY
content-type: application/json

{
  "keywords": "software"
}
```

## What you give it

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

## What you get back

- `returned`: number
- `nextCursor`: a cursor
- `results[].type`: COMPANY
- `results[].id`: a company id
- `results[].name`: string
- `results[].location`: string or null
- `results[].profileUrl`: string
- `results[].industry`: string
- `results[].summary`: string or null
- `results[].followersCount`: number
- `results[].jobOffersCount`: number
- `results[].headcount`: string

## Good to know

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

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