Skip to main content
To rank a prospect list by how closely each company resembles your customers, run a lookalike search with your customers as seeds and restrict it to your prospects with the domain filter. The Similar Companies API returns the prospects that resemble the seeds, in ranked order, each with a score. A lookalike search costs 5 credits per company returned.

Score your prospects against your customers

Put up to 10 customers in lookalike.domains and your prospects in filter.domain. An array in filter.domain matches any of the domains, so the search considers only the companies on your list.
The response holds the matching prospects, most similar first, and a scores object keyed by company ID. This example is shortened and shows fictional companies.
How to read the result:
  • The order is the ranking. Keep the prospects in the order returned.
  • Not every prospect comes back. The response holds the prospects that resemble the seeds. A prospect that is missing was not close enough to be returned.
  • You pay for what comes back. Each returned company costs 5 credits. A search that returns no companies costs 5 credits.
  • Scores are not percentages. They rank companies within one response, and a score can be above 1.
The later examples on this page reuse the client, customers, and prospects created here.

Mark the prospects that did not come back

Compare the domains in the response with your list to split it into prospects that resemble your customers and prospects that do not.
The domain in a record is the company’s primary domain, so list each prospect under the domain of its main website.

See the ranking for free first

If your plan includes previews, the preview endpoint takes the same fields and returns up to 25 company summaries with their scores, at no cost. Use it to rank a short list, or to check a longer one before you pay.
A preview summary has the company’s id, name, logoUrl, industry, and updatedAt. It does not include the domain, so match the summaries to your list by name, or run the paid search when you need the full records.

Rank a longer list

A page holds at most 100 companies. For a longer prospect list, follow nextCursor with the same request, or use the SDK helper that does it for you, and keep the companies in the order they arrive. See Fetch every result. A filter accepts a limited number of domains, and the limit depends on your plan. A request over the limit returns 400 with the message Too many search terms supplied. Split a list that long across several searches. Each part is ranked on its own, because scores do not compare across responses. To get the ranking as a file, run an export with the same lookalike and filter fields. The CSV has a score column next to the company columns. See Export lookalikes to CSV.

Common questions

Why did some of my prospects not come back?

The search returns the prospects that resemble your seeds. A prospect that is missing from the response was not close enough to the seeds to be returned, so treat it as a weak fit.

Can I compare scores from two different searches?

No. A score ranks a company within its own response. To compare two sets of prospects, send them in the same request.

How many seeds can I use?

Between 1 and 10 customer domains. With more customers, see Use more than 10 customers.

What does ranking a list cost?

5 credits for each prospect that comes back. Prospects that are not returned cost nothing, and a search that returns no companies costs 5 credits. Previews are free on plans that include them.

How do I find new companies instead of ranking ones I have?

Leave out the domain filter. The search then returns lookalikes from the whole dataset. See Find companies like your best customers.

Find companies like your best customers

Find new accounts that resemble your customers.

Similar Companies API

Seeds, ranking, scores, pricing, and limits.

Similar Companies API filters

Every way to narrow a lookalike search.

Enrich a list of company domains

Add company data to the same prospect list.