CEIDG sole proprietorships in Poland
polish-new-sole-proprietorships-ceidgFetches new and changed Polish sole proprietorships (JDG) from the CEIDG registry by date range, PKD codes and voivodeship, returning NIP, REGON, status and address data.
Instructions
Returns new and changed Polish sole proprietorships (JDG) from the official CEIDG Hurtownia v3 API. Each item has the registered name, NIP, REGON, status, start date and a public address. includePkd (default on) adds PKD codes and suspension, resumption, end and deletion dates. There is no phone, email, website, or separate first and last name. Empty dateFrom and dateTo mean yesterday in Europe/Warsaw. Filter by an inclusive date range of at most 366 days, events (started, changed, or both), PKD prefixes and voivodeships. includeVatStatus is off by default. When it is on, each found entry also gets VAT status from the Ministry of Finance whitelist. soleTraderFullAddress is off by default, so street, building and apartment stay out. ceidgApiToken is optional. When it is empty the Actor reads CEIDG_API_TOKEN. Use it for sole-trader feeds. For KRS companies use polish-new-companies-krs, and to look up a known NIP, REGON or KRS use polish-company-lookup-regon. Read-only: it only queries the public source and never writes to the registry. Each call needs the APIFY_TOKEN env var and starts one paid run of the Apify Actor enterprising_hamster/polish-new-sole-proprietorships-ceidg on your Apify account, billed pay-per-event per delivered company plus any Apify platform usage; the server waits up to 300 s for the run and returns JSON {items, truncated} with at most maxItems (max 100) items and 256 KiB.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "polish-new-sole-proprietorships-ceidg"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pkd | No | PKD codes or prefixes as the CEIDG filter expects them, for example 41 or 4120Z. Dots are removed. Empty means any activity. | |
| dateTo | No | Last day, inclusive, YYYY-MM-DD. When dateFrom is empty, this day alone is the range. When dateFrom is later than dateTo, the two days are swapped and the run continues. The inclusive range may be at most 366 days, for example 2024-01-01 through 2024-12-31. Started mode reads that range in consecutive windows of at most 31 days. Changed mode still reads it in windows of 5 days. | |
| events | No | started filters /firmy by the activity start date. changed reads /zmiana by the entry-change date, then each entry. Both run started first, then changed, and the same id is charged once. | |
| dateFrom | No | First day (YYYY-MM-DD, Europe/Warsaw). For events started this is the activity start date. For events changed this is the entry-change date. Empty with dateTo empty means yesterday. One day when only dateFrom is set. | |
| maxItems | No | Stop after this many found entries are saved. | |
| includePkd | No | After the /firmy list, read each entry for PKD codes and suspension, resumption, end and deletion dates. The list itself has no PKD. The same field allow-list applies. | |
| voivodeships | No | Place of business must be in one of these voivodeships. Values match the API, for example mazowieckie. Empty means the whole country. | |
| ceidgApiToken | No | JWT for the CEIDG Hurtownia (Authorization Bearer). Stored as a secret. If empty, the Actor reads the CEIDG_API_TOKEN environment variable. If both are empty the run fails before any request. | |
| includeVatStatus | No | After a found entry, ask the Ministry of Finance whitelist (WL2) for statusVat on today's date in Europe/Warsaw. The row then also has statusVatCode and dataSprawdzenia. Bank accounts, PESEL, phone, and email are not requested. Default false. One call per found NIP, at least 0.25 seconds apart. | |
| soleTraderFullAddress | No | When false, the address has voivodeship, county, municipality, city, postal code and TERC/SIMC/ULIC only. Street, building and apartment are added only when this is true. |