getregdata
Home / Blog / Article
Article · 2026-11-01

How to Check if a Polish Company Is in Bankruptcy or Restructuring (KRZ)

krz · insolvency · poland · credit-risk · kyb · 10 min read

To check whether a Polish company is in bankruptcy or restructuring, search its NIP or KRS number in the Krajowy Rejestr Zadłużonych (KRZ, National Debtor Register) at krz.ms.gov.pl. The Ministry of Justice runs it, it is free, and it holds every bankruptcy and restructuring proceeding opened in Poland since 1 December 2021, each with a court case signature and a status such as “w toku” (ongoing) or “zakończone” (ended). For proceedings opened before that date, search the Monitor Sądowy i Gospodarczy (MSiG). To check many companies, or to be told when a counterparty enters a proceeding, the KRZ Debtor Scraper on Apify returns the same register data as JSON, one row per proceeding.

This guide covers what KRZ contains, how to read a result, how to run the check by hand and by API, and the cases where a result (or the lack of one) can mislead.

What KRZ is and what it covers

KRZ was created by the Act of 6 December 2018 on the National Debtor Register (Ustawa o Krajowym Rejestrze Zadłużonych) and went live on 1 December 2021. It replaced the old paper-and-gazette model for insolvency cases: court announcements in bankruptcy and restructuring proceedings are now published in KRZ, and the case files of those proceedings are kept there electronically.

For a counterparty check, the parts that matter are:

  • Bankruptcy proceedings (postępowanie upadłościowe) under the Bankruptcy Law, including petitions that have been filed but not yet decided.
  • Restructuring proceedings under the Restructuring Law: approval of an arrangement, accelerated arrangement proceedings, arrangement proceedings and remedial (sanacja) proceedings.
  • Discontinued enforcement: debtors against whom a bailiff’s enforcement was discontinued because nothing could be recovered.
  • Business bans: people a court has barred from running a business or sitting on a company board.
  • Announcements (obwieszczenia): the court notices published in those proceedings, such as a bankruptcy declaration or a call to creditors.

KRZ also lists natural persons, including consumer bankruptcies. This guide is about companies; the register treats them as “podmioty” (entities) and searches them by NIP, KRS or REGON.

KRZ is often confused with the KRD (Krajowy Rejestr Długów), a private credit bureau for unpaid invoices with a similar name. KRZ also does not record liquidation: a solvent company winding itself up (likwidacja) shows that in the company register (KRS).

Reading a KRZ result

Every proceeding has a court case signature in the form COURT/REPERTORY/NUMBER/YEAR, for example WA1M/GUp/44/2023. The first part identifies the court (WA1M is the Warsaw district court for the city of Warsaw), and the second part, the repertory code, tells you what kind of case it is:

Repertory codeMeaning
GUpBankruptcy proceeding (the court has declared bankruptcy)
GUBankruptcy petition (a request to declare bankruptcy)
GR + a letter (e.g. GRz, GRp, GRs)Restructuring proceeding
GKm / KmEnforcement case

The repertory code is the most reliable single signal, because it is fixed when the court registers the case. Read it together with the status: an ongoing GUp case is a company in bankruptcy; an ended GKm case years ago is a much weaker signal, and may not even be about the company as a debtor (more on that below).

A bankrupt company also carries the suffix “w upadłości” in its legal name in KRS, so “GETIN NOBLE BANK SPÓŁKA AKCYJNA W UPADŁOŚCI” is itself a hint. Do not rely on the name alone; the suffix appears only after the court declares bankruptcy, and it says nothing about petitions or restructuring.

The manual way: the KRZ portal

For one company, the free portal is enough:

  1. Open krz.ms.gov.pl and go to the public search of the register.
  2. Choose a search for an entity (podmiot), not a natural person.
  3. Enter the company’s NIP or KRS number. A name works too, but names match partially, and an identifier gives you exactly one company.
  4. Open each proceeding in the result list. Note the case signature, the proceeding type, the status, the court and the start date.
  5. For live cases, check the announcements board (obwieszczenia) for the latest court notice, such as a bankruptcy declaration or an arrangement approval.

That takes a few minutes per company and stops working once you have a list: a portfolio of 300 customers, an onboarding queue, or a requirement to re-check suppliers every week. The portal has no export and no notification for new cases, so re-checking means doing the whole search again and comparing by eye.

The automated way: KRZ Debtor Scraper

The KRZ Debtor Scraper runs the same entity search against the official register and returns structured rows. It needs no KRZ account and no API key; you need an Apify account. More detail on the data and modes is on our KRZ registry page.

The input for a company check by NIP:

