← Back to Fiber AI
Company count
Get count of companies matching search filters. Use to estimate result sizes before running a full search.
Fiber AI·$0.02 per call
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: "fiber",
path: "/v1/company-count",
body: {
"searchParams": {}
}
});
console.log(output);Body parameters
searchParamsrequired
object
Search parameters for company search.
companyExclusionListIDs
array
Company exclusion list IDs to filter out.
Response
advice.0
string
output.count
number
warnings.0.field
string
warnings.0.message
string
chargeInfo.method
string
chargeInfo.creditsCharged
number