Search for similar companies (competitors, your customers, etc.)
This API feature is one of the most powerful.
You can use it to find similar companies to your own, or to find companies that are similar to your customers.
You can also use it to find companies that are similar to your competitors.
The possibilities are endless.
Signup to access all our API features
Get your 500 free credits and start enriching and searching companies.
No credit card required
A list of domains separated by commas.
…/companies/similar?domains[]=microsoft.com&domains[]=wix.com
The page to fetch (default to 1).
/companies/similar?domains[]=…&page=1
Return a simplified version of the companies (no credits deducted but limitation are applied on the free plan). It is useful for previewing the data before fetching the full version. Default to false.
/companies/similar?domains[]=…&simplified=true
Possible values
The number of similar companies to be returned (between 1 and 100). Default to 10.
/companies/similar?domains[]=…&size=50
An array of multiple fields combined to sort the results.
…/companies/similar?sortFields=%5B%7B%22key%22%3A%22meta.score%22%2C%22order%22%3A%22desc%22%7D%5D
Make sure this parameter is stringified and encoded.
The field to sort the results.
…/companies/similar?sortKey=meta.score
Possible values
The order to sort the results.
…/companies/similar?sortOrder=asc
Possible values
The metas information.
import createClient from '@thecompaniesapi/sdk'
const tca = createClient({ apiToken: 'YOUR_API_TOKEN' })
const response = await tca.searchSimilarCompanies({
domains: ['crisp.chat', 'intercom.com'],
size: 25
})
const companies = response.data.companies // Companies that are similar to the domains
const meta = response.data.meta // Meta information