The goal: a panel that answers who else is like this
A similar-companies feature takes one company record in your product and shows other companies that resemble it. It appears in CRMs, sales tools, investor platforms, marketplaces and internal dashboards, usually as a panel on a company page or as a button that expands a list. Users reach for it to find more prospects like a good customer, to see a deal's rivals or to explore a market from a known starting point.
The feature looks simple and hides three hard problems: deciding what similar means, producing results that are good for any company a user might open, and keeping cost and latency acceptable. This guide walks through the build in order, covers both the build-it-yourself path and the API path, and ends with a checklist.
What you need before you start
Decide who the feature is for and what they will do with the results. A sales user wants prospects, so companies that resemble a customer are welcome even if they never compete. An analyst studying a deal wants competitors first. The same list ordered differently serves each one, but you need to know which order to default to.
You also need a stable identifier for companies. Use the root domain. Names collide, change and vary in spelling, while a domain is unique and is what most data sources key on.
- A written definition of similar for your main user
- A root domain on every company record
- A place to store results per company, with a timestamp
- A budget per lookup and an acceptable wait time
- A test set of 20 to 50 companies whose true look-alikes you know
Step 1: Define similar and choose the output shape
Write down the dimensions that count. For most business products they are what the company sells, who it sells to and how it operates. Size and location are usually filters applied afterwards, not part of similarity. If you fold them into the definition, a small regional firm can never be shown as similar to the large company it competes with.
Then fix the output contract. At minimum each result needs a name, a domain and a numeric score so you can rank and threshold. A category for the relationship, such as direct rival versus neighbor, makes the list far easier for users to read. A separate measure of certainty lets you hide results the system is unsure about. Decide how many results to request and how many to show. Showing ten with an option to expand is a common pattern.
Step 2: Choose build or buy for retrieval
Building it yourself means assembling a corpus of company descriptions, converting each to a vector with an embedding model, storing the vectors in an index and returning the nearest neighbors of the query company. The concepts are covered under embeddings and vector similarity. This gives you full control and low marginal cost per lookup once it is running.
The costs are upfront and ongoing. You need descriptions for every company a user might open, which is a data acquisition problem. Raw nearest-neighbor results mix competitors, customers, suppliers and companies that merely use similar words, so you need a second stage to clean and classify them. And the corpus goes stale as companies appear and change.
Buying means calling a look-alike API with a domain and receiving a ranked list. You trade control for speed of delivery and pay per lookup. For most teams whose product is not itself a company database, this is the shorter path.
Step 3: Normalize, cache and store
Whichever path you choose, normalize the input before every lookup. Strip the protocol, path and any leading www, lowercase the result and map known aliases to one root domain. Do the same for every returned company and match it against your existing records, so a result that is already in your database links to that record instead of creating a duplicate. This is an entity resolution task, and it decides whether the feature feels integrated or bolted on.
Store each result set keyed by the query domain with the time it was fetched. Serve from the store on repeat views. Set a refresh interval that matches how fast your market moves, and offer a manual refresh for users who need it now. Caching is what keeps both cost and latency under control when many users open the same popular companies.
Step 4: Design the display and the wait
Show the score, the relationship category and a link to each company's record. Let users filter by category and set a minimum score. Default to a threshold that favors precision, because a short list of clearly relevant companies builds more trust than a long one with obvious misses. The trade-off is explained under precision and recall.
If retrieval is not immediate, design for the wait. Trigger the lookup when a record is created or first viewed, show a progress state and fill the panel when results arrive. For large imports, run lookups as a background batch. Give users an action on each result, such as add to list or save, since a similar-companies panel is usually a step toward building a list.
Doing it with SimilarIQ
SimilarIQ covers the retrieval and classification steps. Your backend sends POST https://similariq.ai/api/v1/search with the header X-API-Key: sk-live-... and the body {"domain":"stripe.com","limit":100}. The synchronous response holds up to 100 results, each with rank, company, domain, matchScore from 0 to 100, type of Direct, Indirect, Adjacent or Emerging, confidence from 0 to 100 and likelyCompetitor. It also returns a searchId. Reference material is under REST API, and Node and Python SDKs wrap the same call.
Plan around two facts. A search is a fresh research pass that takes roughly 30 to 60 seconds, so call it from a background job, not from a page render. And re-reading is free: GET /api/searches/SEARCH_ID returns a past result at no charge, so store the searchId beside your own cached copy. For a backfill, POST /api/bulk/upload starts an asynchronous job at one credit per domain, which you poll and then download as CSV.
Handle the documented status codes: 402 means the balance is empty, 429 means slow down, and 502 means the search failed, the credit was refunded and a retry is safe. Keep the key on your server. SimilarIQ returns no firmographic fields, contacts or logos, so size and location filters in your panel must use your own data joined on domain. If you plan to show results to your own customers, confirm the terms for that use with info@similariq.ai before launch.
A worked example with costs
A hypothetical sales tool holds 5,000 account records and wants a similar-companies panel on each. Backfilling every record would be 5,000 searches at $0.25, or $1,250. The team instead backfills the 500 most-viewed accounts through a bulk job for $125 and fetches the rest on first view.
Assume users open 300 not-yet-cached accounts in a typical month. That is 300 × $0.25 = $75 per month. The team sets a 90-day refresh on cached results, requested only when an account is viewed again after expiry. A monthly cap on the SimilarIQ account acts as a hard ceiling on card charges if usage spikes. The panel requests the full 100 results, since the price is the same at any limit, and displays those with a match score above a threshold the team tuned on its test set. Usage figures here are illustrative.
Mistakes and a launch checklist
The usual mistakes are calling a slow lookup inside a page request, keying on company name, refetching on every view, showing results with no score or reason, and shipping without a test set. Without one you cannot tell whether a change improved quality. A method for scoring a list by hand is in how to evaluate a look-alike list. Related patterns are under data product enrichment and on the developers page.
- Similar defined for the primary user, with a default sort
- Every record has a normalized root domain
- Lookups run in the background with a visible progress state
- Results cached with a timestamp and refresh rule
- Returned companies matched to existing records
- Score, category and filters shown in the panel
- Errors and empty results handled gracefully
- Quality measured on a labeled test set and a spend ceiling set
Frequently asked questions
How do similar-companies features work?
They take one company as input, compare it with others on what it sells and whom it serves, and return a ranked list. Some products compute this from their own database using text embeddings and nearest-neighbor search. Others call an external look-alike API and display the response.
Should I build company similarity myself or use an API?
Build it if company data is your core product and you already hold descriptions for the companies your users open. Use an API if the feature supports another product and you want it live quickly. The API path costs per lookup, and the build path costs engineering time and data upkeep.
How do I handle a look-alike search that takes 30 to 60 seconds?
Run it in a background job triggered when a record is created or first viewed, show a progress state in the panel and store the result. Later views read from your cache. For many records at once, use a bulk job and poll it.
How much does it cost to add this feature with SimilarIQ?
Each new company lookup is one search at $0.25, and re-reading a past search is free. Looking up 1,000 companies costs $250. There is no subscription or separate API plan, and the minimum deposit is $10.
What fields does SimilarIQ return for each similar company?
Rank, company name, domain, a match score from 0 to 100, a relationship type of Direct, Indirect, Adjacent or Emerging, a confidence score from 0 to 100 and a likely-competitor flag. It does not return firmographics, contacts or logos.
How do I measure whether the feature is good?
Label a test set of companies with look-alikes you know to be correct, then check what share of the shown results are relevant and what share of the known look-alikes appear. Track user actions too, such as how often people save or add a suggested company.