Skip to main content
Filters go in the filter object of a company search request. The same filter object works in count, preview, and export requests. A company must match every filter you send. You can use filters on their own, or add them to a semantic or lookalike search.

Write a filter value

Most filters accept a value in three forms:
The object form supports these rules: The default rule for an array depends on the filter:
  • Any value matches for query, id, domain, the location filters, type, employees, reportedEmployees, revenue, naicsCodes, and fundingRounds.
  • Every value must match for keywords, technologies, categories, and require.

Filter reference

The CLI column shows the matching flag for companyenrich company search.

Identity

Location

Size, revenue, and type

Industry and activity

Age and funding

A range is an object with min, max, or both. Both ends are inclusive.

Workforce

workforceGrowth takes these fields: Each workforceSize entry takes a department, which defaults to overall, and an inclusive min and max headcount.
Department names in these two filters use underscores, such as engineering_technical.

Required data

Exclude values

Use notIn to remove companies from the results. This search returns e-commerce companies outside the United States that are not agencies:
In the CLI, put exclude- in front of the flag: --exclude-country US --exclude-keyword agency.

Match any value or every value

keywords, technologies, and categories require every value by default. Use in to match at least one:
naicsCodes matches any code by default. Use all to require every code:
In the CLI, these are --any-keyword fintech,payments and --all-naics 5112,5182.

Semantic search options

A semantic search takes a plain-language description in semantic.query. It costs 2 credits per company returned. With autoFilter on, the API reads attributes from your query and applies them:
  • Inferred location, employee range, founded year, and funding values filter the results.
  • Inferred company names, categories, and revenue rank matching companies higher without excluding others. A company the query names ranks first.
  • A filter you send replaces the inferred value of the same kind. Exclusions you send apply together with the inferred values.
The response’s interpretation field reports what was inferred, in interpretation.filter and interpretation.boost. For example, saas companies in Turkey filters on Turkey and ranks SaaS companies higher.

Lookalike search options

A lookalike search finds companies similar to the seed companies in lookalike.domains. It costs 5 credits per company returned.
The response includes a scores object with a ranking score for each company. Scores are not probabilities. Keep the results in the order returned: the API reranks the first 150 matches, so sorting by score gives a different order.

Look up filter values

These endpoints return the values that filters accept. All of them are free. Filters with a fixed list of values, such as employees and categories, are listed on the field values page.

Company Search API

Search modes, pagination, pricing, and limits.

Company Search API examples

Ready-to-run queries for common jobs.

Field values

Every accepted value for ranges, types, and categories.

API reference

The full request specification, with a playground.