# Data product enrichment

> You can add a similar-companies feature to your own product by calling the SimilarIQ REST API with a company domain. Each call returns up to 100 ranked look-alikes with match score, relationship type, confidence and a likely-competitor flag, for $0.25. A search takes roughly 30 to 60 seconds, so design the feature around stored results and asynchronous jobs.

Source: https://similariq.ai/use-cases/data-product-enrichment · Updated 2026-11-25

## The job: ship a similar-companies feature without building the engine

Users of CRMs, sales tools, research platforms and data products ask for the same thing sooner or later: show me companies like this one. It looks like a small feature. Behind it is a hard problem. You need a way to compare any company with any other, coverage beyond the companies already in your database, and a ranking users will accept.

Teams that build it in-house usually start with shared industry codes and size bands, find the results too coarse, and move to text embeddings of company descriptions. That improves things and creates a new job: collecting and refreshing descriptions for every company a user might type. The feature becomes a data pipeline that a product team has to own indefinitely.

The alternative is to treat similarity as a dependency. You send a domain to an API and receive a ranked list. Your team owns the user experience, the caching and the joins to your own data. The build-versus-buy reasoning is laid out in [how to build a similar companies feature](https://similariq.ai/guides/how-to-build-a-similar-companies-feature).

## What the API gives your product

The call is `POST https://similariq.ai/api/v1/search` with a JSON body such as `{"domain":"stripe.com","limit":100}` and an `X-API-Key` header carrying an `sk-live-` key. It is synchronous and responds with the full ranked list. `limit` can be 10, 25, 50 or 100, and the price is the same for each, so request 100 and decide in your own code how many to show.

Each result has `rank`, `company`, `domain`, `matchScore` from 0 to 100, `type` (Direct, Indirect, Adjacent or Emerging), `confidence` from 0 to 100 and `likelyCompetitor`. The envelope includes the seed `domain`, a `searchId`, `totalCompetitors`, `likelyCompetitors`, `elapsedSeconds` and `creditsRemaining`.

That is the entire payload. There are no logos, descriptions, employee counts, revenue figures, locations or contacts. If your interface shows a card with a logo and a headcount for each similar company, those fields come from your own database or another provider, joined on the returned domain. An OpenAPI spec is published at `/openapi.json`, and the endpoint reference is on the [REST API](https://similariq.ai/features/rest-api) page.

## Designing around a 30 to 60 second search

A search is a fresh research pass, not a cache lookup, and takes roughly 30 to 60 seconds. A user who clicks a Similar Companies tab will not wait that long in front of a spinner. The latency decides your architecture more than any other property of the API.

There are three workable patterns. First, compute on demand and notify: start the search when the user asks, show a pending state, and fill the panel when the result arrives. Second, precompute: run searches for the companies your users view most and store the results, so most requests are served from your own database. Third, trigger on events: when a company is added to an account list, queue a search in the background so the result exists before anyone asks.

For precomputation at scale, use the bulk endpoints. `POST /api/bulk/upload` accepts a list of domains at one credit each and returns a job ID. Poll `GET /api/bulk/jobs/:id` and fetch the CSV from the download endpoint when it completes. Whichever pattern you use, store the result rows in your own tables keyed by seed domain, along with the `searchId` and the time you fetched them.

## Integration steps

Create an API key in the SimilarIQ app. It is shown once, so put it in your secret manager, and never ship it to a browser or mobile client. All calls should go through your backend. Use a separate key per environment so you can revoke one without affecting the other. Key handling is covered in [API keys](https://similariq.ai/features/api-keys).

Write a small service with one function: given a domain, return stored look-alikes if they are fresh enough, otherwise enqueue a search. Normalize the input domain before lookup, since users will type full URLs and subdomains. Use the Node SDK (`npm install similariq-sdk`) or the Python SDK (`pip install similariq`) if you prefer not to write the HTTP calls yourself.

Handle each status code deliberately. A 400 is a bad request, usually a malformed domain, and should not be retried. A 401 means the key is wrong or missing. A 402 means the balance is empty, which should page someone. A 429 means the rate limiter is smoothing a burst, so back off and retry. A 502 means the search failed and the credit was refunded, so a retry is safe.

## An AI-agent version

If your product includes an assistant, the same data can be exposed to it as a tool. SimilarIQ hosts an MCP server at `https://similariq.ai/mcp` with ten tools. An agent in your backend can call `find_similar_companies` for one credit, or `start_bulk_search` and `get_bulk_job` for lists. It can call `get_search_results` and `list_recent_searches` for free to reuse earlier work.

For a product feature, prefer your own stored copy as the first source and the tool as the fallback. Give the agent a tool that reads your table, and a second tool that requests a new search, with the rule that it must try the first one before the second. This keeps the assistant fast for companies you already hold and keeps spend predictable.

During development, coding agents can use the same server. In Claude Code the command is `claude mcp add --transport http similariq https://similariq.ai/mcp`, which lets the agent run a real search and inspect the response shape while it writes your integration.

## Cost model with worked numbers

Each search costs $0.25, which is $0.0025 per look-alike at 100 results. App, API and MCP calls draw on one balance at one price, with no separate API plan. Suppose your users request similar companies for 2,000 distinct lookups in a month and 40 percent are for companies you have already stored. Paid searches are 1,200 and the month costs $300.00.

Precomputing has a one-time cost. A catalog of 500 frequently viewed companies is 500 searches for $125.00. A catalog of 5,000 is $1,250.00. Compare that with on-demand spend before deciding how much to precompute. Refreshing stored results is a new search each time, so a quarterly refresh of the 500 costs $500.00 a year.

The cost per lookup you serve falls as your cache hit rate rises, because reading your own table costs nothing and re-reading a past search from SimilarIQ is also free. Rate limits are a standard per-key and per-IP limiter. For dedicated throughput, volume pricing, invoicing or an SLA, use the form on the [pricing page](https://similariq.ai/pricing) or email info@similariq.ai.

## What you must bring, and what to confirm first

Plan the joins before you build the interface. Company display data, such as name normalization, logo, description, size and location, comes from your own records or an enrichment provider. If a returned domain is not in your database, decide whether to show it with minimal detail, enrich it on the fly, or hide it. Many products find the unknown domains are the most valuable rows, because they are companies the user could not have found by filtering.

Decide how to present the scores. `matchScore` supports a sort order and a threshold. `type` supports tabs or filters such as competitors versus adjacent companies. `confidence` can gate what you show by default. Do not relabel the scores as something they are not, such as a probability of purchase.

This page describes the technical integration. It does not describe licensing terms for displaying or redistributing results inside a commercial product. Confirm those with info@similariq.ai before launch, along with expected volume. For enriching your own internal records instead of a customer-facing feature, see [CRM enrichment](https://similariq.ai/use-cases/crm-enrichment).

## Metrics and pitfalls

Track the feature like any dependency with a variable cost. The pitfalls are predictable: calling the API from the client and leaking the key, blocking a web request on a 60-second call, retrying a slow request and paying twice, and failing to deduplicate concurrent requests for the same domain. Put a lock or queue key on the normalized domain so two users asking at once trigger one search.

Also set a freshness policy and state it in the interface. A stored list is a snapshot. Showing when it was fetched avoids confusion when a user knows of a newer rival. Remember the cap as well: a search returns at most 100 companies, so do not label the panel as a complete list.

- Cache hit rate on similar-company requests.
- Paid searches per active user per month.
- Median wait for an uncached request.
- Share of returned domains missing from your database.
- Click-through from the panel to a company record.
- 402, 429 and 502 counts per day.

## Getting-started checklist

Prototype with the 2 free searches before writing any interface code. Run two companies your users care about, look at the raw JSON, and check how many returned domains already exist in your database. That overlap tells you how much enrichment work the feature needs.

- Create a key and store it server-side.
- Run two searches and inspect the JSON.
- Design the table: seed domain, result rows, `searchId`, fetch time.
- Choose on-demand, precompute or event-triggered, or a mix.
- Handle 400, 401, 402, 429 and 502 explicitly.
- Join display fields from your own data by domain.
- Confirm terms and volume with support before launch.

## Frequently asked questions

### How do I add a similar companies feature to my app?

Call a similarity API from your backend with the company's domain, store the ranked results in your own database, and render them joined to your company records. With SimilarIQ the call is `POST /api/v1/search`, which returns up to 100 look-alikes with scores and a relationship type.

### Is the SimilarIQ API fast enough for a live user interface?

A new search takes roughly 30 to 60 seconds, so it should not block a page load. Serve stored results where you have them, and run new searches as background jobs with a pending state. Re-reading a past search is immediate and free.

### What does it cost per lookup?

A new search is $0.25 regardless of the limit. Requests you serve from stored results cost nothing, so 2,000 monthly lookups with a 40 percent cache hit rate means 1,200 paid searches, or $300.00.

### Does the API return logos, descriptions or employee counts?

No. Each result has a rank, company name, domain, match score, relationship type, confidence score and likely-competitor flag. Display fields such as logos and firmographics must come from your own data or another provider.

### Can I precompute similar companies for my whole catalog?

Yes, with the bulk endpoints, at one credit per domain. A file of 500 domains costs $125.00. For large catalogs, contact SimilarIQ through the pricing page form about volume pricing and throughput.

### What happens if a search fails?

The API returns a 502 and the credit is refunded automatically, so retrying is safe. A 429 means you should back off, and a 402 means the balance is empty and needs a deposit or auto-refill.