{
  "searchMode": "entity",
  "identifier": "1080004850",
  "proceedingKinds": ["bankruptcy", "restructuring"]
}

identifier takes a NIP, KRS (10 digits, with leading zeros) or REGON. proceedingKinds is optional: leave it out to get every proceeding, or keep only bankruptcy, restructuring, enforcement and/or other. Rows you filter out are not exported and not charged.

A company search returns one row per proceeding the register holds for the company. Ongoing proceedings come first, then the newest, so a tool that only reads the first row sees the live case. A trimmed example for Getin Noble Bank:

{
  "entityName": "Getin Noble Bank S.A.",
  "nip": "1080004850",
  "krs": "0000304735",
  "legalForm": "Spółka akcyjna",
  "city": "Warszawa",
  "proceedingId": "f451214a-6474-44ec-b35e-094fd6e0b635",
  "caseSignature": "WA1M/GUp/44/2023",
  "proceedingKind": "bankruptcy",
  "proceedingType": "postępowanie upadłościowe dla przedsiębiorcy",
  "proceedingStatus": "w toku",
  "proceedingStartDate": "2023-07-20",
  "proceedingEndDate": null,
  "court": "Sąd Rejonowy dla m.st.Warszawy w Warszawie - XVIII Wydział Gospodarczy",
  "proceedingsComplete": true,
  "searchType": "entity",
  "sourceUrl": "https://krz.ms.gov.pl/"
}

The fields you will use most:

FieldWhat it tells you
proceedingKindbankruptcy, restructuring, enforcement or other - the normalized class
proceedingTypeThe register’s own Polish name for the proceeding
caseSignatureThe court signature; its repertory code (GUp, GR...) confirms the kind
proceedingStatusw toku = ongoing, zakończone = ended
proceedingStartDate / proceedingEndDateWhen it started and, if it has, ended
courtCourt and division, for bankruptcy and restructuring cases
enforcementAuthorityFor enforcement cases, the authority the register names
proceedingsCompletetrue when every proceeding of the company was listed; false means narrow the search with a NIP or KRS
proceedingIdPass it back with searchMode: "proceedingDetails" for the full case file

An empty dataset from a successful run means the register holds no proceeding for that identifier. If the register itself cannot be reached, the run fails instead of returning an empty list, so “nothing found” and “could not check” never look the same.

Code: JavaScript and Python

Both examples use the official apify-client and read your Apify credential from the APIFY_TOKEN environment variable.

// npm install apify-client
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });

const run = await client.actor('regdata/krz-debtor-scraper').call({
  searchMode: 'entity',
  identifier: '1080004850',
  proceedingKinds: ['bankruptcy', 'restructuring'],
});

if (run.status !== 'SUCCEEDED') {
  // Treat as "not checked", never as "clean"
  throw new Error(`KRZ check did not complete: ${run.status}`);
}

const { items } = await client.dataset(run.defaultDatasetId).listItems();
const live = items.filter((p) => p.proceedingStatus === 'w toku');

console.log(live.length ? `Ongoing: ${live.map((p) => p.caseSignature).join(', ')}` : 'No ongoing bankruptcy or restructuring in KRZ');
# pip install apify-client
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])

run = client.actor("regdata/krz-debtor-scraper").call(run_input={
    "searchMode": "entity",
    "identifier": "1080004850",
    "proceedingKinds": ["bankruptcy", "restructuring"],
})

if run["status"] != "SUCCEEDED":
    raise RuntimeError(f"KRZ check did not complete: {run['status']}")

items = client.dataset(run["defaultDatasetId"]).list_items().items
for p in items:
    print(p["caseSignature"], p["proceedingKind"], p["proceedingStatus"], p.get("court"))

To read the full case for one row, call the same actor with {"searchMode": "proceedingDetails", "proceedingId": "<proceedingId from the row>"}.

Workflow: weekly monitoring of a customer portfolio

More often the job is a watchlist: “tell me if any of my 100 customers enters bankruptcy or restructuring.” The actor has a monitor mode for this. With onlyNew: true, the first run returns every proceeding and remembers it; each later run of the same search returns only proceedings that are new since the last run. The memory sits in a key-value store in your own Apify account.

A weekly job over a list of NIPs:

import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
watchlist = ["1080004850", "8992777278"]  # your customers' NIPs

alerts, unchecked = [], []
for nip in watchlist:
    run = client.actor("regdata/krz-debtor-scraper").call(run_input={
        "searchMode": "entity",
        "identifier": nip,
        "proceedingKinds": ["bankruptcy", "restructuring"],
        "onlyNew": True,
        "monitorKey": "customer-portfolio",
    })
    if run["status"] != "SUCCEEDED":
        unchecked.append(nip)
        continue
    alerts += client.dataset(run["defaultDatasetId"]).list_items().items

