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 nameddeals.csv with one row per deal:
scores object keyed by company ID. This example is shortened and shows a fictional company.
- 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
domainis the domain of the company’s main website, and the exclusion matches on it.
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 infilter.domain, and the search considers only those companies. The ones that most resemble your past wins come first.
- 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.
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 innotIn returns 400 with the message Too many search terms supplied.
When your CRM has more accounts than the filter accepts:
- Send as many CRM domains in
notInas the filter accepts. - Drop the remaining CRM accounts from the results in your code, by comparing each returned
domainwith your list.
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 ascore column next to the company columns.
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 tonotIn.
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.Related pages
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.