curl -X POST https://api.up2data.ai/v1/companies/headcount \
-H "X-API-Key: $UP2DATA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"company_url": "https://linkedin.com/company/anthropic", "filters": {"titles": ["Software Engineer"], "locations": ["United States"]}}'
import requests
resp = requests.post(
"https://api.up2data.ai/v1/companies/headcount",
headers={"X-API-Key": UP2DATA_API_KEY},
json={"company_url": "https://linkedin.com/company/anthropic", "filters": {"titles": ["Software Engineer"], "locations": ["United States"]}},
)
data = resp.json()["data"]
{
"data": {
"company_url": "https://linkedin.com/company/anthropic",
"count": 142,
"filters_applied": {"titles": ["Software Engineer"], "locations": ["United States"]},
"scraped_at": "2026-07-08T12:00:00Z"
},
"meta": {
"creditsUsed": 1,
"creditsRemaining": 98419,
"billed": true,
"reason": "success",
"requestId": "req_example",
"latencyMs": 2100
}
}
{
"error": {
"type": "unprocessable_target",
"message": "Target is private, deleted, or unreachable.",
"requestId": "req_example"
}
}
Companies
Find custom headcount
Count employees at a company matching title, seniority, location, or keyword filters.
POST
/
v1
/
companies
/
headcount
curl -X POST https://api.up2data.ai/v1/companies/headcount \
-H "X-API-Key: $UP2DATA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"company_url": "https://linkedin.com/company/anthropic", "filters": {"titles": ["Software Engineer"], "locations": ["United States"]}}'
import requests
resp = requests.post(
"https://api.up2data.ai/v1/companies/headcount",
headers={"X-API-Key": UP2DATA_API_KEY},
json={"company_url": "https://linkedin.com/company/anthropic", "filters": {"titles": ["Software Engineer"], "locations": ["United States"]}},
)
data = resp.json()["data"]
{
"data": {
"company_url": "https://linkedin.com/company/anthropic",
"count": 142,
"filters_applied": {"titles": ["Software Engineer"], "locations": ["United States"]},
"scraped_at": "2026-07-08T12:00:00Z"
},
"meta": {
"creditsUsed": 1,
"creditsRemaining": 98419,
"billed": true,
"reason": "success",
"requestId": "req_example",
"latencyMs": 2100
}
}
{
"error": {
"type": "unprocessable_target",
"message": "Target is private, deleted, or unreachable.",
"requestId": "req_example"
}
}
Cost: 1 credit per successful query · pay only on success
Count employees at a company matching title, seniority, location, or keyword filters.
Rate limit: counts as 1 request against your rate limit.
string
required
Company page URL.
object
required
Response
object
company_url, count, filters_applied, scraped_at.curl -X POST https://api.up2data.ai/v1/companies/headcount \
-H "X-API-Key: $UP2DATA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"company_url": "https://linkedin.com/company/anthropic", "filters": {"titles": ["Software Engineer"], "locations": ["United States"]}}'
import requests
resp = requests.post(
"https://api.up2data.ai/v1/companies/headcount",
headers={"X-API-Key": UP2DATA_API_KEY},
json={"company_url": "https://linkedin.com/company/anthropic", "filters": {"titles": ["Software Engineer"], "locations": ["United States"]}},
)
data = resp.json()["data"]
{
"data": {
"company_url": "https://linkedin.com/company/anthropic",
"count": 142,
"filters_applied": {"titles": ["Software Engineer"], "locations": ["United States"]},
"scraped_at": "2026-07-08T12:00:00Z"
},
"meta": {
"creditsUsed": 1,
"creditsRemaining": 98419,
"billed": true,
"reason": "success",
"requestId": "req_example",
"latencyMs": 2100
}
}
{
"error": {
"type": "unprocessable_target",
"message": "Target is private, deleted, or unreachable.",
"requestId": "req_example"
}
}