for p in alerts:
    print(f"NEW: {p['entityName']} {p['caseSignature']} {p['proceedingType']} since {p['proceedingStartDate']}")
if unchecked:
    print("Re-run later, not checked:", unchecked)

Run it from cron, a GitHub Action, or skip the script: save the input as an Apify Task per counterparty and attach a Schedule. In no-code tools, the official Apify node for n8n or the Apify app in Make can loop over a sheet of NIPs; there is a ready-made Make template that posts a Slack alert when a company on your list gets a new KRZ proceeding.

The first run is a baseline: everything it returns is “new” to the monitor, so review it once and then act only on later alerts. A company search reports new proceedings, not status changes inside an existing one. To follow one case from petition to declaration, monitor it by its case signature (searchMode: "signature"), where status and type changes are reported with the previous values.

For a market-wide feed instead of a fixed list, the announcements mode searches every notice published in a date range:

{
  "searchMode": "announcements",
  "dateFrom": "2026-10-26",
  "dateTo": "2026-10-31",
  "proceedingType": ["bankruptcy", "restructuring"]
}

That feed includes consumer bankruptcies. Rows for natural persons carry firstName and lastName; drop them if you only want companies. Filter by proceedingType, not by the category text: the register’s category wording is written for bankruptcy and also appears on restructuring cases.

Limits and gotchas

Coverage starts 1 December 2021. A proceeding opened before then may not be in KRZ at all. For older cases search the Monitor Sądowy i Gospodarczy, the court gazette whose archive goes back to 2001; we cover it with the MSiG scraper. If your question is “has this company ever been insolvent”, check both.

A KRZ entry is not a verdict of insolvency. The register does not say whether the company in a proceeding is the debtor or a creditor. Enforcement entries in particular can show up for large creditors such as banks. Only bankruptcy and restructuring rows, read with their status, mean the company itself is in an insolvency proceeding. An ended enforcement case should go to a person for review instead of being rejected automatically.

Restructuring is not bankruptcy. A company in restructuring is trying to reach an arrangement with its creditors and usually keeps operating. Many credit policies treat it as high risk, but the decision differs from the one for a bankrupt company.

A petition is not a declaration. A GU case means someone has asked the court to declare bankruptcy. The court may dismiss it, so treat it as an early warning.

Use identifiers, not names. Name search is a partial match, so “Getin” returns several companies in the same group. A NIP or KRS search gives exactly one company. If proceedingsComplete is false, the list may not hold every proceeding of the company; repeat the search with its NIP or KRS.

An empty result is limited to KRZ. It means no bankruptcy, restructuring or discontinued-enforcement entry in KRZ since December 2021. It does not mean the company pays on time, and it says nothing about its owners. Checking the beneficial owners takes the UBO register (CRBR) plus a separate KRZ search per person.

Personal data. KRZ is public by law, but rows about natural persons are personal data under GDPR. If you only screen companies, filter persons out early and do not keep what you do not need.

Pricing

The actor charges per event: from $0.025 per search plus from $0.005 per result row, with lower per-result rates on higher Apify plans. A search with no proceedings costs only the search fee. A weekly check of 100 companies is 100 searches, about $2.50 a week plus a few cents for whatever new rows come back. Current prices are on the Store page.

If you are comparing this to a subscription service, our MGBI / iMSiG comparison goes through the trade-offs.

FAQ

Yes. The portal at krz.ms.gov.pl is free and needs no account for public searches. You pay only if you automate it through a tool such as the Apify actor.

Does KRZ have an official API?

There is no documented public API for third parties. The options are the web portal for manual searches or a tool that returns the register’s data in structured form.

How far back does KRZ go?

To 1 December 2021, the day the register started. Older bankruptcy and restructuring notices are in the Monitor Sądowy i Gospodarczy archive, which goes back to 2001.

Is KRZ the same as KRD?

No. KRZ is the state register of insolvency proceedings run by the Ministry of Justice. KRD (Krajowy Rejestr Długów) is a private credit bureau where creditors report unpaid debts.

Can I see what a bankrupt company owns?

Often, yes. KRZ publishes the bankruptcy-estate inventory that the trustee files, and the actor’s bankruptcyEstate mode returns it with the trustee’s valuations. Many proceedings have no published inventory.

How do I know if a company entered restructuring this week?

Either monitor a list of NIPs with onlyNew: true, or run the announcements mode for the week’s date range with proceedingType: ["restructuring"] and filter for companies.


Turn this into working data. Browse the registries and use cases, or start free on Apify.