# Poland KRS Company Risk Check (Bankruptcy, Liquidation, Debts) (`quintuple_verve/pl-krs-risk-check`) Actor

Bulk-check Polish companies in the official KRS register by KRS or NIP: bankruptcy, liquidation, restructuring, debts under enforcement, overdue financial statements. No personal data.

- **URL**: https://apify.com/quintuple_verve/pl-krs-risk-check.md
- **Developed by:** [EU Data Tools](https://apify.com/quintuple_verve) (community)
- **Categories:** Developer tools, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 company checkeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Poland KRS Company Risk Check (Bankruptcy, Liquidation, Debts)

Bulk-check Polish companies in the **official KRS register** (Krajowy Rejestr Sądowy) before you
sign a contract, ship goods on credit or pay an advance. Enter **KRS numbers or NIPs**. For each
company you get an **ok / warning / fail** verdict and clear risk flags. Data comes only from the
Ministry of Justice open KRS API, with no scraping, no proxies and no logins.

| Risk flag | What it means | Verdict |
|---|---|---|
| `bankruptcy` | Bankruptcy declared and not closed (upadłość), with the date | fail |
| `liquidation` | Company in liquidation (w likwidacji) | fail |
| `dissolution` | Dissolution / annulment entered in KRS | fail |
| `restructuring` | Open restructuring proceedings (postępowanie restrukturyzacyjne) | fail |
| `arrangement` | Open arrangement proceedings (postępowanie układowe) | fail |
| `enforcement` | Unpaid tax / social security arrears under enforcement in KRS section 4, with the total in PLN | fail |
| `unsatisfied_claims` | Unsatisfied claims entered in KRS section 4 | fail |
| `bankruptcy_petition_dismissed` | Bankruptcy petition dismissed because assets were insufficient | fail |
| `court_guardian` | Court-appointed guardian (kurator), KRS section 5 | fail |
| `not_in_register` | KRS number not found (removed from the register or a typo) | fail |
| `financial_statement_overdue` | Last year's annual financial statement not filed in KRS | warning |

Closed proceedings are history, so they are **not** reported as open risk.

### Input

```json
{"companies": ["0000010681", "KRS 13785", "526-025-09-95"]}
```

- **KRS numbers**: with or without leading zeros.
- **NIPs**: mapped to KRS numbers through the Ministry of Finance white list. Sole traders
  (CEIDG) have no KRS entry and get a free `error` row explaining this.
- Pasting from Excel works: cells with several values separated by commas or semicolons are split,
  and duplicates are checked (and charged) once.

### Output (one row per company)

```json
{
  "input": "0000013785",
  "verdict": "fail",
  "riskFlags": ["bankruptcy", "enforcement"],
  "problems": ["in bankruptcy (upadłość) since 2021-07-12",
               "4 unpaid arrears under enforcement in KRS section 4 (total 7,133,859.70 PLN)"],
  "warnings": [],
  "krs": "0000013785",
  "name": "URSUS SPÓŁKA AKCYJNA W UPADŁOŚCI",
  "legalForm": "SPÓŁKA AKCYJNA",
  "nip": "7392388088",
  "regon": "510481080",
  "registrationDate": "2001-05-23",
  "latestFinancialStatementYear": 2025,
  "openArrearsTotalPln": 7133859.7,
  "mainActivity": "28.30.Z PRODUKCJA MASZYN DLA ROLNICTWA I LEŚNICTWA"
}
```

All columns are flat, so the CSV/Excel export reads well. A `SUMMARY` record counts companies per
verdict.

### Monitor mode: get alerted when a customer gets into trouble

Set **Monitor name** (for example `customers`) and schedule the actor weekly or monthly. Each row
then contains `changes` since the previous run with the same name:

```json
"changes": ["new risk: bankruptcy",
            "open arrears under enforcement: 0.00 -> 1,234.50 PLN",
            "new entry in KRS on 2026-12-01"],
"previousCheckAt": "2026-11-10T10:14:33+00:00"
```

Detected changes include new or cleared risk flags (bankruptcy, liquidation, restructuring,
enforcement, removal from the register), changes in the arrears total, name changes, new KRS
entries and newly filed financial statements. Filter the dataset on non-empty `changes` and send
the rows to e-mail or Slack with an Apify integration.

### Typical uses

- Credit control: screen customers before granting payment terms.
- Procurement / KYB: vet new suppliers and subcontractors.
- Portfolio monitoring: schedule the actor monthly for your customer list.
- Automations: call it from Make, Zapier, n8n or the Apify API.

Pairs well with **Polish VAT Whitelist + EU VIES Check**, which covers VAT status and bank accounts.

### Pricing

**$0.005 per company ($5 per 1,000)**, charged when the company is found in KRS or confirmed missing.
Invalid inputs, NIPs without a KRS entry and temporary API outages are free.

### Data protection (GDPR) and limits

- Personal data is **never** written to the output: no names or PESEL numbers of board members,
  partners, proxies, receivers or guardians. Only facts about the company are kept, plus the
  representation rule (for example "two board members jointly").
- Uses the current extract (odpis aktualny). Historical entries are not analysed.
- Financial statement check: the annual statement for year Y is due in KRS by mid-July of Y+1.
  A 30-day grace period allows for court processing time.
- This tool provides information from a public register; it is not legal or credit advice.

### Po polsku

Masowa weryfikacja kontrahentów w **KRS** po numerze KRS lub NIP. Wykrywa upadłość, likwidację,
postępowanie restrukturyzacyjne i układowe, zaległości w egzekucji (dział 4 KRS), kuratora oraz
niezłożone sprawozdanie finansowe. Działa tylko na oficjalnym API Ministerstwa Sprawiedliwości.
Nie zapisuje danych osobowych.

# Actor input Schema

## `companies` (type: `array`):

Polish KRS numbers (0000010681 or 10681) or NIP tax numbers (526-025-09-95). NIPs are mapped to KRS via the Ministry of Finance white list. One per line; pasted cells with several values separated by commas or semicolons are split.

## `monitorName` (type: `string`):

Optional. Name your company list (e.g. 'customers') and schedule the actor: each row then gets 'changes' since the previous run with the same name - new bankruptcy or liquidation, new or changed arrears, name change, new KRS entry, financial statement filed. State is kept in a named key-value store in your account.

## `maxItems` (type: `integer`):

Maximum number of companies checked in one run.

## `concurrency` (type: `integer`):

How many KRS extracts are downloaded in parallel. Keep low to respect the official API.

## Actor input object example

```json
{
  "companies": [
    "0000010681",
    "5260250995"
  ],
  "maxItems": 1000,
  "concurrency": 3
}
```

# Actor output Schema

## `results` (type: `string`):

Per-company results: verdict, risk flags, problems, warnings and key KRS data.

## `summary` (type: `string`):

Count of companies per verdict (ok / warning / fail / error).

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "companies": [
        "0000010681",
        "5260250995"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("quintuple_verve/pl-krs-risk-check").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "companies": [
        "0000010681",
        "5260250995",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("quintuple_verve/pl-krs-risk-check").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "companies": [
    "0000010681",
    "5260250995"
  ]
}' |
apify call quintuple_verve/pl-krs-risk-check --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,quintuple_verve/pl-krs-risk-check"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/WDyokosWZWFvP3JlF/builds/aeDdDHfOqWbX3u7hX/openapi.json
