Count Polish Companies
count_companiesRead-onlyIdempotent
Count KRS companies matching given filters. Returns a single number — no company list. Does not count JDG in this tool (full CEIDG is in Compabase; listing is RODO-gated). Sparse or zero counts in JDG-dominated PKDs include a hint.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| krs | No | KRS number of the company in the Polish National Court Register (10 digits). | |
| nip | No | Polish company tax number (NIP) of the business, 10 digits. | |
| pkd | No | Primary PKD code prefix, e.g. '46.90.Z' or '46'. | |
| city | No | City name — KRS uses uppercase. | |
| name | No | Company name, used when the KRS or NIP is not known. | |
| year | No | Filter to companies whose latest financial_period_to falls within this calendar year. Use only for sector/ranking browse — omit when looking up a company by name, KRS, or NIP. | |
| county | No | County / powiat (lowercase). | |
| region | No | Voivodeship (lowercase). | |
| all_pkd | No | Match any PKD code in the company's activity list (not just primary). | |
| has_email | No | true = only companies with email on record. Omit otherwise. | |
| is_active | No | true = active only, false = closed only. Omit for all. | |
| ebitda_max | No | Maximum EBITDA in PLN. | |
| ebitda_min | No | Minimum EBITDA in PLN. | |
| legal_form | No | Legal form fragment. | |
| profit_max | No | Maximum net profit in PLN. | |
| profit_min | No | Minimum net profit in PLN. | |
| capital_max | No | Maximum share capital in PLN. | |
| capital_min | No | Minimum share capital in PLN. | |
| has_website | No | true = only companies with website on record. Omit otherwise. | |
| revenue_max | No | Maximum total revenue in PLN. | |
| revenue_min | No | Minimum total revenue in PLN. | |
| total_assets_max | No | Maximum total assets in PLN. | |
| total_assets_min | No | Minimum total assets in PLN. | |
| estimated_value_max | No | Maximum Ohlson estimated equity value in PLN. | |
| estimated_value_min | No | Minimum Ohlson estimated equity value in PLN. | |
| profit_operating_max | No | Maximum operating profit in PLN. | |
| profit_operating_min | No | Minimum operating profit in PLN. | |
| registration_date_max | No | Latest KRS registration date, YYYY-MM-DD (inclusive). | |
| registration_date_min | No | Earliest KRS registration date, YYYY-MM-DD (inclusive). For newly registered companies use today's date for both registration_date_min and registration_date_max. |