Export Companies to CSV
export_companiesBulk file export of companies matching filters (CSV / XLSX / JSON). Up to 500 rows per call. Default fields=contacts_only: name, NIP, KRS, city, email, phone, website — small enough to use in-chat. fields=summary adds location, PKD, latest revenue/profit. fields=full is the complete dump (change history, rankings, people, enrichments, CSV twins) and often exceeds MCP client limits. Consumes export quota only after the file is built successfully. For a short list of emails after search_companies, use search with fields=contacts_only instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| krs | No | KRS registry number (exports that one company). | |
| nip | No | NIP tax number (exports matching companies). | |
| pkd | No | Primary PKD code prefix, e.g. '80.10', '80.10.Z', or '80' (same prefix matching as search_companies). | |
| city | No | City name. | |
| name | No | Company name fragment (case-insensitive). | |
| limit | No | Max rows to export (default: 50, max: 500). | |
| county | No | County / powiat (lowercase). Same filter as search_companies / count_companies. | |
| fields | No | Payload size. Default contacts_only (name, NIP, KRS, city, email, phone, website). summary adds county/region, PKD, latest revenue/profit. full is the complete profile dump — often too large for MCP clients; use only when asked for the full file. | |
| format | No | Export format (default: csv). Column set follows `fields` (contacts_only by default). | |
| locale | No | Column/label language (default: en). | |
| region | No | Voivodeship (e.g. mazowieckie). | |
| all_pkd | No | Match any PKD code in the company's activity list (not just primary). | |
| is_active | No | true = active companies only. | |
| revenue_max | No | Maximum total revenue. | |
| revenue_min | No | Minimum total revenue. |