Poland Company Lookup API – REGON, NIP, KRS
polish-company-lookup-regonLook up known Polish companies by NIP, REGON, or KRS in the official GUS REGON register to retrieve registration details, status, address, PKD codes, and optional VAT status.
Instructions
Looks up Polish companies and other registered subjects by NIP, REGON or KRS number in the official GUS REGON register (Statistics Poland, BIR1.2 API): for each identifier one item with registered name, REGON, NIP, KRS, entity type, legal and ownership form, seat address with TERYT, prevailing and other PKD codes, status (active, suspended, closed) and register dates, optionally VAT taxpayer status from the Ministry of Finance white list (WL2) and nested local units. No phone, fax or email; for sole traders the street is omitted unless soleTraderFullAddress is set. No GUS key is needed (gusApiKey is optional). onlyChanged defaults to false. The first successful run with it on stores a baseline and charges nothing. Later runs charge the company price only when suspension, deletion, or VAT status changes. Use it to identify a known company; for newly registered companies use polish-new-companies-krs. 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-company-lookup-regon 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-company-lookup-regon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nips | No | Tax identifiers (NIP). Spaces, hyphens and a leading PL are ignored. Invalid checksums are returned as found=false and are not charged. | |
| regons | No | 9-digit subjects or 14-digit local units. Checksums are validated. | |
| maxItems | No | Stop after this many charged companies. Empty means no cap. Not-found rows and skipped sole traders do not count. | |
| gusApiKey | No | Optional. Your own production BIR1 user key from GUS. Leave empty: the Actor uses its own production key. | |
| krsNumbers | No | Court numbers. Shorter values are zero-padded to 10 digits. Looked up one at a time. | |
| identifiers | No | Optional prefixes NIP:, REGON: and KRS:. Without a prefix, 9 or 14 digits are a REGON and 10 digits with a valid NIP checksum are a NIP. Anything else returns the error "ambiguous, use prefix". | |
| onlyChanged | No | Compare suspension, deletion and VAT status with the previous run. The first successful monitor run stores a baseline and charges nothing. Later runs charge the normal company price only when a watched status changes. | |
| checkVatStatus | No | Ask the Ministry of Finance WL2 status method. Adds vatStatus, vatCheckedAt and vatRequestId. On failure the company is still returned with vatError. No bank accounts and no people. | |
| includeLocalUnits | No | Nest up to 50 local units (14-digit REGON) on each company. No extra charge. A 14-digit REGON in the input is its own row. | |
| includeSoleTraders | No | When false, a sole trader (JDG) is returned with found=true and skipped=sole_trader and is not charged. | |
| useTestEnvironment | No | When no production key is set, call the public GUS test service. Data is anonymized and frozen around 8 November 2014. Ignored when a key is set. | |
| soleTraderFullAddress | No | Include street, building and apartment for a sole trader. Default is city, postal code, municipality, county and voivodeship only. |