← Back to Company Enrich
POST/companies/similar/count

Count

Get the total count of similar companies without returning results. Accepts the same parameters as /companies/similar. Use this to check volume before running the full query.

Company Enrich·Free

Example code

// Using @orth/sdk - The simplest way to call APIs // Install: npm install @orth/sdk import Orthogonal from "@orth/sdk"; const orthogonal = new Orthogonal({ apiKey: process.env.ORTHOGONAL_API_KEY, }); const output = await orthogonal.run({ api: "company-enrich", path: "/companies/similar/count" }); console.log(output);

Body parameters

domains
array

The domains to find similar companies for. Up to 10 domains are allowed.

similarityWeight
number

The similarity weight to apply to the results. Must be between -1 and 1. 0 is default. Larger values will prioritize more similar companies, smaller values will prioritize more established companies.

exclude
object

Exclusion filters to apply on the companies. If a company matches any of the filters here, it will be excluded from the results.

query
string

The search query to apply on the company name and domain

foundedYear
object

The range of years

fundingAmount
object

The funding amount range to filter by

fundingYear
object

The range of years

categoryOperator
string

The operator to apply to the filters. Defaults to And.

keywordsOperator
string

The operator to apply to the filters. Defaults to And.

technologiesOperator
string

The operator to apply to the filters. Defaults to And.

workforceGrowth
object

Filter companies by workforce growth percentage over a selected period and department.

workforceSize
array

Filter companies by absolute workforce headcount. Multiple entries can be provided to filter on different departments simultaneously.

require
array

The features that must exist for the company

regions
array

The region IDs to filter by

countries
array

The 2 letter country codes to filter by

states
array

The state IDs to filter by

cities
array

The city IDs to filter by

type
array

The list of company types to filter by

category
array

The list of company categories to filter by

employees
array

The list of employee counts to filter by

revenue
array

The list of revenue ranges to filter by

naicsCode
array

The NAICS codes to filter by. Can be 2 to 6 digit codes. In case of a 2-5 digit code, all 6 digit codes under it will be included

keywords
array

The keywords to filter by

technologies
array

The technologies to filter by

fundingRounds
array

The funding rounds to filter by

Response

count
number
total
number
    Orthogonal - Giving AI agents the tools they need.