
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "fiber",
"path": "/v1/department-size",
"method": "POST",
"body": {
"company": {
"value": "",
"identifier": ""
},
"departments": [
{
"titles": {
"type": "",
"exclude": {
"titles":
}
}
}
]
}
}'
{
"success": true,
"data": {
"advice": [ 2 items ],
"output": { … },
"chargeInfo": { … }
}
}
A real response, recorded when Orthogonal checked this endpoint.
$0.0436per call
Every call costs the same.
You aren't charged for failed calls. A wallet payment for a failed call is refunded.
API-wide: 97.6% success · 1,136 ms median · 30 days
About this endpoint
Count employees per department. Counts how many current employees at a company fall into each department you define. Unlike the depth-chart endpoint, this Synchronous endpoint provides immediate results without waiting for background job generation. You supply the job titles that define each department (no seniority is considered), and every current employee is counted — not just a sample. This endpoint performs a headcount snapshot for direct, actionable data. Rate limit: 60 requests per 1 minute Cost: 2 credits per company ⏱ Recommended timeout: 1 minute
Body parameters
companyrequiredobjectCompany identifier. Set identifier to 'linkedinUrl', 'linkedinSlug', 'linkedinOrgId', or 'domain' and provide the corresponding value.departmentsrequiredarrayDepartments to size. Each is counted independently against ALL current employees, so overlapping definitions may count the same person in more than one department.More from Fiber AI
- YouTube transcriptPOST/v1/youtube/transcript$0.0436 per callFixed
- Phone validationPOST/v1/validate-phone/single$0.0654 per callFixed
- Hashed email lookupPOST/v1/email-to-person/hashed$0.0436 per email returnedResponse-based · up to $4.36
- Premium phone lookupPOST/v1/contact-details/premium-phone/sync$0.109 per callFixed
- Person match lookupPOST/v1/kitchen-sink/person$0.0436 per result returnedResponse-based · up to $0.872
- LinkedIn post commentsPOST/v1/linkedin-live-fetch/post-comments$0.0436 per callFixed
- Social profile finderPOST/v1/social-media-lookup/triggerFrom $0.0654 per callRequest-based · up to $0.1308
- Skills autocompletePOST/v1/typeahead/skillsFree
- NAICS code listGET/v1/enums/naics-codesFree
- Time zone listGET/v1/enums/time-zonesFree
- TikTok followingPOST/v1/tiktok/user-following$0.0436 per callFixed
- Batch social finder resultsPOST/v1/social-media-lookup/batch/pollFree