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.
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
The domains to find similar companies for. Up to 10 domains are allowed.
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.
Exclusion filters to apply on the companies. If a company matches any of the filters here, it will be excluded from the results.
The search query to apply on the company name and domain
The range of years
The funding amount range to filter by
The range of years
The operator to apply to the filters. Defaults to And.
The operator to apply to the filters. Defaults to And.
The operator to apply to the filters. Defaults to And.
Filter companies by workforce growth percentage over a selected period and department.
Filter companies by absolute workforce headcount. Multiple entries can be provided to filter on different departments simultaneously.
The features that must exist for the company
The region IDs to filter by
The 2 letter country codes to filter by
The state IDs to filter by
The city IDs to filter by
The list of company types to filter by
The list of company categories to filter by
The list of employee counts to filter by
The list of revenue ranges to filter by
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
The keywords to filter by
The technologies to filter by
The funding rounds to filter by
Response