# Poland MSiG Scraper: Bankruptcy & Insolvency Gazette Monitor (`getascraper/poland-msig-gazette-scraper`) Actor

Scrape Poland's official Monitor Sądowy i Gospodarczy (MSiG) court and business gazette. Watch companies by KRS, NIP or name for only new bankruptcy, restructuring and liquidation notices, parsed into KRS, NIP, court, type and case signature. Pairs with our KRS scraper. No login or key.

- **URL**: https://apify.com/getascraper/poland-msig-gazette-scraper.md
- **Developed by:** [GetAScraper](https://apify.com/getascraper) (community)
- **Categories:** Lead generation, Automation, News
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.05 / 1,000 gazette notices

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 MSiG Scraper: Bankruptcy & Insolvency Gazette Monitor

Watch Polish companies by KRS, NIP or name and get only the new bankruptcy, restructuring, liquidation and registry notices. Each notice arrives as clean, separate fields, straight from the official Monitor Sądowy i Gospodarczy (MSiG). No login, API key, cookie or captcha.

Most gazette tools hand you a wall of text and make you read it. This one tells you which company, what kind of notice, which court, and the case signature, then on a schedule it returns only what is new since your last run.

### 🔍 What it does

The Monitor Sądowy i Gospodarczy is Poland's official court and business gazette. It publishes bankruptcies, restructurings, liquidations, dissolutions and registry changes for Polish companies and people. This Actor reads it and turns it into a monitoring feed you can act on.

- Follow a watchlist of companies by KRS number, NIP number or name, and get a feed built around just them.
- Parse every notice into separate fields: notice type, issuing court, case signature, KRS, NIP, publication date, issue and position, and any monetary amounts.
- Search the full text of the notice body, not only the title line.
- Read both parts of each issue in one run: announcements (type A) and KRS entries (type B).
- Group a company's whole gazette history into a single record.
- On a schedule, return only the notices you have not seen before.

It pairs with the Poland KRS Company Registry scraper: use the registry for who a company is, and this gazette feed for what is happening to it.

### 👤 Who it is for

"I run credit risk for a lender. I load my borrowers' KRS numbers and schedule a daily run. The morning a borrower shows up with a bankruptcy notice, I know before the loan goes bad."

"I do KYB and AML onboarding. I need an audit trail of every insolvency and liquidation notice tied to a company, with the court and case signature, not a screenshot of a PDF."

"I collect debt. I watch a list of debtors by NIP. When a restructuring or creditor call appears, I file my claim inside the deadline instead of missing it."

### ⚙️ How it works

1. Enter a watchlist (KRS, NIP or name) or just a date range, and pick which notice types you care about.
2. The Actor reads the official gazette, parses each notice into structured fields, and streams the results as it goes.
3. Schedule it with "only new since last run" on, and every run becomes a clean change feed.

### 🧩 Input

| Field | Type | Required | Description |
|---|---|---|---|
| `lastDays` | integer | No | How many days back to read when no exact dates are set. |
| `dateFrom` | string (date) | No | First publication date to include (YYYY-MM-DD). Overrides `lastDays`. |
| `dateTo` | string (date) | No | Last publication date to include (YYYY-MM-DD). Overrides `lastDays`. |
| `signatureType` | enum | No | `A` announcements, `B` KRS entries, or `both` in one run. |
| `krsWatch` | array of strings | No | KRS numbers to watch. Returns only those companies' notices. |
| `nipWatch` | array of strings | No | NIP tax numbers to watch. |
| `nameTerms` | array of strings | No | Company or person name terms to watch. |
| `bodyKeywords` | array of strings | No | Keywords searched in the full notice body. |
| `noticeTypes` | array of strings | No | Keep only these notice types (bankruptcy, restructuring, liquidation, and more). |
| `fetchDetails` | boolean | No | Parse each notice into KRS, NIP, court, notice type and case signature. |
| `includeFullText` | boolean | No | Also include the complete notice body text. |
| `groupByEntity` | boolean | No | Output one record per company with its notices nested inside. |
| `maxNotices` | integer | No | The most notices (or companies) to save in one run. |
| `onlyNew` | boolean | No | Return only notices this monitor has not reported before. |
| `monitorName` | string | No | A label so you can run several independent monitors. |
| `proxyConfiguration` | object | No | Proxy settings. Cheap datacenter proxy by default. |

### 📊 Output fields

| Field | Type | Description |
|---|---|---|
| `entityName` | string | The company or person the notice is about. |
| `noticeType` | string | Bankruptcy, restructuring, creditor call, dissolution, liquidation, deletion, registration or change. |
| `krs` | string | The entity's KRS (National Court Register) number, when present. |
| `nip` | string | The entity's NIP (tax) number, when present. |
| `court` | string | The issuing court and division. |
| `caseSignature` | string | The court case signature (sygnatura akt). |
| `publicationDate` | string | The issue's publication date. |
| `monitorNumber` | string | The gazette issue number. |
| `positionNumber` | string | The notice's position number within the issue. |
| `chapter` | string | The gazette chapter the notice belongs to. |
| `monetaryAmounts` | array | Amounts stated in the notice body, with value and currency. |
| `signatureType` | string | A (announcements) or B (KRS entries). |
| `noticeHeader` | string | The notice's header line. |
| `fullText` | string | The complete notice body, when you ask for it. |
| `noticeUrl` | string | A link to the notice on the official gazette site. |
| `scrapedAt` | string | When the run collected the notice. |

When you group by company, each row adds `noticeCount`, `noticeTypes`, `latestNoticeDate` and a `notices` array with the company's history.

### 💰 Pricing

This Actor runs on the Apify pay-per-result model. You pay for the notices you collect, empty runs cost nothing, and there are no subscriptions.

Free plan runs are limited to 50 notices per run, 10 runs per day, and the owner account and paid plans are not capped. These limits keep abuse off a public data source and are stated here so there are no surprises.

### ⭐ Enjoying this Actor?

If it saves you time, please [leave a rating or review on the Apify Store](https://apify.com/getascraper/poland-msig-gazette-scraper/reviews). It genuinely helps other people find it.

### ❓ FAQ

**Is this the official data?**
Yes. It reads the Ministry of Justice's own Monitor Sądowy i Gospodarczy search service. Notices are the official published record.

**Do I need a login, API key or cookie?**
No. The source is public, so no login, key, cookie or captcha is ever required.

**Can I monitor a fixed list of companies?**
Yes. Add their KRS or NIP numbers to the watchlist, turn on "only new since last run", and schedule the Actor. Each run returns only new notices for those companies.

**What notice types can it find?**
Bankruptcy (upadłość), restructuring (restrukturyzacja), liquidation (likwidacja), dissolution without liquidation, creditor calls, registrations (wpis), deletions (wykreślenie) and changes.

### 🔗 Other actors

- [Poland KRS Scraper: Krajowy Rejestr Sądowy Data, Feed, Monitor](https://apify.com/getascraper/poland-krs-company-registry-scraper) ↗ Look up Polish companies by KRS, NIP or REGON and monitor new and changed registrations.
- [Proff Scandinavia Scraper: Company Financials, Owners & Boards](https://apify.com/getascraper/proff-scandinavia-scraper) ↗ Company financials, owners and boards across Scandinavia.
- [Japan Company Scraper: 4.5M+ gBizINFO Records](https://apify.com/getascraper/gbizinfo-japan-company-scraper) ↗ Official Japanese company records at scale.
- [BusinessesForSale Scraper: Business Broker Listings, Financials](https://apify.com/getascraper/businessesforsale-scraper) ↗ Businesses for sale with asking prices and financials.
- [Empire Flippers Scraper: Business Deals, Financials, No Login](https://apify.com/getascraper/empireflippers-scraper) ↗ Online business listings with revenue and profit data.

# Changelog

This Actor's version history is a separate document: https://apify.com/getascraper/poland-msig-gazette-scraper/changelog.md

# Actor input Schema

## `lastDays` (type: `integer`):

How many days back from today to read, when no exact dates are set below. 7 covers roughly the last week of gazette issues. Ignored if Date from or Date to is set.

## `dateFrom` (type: `string`):

First publication date to include, as YYYY-MM-DD. Overrides Last N days. Leave empty to use Last N days.

## `dateTo` (type: `string`):

Last publication date to include, as YYYY-MM-DD. Overrides Last N days. Leave empty to use today.

## `signatureType` (type: `string`):

Type A is the announcements part (bankruptcy, restructuring, liquidation, creditor calls and more). Type B is the KRS registry-entry part. Pick Both to read the whole issue in one run, which neither aging MSiG scraper on the Store does by default.

## `krsWatch` (type: `array`):

Watch specific companies by KRS number (up to 10 digits each, one per line). Each is matched on the gazette's own server, so you get only that company's notices, not a whole date range. Turns the gazette into a KYB bankruptcy and insolvency alert for your portfolio. Pairs with the Poland KRS Company Registry scraper.

## `nipWatch` (type: `array`):

Watch specific entities by NIP tax number (10 digits each, one per line). Matched on the gazette server and enriched from each notice's full record.

## `nameTerms` (type: `array`):

Watch by entity name, one term per line, for example a company or a person. Matched against the entity name on the gazette server.

## `bodyKeywords` (type: `array`):

Search the full text of each notice body on the gazette's own search, one keyword per line (Polish diacritics as written), for example a creditor name, a trustee or a term like układ. The PDF-based MSiG scraper on the Store cannot search the body text at all.

## `noticeTypes` (type: `array`):

Keep only notices classified as these types. Leave empty to keep every type. Classification needs each notice's detail, so choosing any type turns on detail fetching automatically.

## `fetchDetails` (type: `boolean`):

Fetch each notice's full record and parse it into structured fields: KRS, NIP, issuing court, notice type, case signature and any monetary amounts, read from the official JSON, not a reconstructed PDF crop. Off by default so the daily run stays fast; turned on automatically by a KRS/NIP watch, a notice-type filter, grouping or full text.

## `includeFullText` (type: `boolean`):

Also include the complete notice body text. It can name individual people such as liquidators or creditors, so leave it off unless you have a lawful basis to process that. Requires full notice details.

## `groupByEntity` (type: `boolean`):

Output one record per company (by KRS) with all its notices nested inside, so a KYB user sees a company's whole gazette history in a single row. Requires full notice details. Neither MSiG scraper on the Store groups by entity.

## `maxNotices` (type: `integer`):

The most notices (or companies, when grouping) to save in one run. Keep it small for scheduled monitoring; raise it for a one-off archive pull.

## `onlyNew` (type: `boolean`):

On a schedule, return only notices this monitor has not reported before. The ids already seen are kept in a named store that survives between runs, so a daily run is a true change feed, not a repeat of yesterday.

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

A short label (a-z, 0-9 and dashes) for this monitor's memory, so you can run several independent monitors, for example one per client watchlist. Left blank it is called default.

## `proxyConfiguration` (type: `object`):

The official gazette is an open site that works over cheap Apify datacenter proxy, which is the default. No login, key or captcha is ever needed.

## Actor input object example

```json
{
  "lastDays": 7,
  "signatureType": "A",
  "noticeTypes": [],
  "fetchDetails": false,
  "includeFullText": false,
  "groupByEntity": false,
  "maxNotices": 20,
  "onlyNew": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `notices` (type: `string`):

No description

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

No description

# 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 = {
    "lastDays": 7,
    "signatureType": "A",
    "noticeTypes": [],
    "fetchDetails": false,
    "includeFullText": false,
    "groupByEntity": false,
    "maxNotices": 20,
    "onlyNew": false,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("getascraper/poland-msig-gazette-scraper").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 = {
    "lastDays": 7,
    "signatureType": "A",
    "noticeTypes": [],
    "fetchDetails": False,
    "includeFullText": False,
    "groupByEntity": False,
    "maxNotices": 20,
    "onlyNew": False,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("getascraper/poland-msig-gazette-scraper").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 '{
  "lastDays": 7,
  "signatureType": "A",
  "noticeTypes": [],
  "fetchDetails": false,
  "includeFullText": false,
  "groupByEntity": false,
  "maxNotices": 20,
  "onlyNew": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call getascraper/poland-msig-gazette-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,getascraper/poland-msig-gazette-scraper"
        }
    }
}
```

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/lmCbE9K9lYSvFtIqP/builds/ItUL15QdBdhqJibIf/openapi.json
