What the developer is on the hook for
Someone on the product or go-to-market side has asked for a feature: show similar companies on an account page, enrich a table with competitors, or feed look-alikes into a scoring job. You are the one who has to make it work, keep it working and explain the bill. That means you care about the request shape, the response schema, latency, failure modes, auth and cost per call, in roughly that order.
You could try to build company similarity yourself from embeddings over scraped websites or from a general-purpose model prompt. Both are real projects with crawling, evaluation and maintenance attached. The alternative is to treat similarity as a service with a narrow contract. This page describes that contract as SimilarIQ exposes it, including the parts that will shape your design, such as the fact that a search is not a millisecond lookup.
The contract: one endpoint, one small schema
The core call is POST https://similariq.ai/api/v1/search with a JSON body such as {"domain":"stripe.com","limit":100}. Authenticate with the header X-API-Key: sk-live-... or with Authorization: Bearer sk-live-.... The call is synchronous and responds with the full ranked list. limit accepts 10, 25, 50 or 100 and defaults to 100. A search costs the same whatever the limit.
Each result object has rank from 1 to 100, company, domain, matchScore from 0 to 100, type as one of Direct, Indirect, Adjacent or Emerging, confidence from 0 to 100 and a boolean likelyCompetitor. The envelope adds domain, searchId, totalCompetitors, likelyCompetitors, elapsedSeconds and creditsRemaining. That is the whole surface for a search. The reference is on the API page, and there is an OpenAPI spec at /openapi.json if you generate clients.
Workflow 1: first call to working code
Create an account, then create an API key in the app. The key is shown once, so store it in your secret manager straight away. Confirm auth with GET https://similariq.ai/api/v1/balance, which is free. Then make one search. Signup includes two free searches with no credit card, which is enough to see a real response and write your types against it.
If you prefer a client library, install the Node SDK with npm install similariq-sdk (Node 18 or later, zero dependencies, TypeScript types included) or the Python package with pip install similariq (Python 3.8 or later, standard library only). Both expose methods for search, bulk, history, results, companies, saved companies, share and balance. Step-by-step examples are in find competitors with Python, and find competitors with Node.js.
Workflow 2: a similar-companies feature inside your product
The design constraint is latency. A search runs a fresh research pass and takes roughly 30 to 60 seconds, so do not call it inline in a page render. Trigger the search from a background job when an account is created or first viewed, set your HTTP client timeout comfortably above a minute, and store the response keyed by domain together with the searchId and a timestamp.
Serve the feature from your own store. If you need to re-fetch, GET /api/searches/:id returns a past search and reading is free and immediate, so you never pay twice for the same result. Decide a refresh policy explicitly, for example re-searching an account when a user asks or after a set number of months. In the interface, show the match score and type, and consider hiding rows below a confidence threshold. The likelyCompetitor flag is a convenient default filter for a compact competitors widget.
Workflow 3: batch pipelines with the bulk endpoints
For hundreds or thousands of domains, do not loop over the synchronous endpoint. Use POST /api/bulk/upload, which accepts a file of domains and returns a jobId. It costs one credit per domain. Poll GET /api/bulk/jobs/:id until the job finishes, then fetch the combined CSV from GET /api/bulk/jobs/:id/download. Polling and downloading are free.
The SDKs wrap this as bulk, bulkWait and bulkDownload in Node, or bulk, bulk_wait and bulk_download in Python. From a shell or a CI job, the CLI does the same in one line: similariq bulk domains.txt --wait --out results.csv. Install it with npm install -g similariq and supply the key through the SIMILARIQ_API_KEY environment variable. Other commands are listed on the CLI page. Downstream, normalize and deduplicate on the returned domain before you join to your own tables; GET /api/my-companies returns up to 5,000 rows of every company found across your searches.
Workflow 4: errors, retries and key hygiene
Handle six status codes. 200 is success. 400 is a bad request, so fix the input and do not retry. 401 means a bad or missing key. 402 means the account is out of credits; stop the job and alert a human. 429 means the rate limiter engaged; back off and retry with jitter. 502 means the search failed, the credit was refunded and a retry is safe.
The rate limiter is a standard per-key and per-IP limiter that smooths bursts. Add modest client-side concurrency limits instead of discovering the ceiling in production, and email info@similariq.ai if you need dedicated throughput. Use one key per service or environment so you can revoke a leaked key without taking everything down. Keys are created, listed and deleted in the app or through the key management endpoints, and a revoked key stops working right away.
API, SDK, CLI or MCP: picking the surface
Use the REST API directly when you want full control or work in a language without an SDK. Use the Node or Python SDK when you want typed methods and polling helpers without writing them. Use the CLI for scripts, cron jobs and quick checks from a terminal: similariq search stripe.com --limit 100 --json prints structured output you can pipe elsewhere. The SDK page covers both libraries.
Use the MCP server when the caller is a language model. It is hosted at https://similariq.ai/mcp over streamable HTTP, needs no local process, and exposes ten tools. The same sk-live- key works there through an X-API-Key header, or the client can use OAuth. If you are building agents, the AI engineers page covers that surface in detail. All four surfaces draw on one balance at one price, and there is no separate API plan.
Cost at engineering volume
The unit is $0.0025 per look-alike, 100 per search, so $0.25 per call to the search endpoint or per domain in a bulk job. There is no subscription, no platform fee and no minimum beyond a $10 deposit. The balance never expires. Reads are free: balance, history, past results, My Companies and bulk downloads do not consume credits.
Budgeting is multiplication. A product that searches 1,000 new accounts a month spends $250 a month. A one-time backfill of 500 domains is $125. A staging environment that makes 20 test searches costs $5.00. Because failed searches return 502 and refund the credit, your cost tracks successful results. To bound risk from a bug, set a monthly cap in the account; it is a hard ceiling on card charges. Read creditsRemaining from each response to drive your own alerts. Terms are on the pricing page.
What it will not do, so you do not design around it
There is no sub-second search, so it cannot back an autocomplete or a synchronous page load. There are no filter parameters for industry, size or geography; you filter the returned list by score, type and confidence in your own code. The request body documented here is a domain and a limit.
The response contains no firmographics, technographics, contacts, traffic, funding or news. If your feature needs headcount next to each similar company, you join on domain to another provider. There is no native CRM sync. Do not assume a specific accuracy figure or a database size in your own product copy, because none is published. And nothing here should be read as a compliance statement; if your security review needs documentation, ask support directly.
First-day checklist
A working integration is a small job. The following order gets you from zero to a merged pull request without spending more than the free searches and a minimum deposit on testing. Each step is small enough to review separately, and the fixture from step three keeps your tests offline.
- Create an account and an API key; store the key in your secret manager.
- Call the balance endpoint to confirm authentication.
- Make one search and save the raw JSON as a test fixture.
- Write types and a parser against the fixture.
- Wrap the call in a background job with a timeout above one minute.
- Implement handling for 400, 401, 402, 429 and 502.
- Persist results by domain with the search ID and timestamp.
- Set a monthly cap before enabling the job in production.
Frequently asked questions
How do I call the SimilarIQ API?
Send a POST request to https://similariq.ai/api/v1/search with a JSON body containing a domain and an optional limit, and an X-API-Key header holding your sk-live key. The response is a ranked JSON list of up to 100 look-alike companies.
How long does an API search take?
Roughly 30 to 60 seconds, because each search is a fresh research pass. Run it in a background job and cache the result. Reading a past search by its ID is immediate and free.
Is there a Python or Node SDK for SimilarIQ?
Yes. Install the Node SDK with npm install similariq-sdk or the Python package with pip install similariq. Both wrap search, bulk jobs, history, saved companies, share links and balance.
What does a 502 response mean?
The search failed. The credit is refunded automatically, and it is safe to retry the request. You are charged for results, not attempts.
Is there a separate price or plan for API access?
No. API calls, app searches and MCP tool calls draw on the same balance at $0.25 per search. There is no subscription and no separate API plan.
Can I filter results by industry or company size in the request?
No. The search takes a domain and a limit. You filter the returned list by match score, type and confidence in your own code, or join it to another data source for size and industry.
How do I process thousands of domains?
Use the bulk endpoints. Upload a file of domains to start a job, poll the job until it completes, and download the combined CSV. It costs one credit per domain, and the SDKs and CLI wrap the whole flow.