Skip to main content
To find companies in an industry, filter the Company Search API by NAICS code, category, or keyword. naicsCodes takes a code or a prefix of 2 to 6 digits, categories takes a business model such as saas, and keywords takes topics such as fintech. A filter search costs 1 credit per company returned.

Find companies by NAICS code

This search returns companies in the United States whose NAICS code starts with 5112. A shorter prefix covers a broader industry group, and a full six-digit code covers one industry.
Each item is a full company record, with the name of its primary industry in industry. This example is shortened and shows a fictional company.
An array of codes matches companies that have any of them. To require every code, use all, as in "naicsCodes": {"all": ["5112", "5182"]}. Add naicsCodes to expand to return each company’s own codes, for 1 extra credit per company. The later examples on this page reuse the client created here.

Look up the code for an industry

The industries endpoint lists every industry name with its NAICS code prefixes, and it costs no credits. Codes differ between NAICS editions, so take them from this list instead of from memory.
Each item has an industry name and the naicsCodes to send in the filter. This example is shortened.

Find companies by category and keyword

Categories describe the business model, and keywords describe what the company does. This search returns SaaS companies that match the keyword fintech or the keyword payments.
A plain array of keywords requires every keyword, so use in when any one of them is enough. Find the keywords CompanyEnrich uses with the free keyword autocomplete, or companyenrich keywords fint in the CLI.

Exclude an industry

Use notIn to remove an industry from the results. This filter returns e-commerce companies that are not agencies:
In the CLI, put exclude- in front of the flag: --category e-commerce --exclude-keyword agency.

Common questions

Which industry filter should I use?

Use naicsCodes when you work with standard industry codes. Use categories for the business model, such as SaaS or e-commerce. Use keywords for a niche that has no code of its own, such as fintech. You can combine all three, and a company must match every filter you send.

Can I filter by industry name?

No. There is no filter for the industry name. Look up the NAICS codes for the industry with GET /v2/industries and send them in naicsCodes.

How many companies are in an industry?

Send the same filter to the count endpoint, which is free. See Count the companies that share a NAICS code.

How do I get the NAICS codes of one company?

Enrich its domain with the naicsCodes expansion. See Look up a company’s NAICS codes.

How do I find only young companies in an industry?

Add a founding year and a size limit to the industry filter. See Find startups in an industry.

Company Search API filters

Every filter, with matching rules and accepted values.

Look up a company's NAICS codes

Get the codes for one company or a list.

Find startups in an industry

Narrow an industry to young, small companies.

Build a list of companies that match your ICP

Combine industry with size, location, and other criteria.