← Back to Icypeas
POST/api/find-people/count

Count People

Count people matching a query in the lead database. Free. Filters: currentJobTitle, pastJobTitle, currentCompanyName, pastCompanyName, location, skills, languages, keyword, headcount, school, etc.

Icypeas·$0 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: "icypeas", path: "/api/find-people/count", body: { "query": {} } }); console.log(output);

Body parameters

queryrequired
object

Query with include/exclude filters, e.g. {"currentJobTitle": {"include": ["CTO"]}, "location": {"include": ["US"]}}

Response

success
boolean
validationErrors.0.type
string
validationErrors.0.field
string
validationErrors.0.actual.industry.include.0
string
validationErrors.0.actual.location.include.0
string
validationErrors.0.actual.headcount.<=
number
validationErrors.0.actual.headcount.>=
number
validationErrors.0.message
string
validationErrors.0.expected
string
    Orthogonal - Giving AI agents the tools they need.