get_company_count
Count companies by NAICS code, country, and employee band to fill Eurostat data gaps for large and mid-cap segments.
Instructions
Count companies in Cognism matching NAICS codes x countries x employee range. Fills the cells Eurostat/Nomis can't:
Corp Large 5,000+ -> employee_min=5000
Corp Mid-cap 250-4,999 -> employee_min=250, employee_max=4999
UK corporates -> countries=["United Kingdom"]
Args: naics: NAICS codes, e.g. ["3344"] (semiconductors). Cognism uses NAICS, not NACE — map your NACE codes first. countries: country names, e.g. ["Germany", "France"] or ["United Kingdom"]. employee_min / employee_max: employee-count band bounds (inclusive).
Requires the Cognism API entitlement to be enabled by your CSM; until then this returns error "no_entitlement". Reads the token from the COGNISM_API_TOKEN env var (Render) or the local .env.cognism file (desktop).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| naics | Yes | ||
| countries | Yes | ||
| employee_max | No | ||
| employee_min | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||