Skip to main content
To find lookalikes of your closed-won deals, send the domains of up to 10 won accounts as seeds to the Similar Companies API. It returns the companies that resemble them, in ranked order, each with a similarity score. Exclude the accounts already in your CRM to get net-new companies only. A lookalike search costs 5 credits per company returned.

Find net-new accounts that resemble your wins

A closed-won deal is an opportunity your team marked as won in the CRM. The API needs only the domain of the account behind it. The examples on this page read a deal export named deals.csv with one row per deal:
This example takes the 10 largest closed-won deals as seeds and excludes every account in the file, whatever its stage, so the results are companies your team has not worked yet.
The response lists the lookalikes in ranked order and has a scores object keyed by company ID. This example is shortened and shows a fictional company.
How to read the result:
  • Keep the order returned. Scores are ranking scores, not probabilities, and they compare companies within one response only.
  • You pay for the page. 25 lookalikes cost 25 × 5 = 125 credits, so start with a small pageSize.
  • Use each account’s primary domain. A record’s domain is the domain of the company’s main website, and the exclusion matches on it.
The code reads a simple export with no quoted fields. If your CRM export has commas inside quoted values, such as account names, parse it with a CSV library. The later examples on this page reuse the client, the deals, and the seeds created here.

Choose which wins to use as seeds

A request takes 1 to 10 seeds, and the seeds describe the kind of company you want more of. Pick them from the wins you want to repeat: With more than 10 wins to use, run one search for each group of up to 10 and merge the results by company ID. See Use more than 10 customers.

Rank your open pipeline against closed-won

The same seeds can score the deals you are already working. Put the open accounts in filter.domain, and the search considers only those companies. The ones that most resemble your past wins come first.
Two things to know before you rely on the ranking:
  • Not every open deal comes back. The response holds the accounts that resemble the seeds. Treat the ones that are missing as the least similar.
  • You pay for what comes back. Each returned company costs 5 credits, and a search that returns no companies costs 5 credits.
See Rank a prospect list by similarity to your customers for a free preview of the ranking and for longer lists.

Exclude a large CRM

A filter accepts a limited number of values, and the limit depends on your plan. A request with too many domains in notIn returns 400 with the message Too many search terms supplied. When your CRM has more accounts than the filter accepts:
  1. Send as many CRM domains in notIn as the filter accepts.
  2. Drop the remaining CRM accounts from the results in your code, by comparing each returned domain with your list.
A company you drop this way still costs 5 credits, because the search returned it. Filters such as country and employees keep the search in your market, which also keeps accounts outside it from coming back.

Send the list to your CRM

For a long list, run an export with the same seeds and exclusions. It gives you one CSV file to import, with a score column next to the company columns.
An export costs the same 5 credits per company as the search, and limit sets the most companies it returns. See Export lookalikes to CSV for the same export in cURL and the SDKs.

Common questions

What is a closed-won lookalike?

A company that resembles the accounts behind your closed-won deals. The Similar Companies API finds these companies from the domains of the accounts you won. It uses no other CRM field.

How many closed-won deals can I use as seeds?

Between 1 and 10 domains in one request. For more, run one search per group of up to 10 and merge the results by company ID.

Can I use closed-lost deals as negative examples?

No. A search takes one set of seeds, so you cannot send won accounts as positive examples and lost accounts as negative examples together. You can keep closed-lost accounts out of the results by adding their domains to notIn.

What if my CRM accounts have no domain?

Find the domain from the account name first. See Find a company’s domain from its name.

What does a closed-won lookalike list cost?

5 credits for each company returned, plus 1 credit per company for each expansion. A search that returns no companies costs 5 credits. Previews are free on plans that include them.

How do I find contacts at the lookalike accounts?

Search for people at the returned domains by seniority and department. See Find decision makers at your target accounts.

Find companies like your best customers

Seeds, previews, and searches with more than 10 customers.

Rank a prospect list by similarity

Score the accounts you already have.

Similar Companies API filters

Keep lookalikes in your market.

Find decision makers at your target accounts

Get the people to contact at each account.