Skip to main content
Semantic company search finds companies from a description written in plain language, such as AI tools for hospitals, where a filter search needs exact values. Use it when you can say what the companies do but cannot express it as an industry code or a keyword list. In the V2 API, this is the semantic mode of company search: send a semantic object to POST /v2/companies/search. A semantic search costs 2 credits per company returned, and each result is a full company record.

Filters

What the API infers from a description, and what needs a filter.

Examples

Semantic searches in cURL, four SDKs, and the CLI.

Search with a description

This request finds companies that build AI tools for hospitals. You need an API key, which you can create at app.companyenrich.com/access-keys.
The response holds the matching companies, a cursor for the next page, and an interpretation of your query when the API inferred something from it. A semantic search can be combined with filters. It cannot be combined with a lookalike search in the same request.

Request fields

How your query is interpreted

By default, the API reads company attributes from your description and applies them for you. Some attributes filter the results, and others only change the ranking. For example, saas companies in Turkey returns only companies in Turkey and ranks companies categorized as SaaS higher. Monzo digital bank ranks Monzo first. The response’s interpretation field reports what was inferred: Parts with nothing inferred are omitted.

Combine a description with filters

Add a filter object to set exact criteria next to your description.
  • A filter you send takes precedence over an inferred value of the same kind. If your description mentions a country and you also send filter.country, your filter is used.
  • An exclusion you send, such as notIn, applies together with the inferred values.
See Semantic Company Search API filters for when a description is enough and when to add a filter.

Turn off inference

Set semantic.autoFilter to false to use the description for semantic matching only. Nothing is inferred, the results are limited only by the filters you send, and the response has no interpretation.

Tune the ranking

semantic.weight sets how much semantic similarity counts when results are ranked. It takes a number from 0 to 1, and larger values give similarity more weight.

Where semantic queries work

People search has its own semantic mode for describing the people themselves. See Describe who you want.

What a semantic search costs

  • 2 credits per company returned, plus 1 for each expansion.
  • A search that returns no results costs 2 credits.
  • Count and preview requests are free.
For example, 25 companies with the technologies expansion cost 25 × (2 + 1) = 75 credits. See Credits for every price.

Limits

Coming from the V1 API

V1 company search takes the description as a top-level field. V2 groups the semantic options in one object and adds query interpretation.

Common questions

A filter search matches exact values you choose, such as a country code or an employee range. A semantic search matches the meaning of a description, so it finds companies you could not list keywords for. You can use both in one request.

Why did my search leave out companies in other countries?

Your description probably mentioned a place. An inferred location filters the results. Check interpretation.filter in the response, and set semantic.autoFilter to false if you do not want the API to infer filters. No. A request can contain semantic or lookalike, not both. Either one can be combined with filter.

Can I search for people with a description?

Yes, in two ways. Describe the people with semantic on a people search, or describe their employers with company.semantic. See the People Search API.

How do I try a description without spending credits?

Send it to the count endpoint, which is free and also returns the interpretation. If your plan includes previews, the preview endpoint returns up to 25 company summaries for free.

Semantic Company Search API examples

Ready-to-run semantic searches.

Semantic Company Search API filters

What the API infers, and what needs a filter.

Similar Companies API

Find companies like ones you already know.

API reference

The full request and response specification, with a playground.