Searching for companies on LinkedIn
Use search_companies to find companies on LinkedIn by keyword, industry, location, and employee headcount range. Each call returns up to 25 results (default 10) with a company_id for every match, and counts against the daily search limit (300 by default).
Headcount accepts fixed ranges: 1-10, 11-50, 51-200, 201-500, 501-1000, 1001-5000, 5001-10000, and 10001+.
When you filter by headcount or industry, the search routes through Sales Navigator for richer results. It defaults to the Sales Navigator engine, set linkedin_api to classic to override. You can also paste a LinkedIn or Sales Navigator company search URL into the url parameter to run it directly, all other filters are then ignored.
The real power is chaining company search into people search:
- Search companies matching your ICP, for example software companies in London with 51-200 employees.
- Take the
company_idfrom each result. - Run
search_peoplewith that numeric company ID in thecompanyparameter, plus a title or seniority filter.
Passing the numeric ID beats passing the company name because names are fuzzy: two very different companies can share a name, only one matches the ID.
Common mistakes: - Skipping the ID step and searching people by company name, then wondering why results include the wrong company. - Using an invalid headcount string. Only the fixed ranges listed above are accepted.
Pro tip: for account-based outreach, save the company search with save_search (search_type companies). Re-running it periodically surfaces new companies entering your ICP, which are often the best-timed accounts to approach.