Count people
How many people match, and how many have each kind of contact detail. Use it to size a search before you pull it.
POST
/v1/people/countTakes the same filters as search, minus paging. Also available as GET with query parameters. Add group_by for a breakdown.
Extra parameter
group_bystringReturn the top 25 values of this field with their counts.
departmentlevelindustrycountrystatecompany_sizerevenuecompanytitlebash
curl -s https://people-api.arihaan.ai/v1/people/count \
-H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" \
-d '{"title":["cto"],"industry":["banking"],"countries":["GB"]}'Example response
json
{ "count": 1380, "with_email": 912, "with_phone": 540, "with_linkedin": 1301, "scanned_mb": 388 }Example response
json
{ "group_by": "company", "groups": [ { "value": "barclays", "count": 96 }, { "value": "lloyds banking group", "count": 71 } ], "scanned_mb": 388 }