# lookup_search_ids: Look up the id for a search filter

Find LinkedIn's id for a place, company, school, industry, job title and the like, by name. This action only reads; it changes nothing. Plan: Free and Connect.

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

{
  "type": "LOCATION",
  "keywords": "Berlin"
}
```

## What you give it

- `type` (needed): one of: LOCATION, REGION, PEOPLE, CONNECTIONS, COMPANY, SCHOOL, INDUSTRY, SERVICE, JOB_FUNCTION, JOB_TITLE, EMPLOYMENT_TYPE, SKILL, LANGUAGE, POST_JOB_FUNCTION, SENIORITY, GROUPS, SALES_INDUSTRY, DEPARTMENT, PERSONA, ACCOUNT_LISTS, LEAD_LISTS, TECHNOLOGIES, SAVED_ACCOUNTS, SAVED_SEARCHES, RECENT_SEARCHES, POSTAL_CODE, HIRING_PROJECTS, SAVED_FILTERS, DEGREE. What kind of thing to look up.
- `keywords` (optional): text, up to 200 characters. The name to look for, e.g. "Berlin" or "Software". Not used for EMPLOYMENT_TYPE.
- `service` (optional): one of: CLASSIC, SALES_NAVIGATOR, RECRUITER. Whose list to search (default CLASSIC).
- `limit` (optional): a number, 1 to 100. How many to return (1–100, default 10).
- `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`: Cursor or null
- `matches[].id`: a search filter id
- `matches[].title`: string
- `matches[].pictureUrl`: string

## Good to know

- An id is good only for filters that ask for the same type: a LOCATION id is not a REGION id.
- service selects which product's list is searched. Some types exist only for Sales Navigator (SALES_INDUSTRY, POSTAL_CODE, PERSONA, ACCOUNT_LISTS, LEAD_LISTS, TECHNOLOGIES, SAVED_ACCOUNTS, RECENT_SEARCHES), only for Recruiter (HIRING_PROJECTS, SAVED_FILTERS, DEGREE), or for those two and not ordinary LinkedIn (GROUPS, DEPARTMENT, SAVED_SEARCHES).
- It has no cursor: narrow the keywords instead.

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