Skip to main content
Each example on this page is one Similar Companies API request, shown in cURL, the four official SDKs, and the CLI. Every version sends the same request.

Before you start

Create an API key at app.companyenrich.com/access-keys. The SDK examples assume a client created like this, with the key in the COMPANYENRICH_API_KEY environment variable:
In the cURL examples, replace YOUR_API_TOKEN with your key.
A lookalike search costs 5 credits for every company returned. To check a query for free first, see Count lookalikes for free.

Find companies similar to one company

Send one seed domain. The response lists similar companies in ranked order, with a score for each.
Scores are not probabilities. Keep the companies in the order returned.

Use several seeds and filter by market

Send up to 10 seeds to describe the kind of company you want, then narrow the lookalikes with filters. This search finds companies like Stripe and Adyen in the United States and Canada with 51 to 200 employees.
Every company search filter works with a lookalike search.

Require a minimum similarity

Set minScore, from 0 to 1, to drop weaker matches.

Exclude companies you already have

Use the domain filter with notIn to leave out companies you already work with.

Count lookalikes for free

The count endpoint takes the same lookalike and filter fields as a search and costs nothing.
count is the number of companies your plan can access. For a lookalike query, total describes the pool of candidates the similarity search draws from.

Export lookalikes to CSV

An export runs the lookalike search in the background and stores the results as one file. It costs the same per company as the search itself. The CSV has a score column next to the company columns.

Find people at lookalike companies

To get people instead of companies, send the same seeds in company.lookalike on a people search. See Find people at companies like your customers.

Similar Companies API

Ranking, scores, pricing, limits, and V1 mapping.

Company Search API filters

Every filter you can add to a lookalike search.

Company Search API examples

Filter and semantic searches.

Credits

What each search and expansion costs.