Get Company Sector Rankings
get_company_rankingsGet a company's revenue rank positions within its industry (PKD), region (voivodeship), and all of Poland. Returns rows from company_financial_rankings — one row per scope (pkd_full, pkd_division, pkd_section, region, country). PKD scope keys of historical classifications are prefixed with the version: 'v2007:62.01.Z', 'v2004:50', 'v1997:74.84.B' (no prefix = PKD 2025). Use for questions like: where does company X rank in Poland / its industry / its region?
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| krs | No | KRS registry number (10 digits, zero-padded). | |
| nip | No | NIP tax number (10 digits, dashes optional). | |
| name | No | Company name when KRS/NIP is unknown. | |
| scope_type | No | Optional. Filter to a single scope. Omit to get all scopes. |