# German Corporate Insolvency Monitor (Insolvenzportal) (`nathan922/german-insolvency-monitor`) Actor

Ultra-fast monitor for official German insolvency proceedings (neu.insolvenzbekanntmachungen.de). Zero-browser JSF architecture with instant full-text retrieval, automated B2B entity filtering (GmbH, UG, AG), commercial register parsing, and structured extraction of insolvency administrators.

- **URL**: https://apify.com/nathan922/german-insolvency-monitor.md
- **Developed by:** [Nathanael Araz](https://apify.com/nathan922) (community)
- **Security:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $9.00 / 1,000 results

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

## 🇩🇪 German Corporate Insolvency Monitor (insolvenzbekanntmachungen.de)

[![Fast HTTPX](https://img.shields.io/badge/Engine-HTTPX%20Async-009688.svg)](#)
[![Zero Browser Overhead](https://img.shields.io/badge/Architecture-Zero--Browser-brightgreen.svg)](#)
[![All 16 Bundesländer](https://img.shields.io/badge/Coverage-All%2016%20States-blue.svg)](#)
[![B2B Company Filter](https://img.shields.io/badge/Feature-B2B%20Company%20Filter-orange.svg)](#)
[![Full-Text Extraction](https://img.shields.io/badge/Extraction-Instant%20Fulltext-purple.svg)](#)

A high-speed, lightweight data extraction engine and daily monitoring actor for official German insolvency proceedings from the centralized portal [neu.insolvenzbekanntmachungen.de](https://neu.insolvenzbekanntmachungen.de/ap/suche.jsf).

Designed specifically for **B2B Credit Risk Teams**, **Distressed M\&A Investors**, **Restructuring Consultants**, and **Commercial Law Firms** who require real-time alerts on insolvency filings, preliminary proceedings, and court orders without the cost and instability of heavy headless browser scraping.

***

### 🚀 Key Advantages & Architecture

- **Zero-Browser Architecture:** Bypasses heavy Chromium/Playwright browsers. Directly handles stateful Jakarta Server Faces (`JSESSIONID` and `jakarta.faces.ViewState`) over asynchronous HTTP. Runs up to **20x faster** and consumes **90% fewer Apify compute units (CUs)**.
- **Instant Full-Text XML Retrieval:** Queries the complete court ruling via lightweight JSF AJAX calls (`<partial-response>` ~1.5 KB). No clicking around or PDF rendering required.
- **Smart B2B Company Filter (`onlyCompanies`):** Automatically detects registered businesses by cross-referencing commercial register numbers (`HRB`, `HRA`, `GnR`, `PR`, `VR`) and corporate forms (`GmbH`, `UG (haftungsbeschränkt)`, `AG`, `GmbH & Co. KG`, `e.K.`). Easily separates corporate distress from private consumer insolvencies.
- **Intelligent Administrator & Sector Extraction:** Parses the appointed preliminary insolvency administrator (`insolvenzverwalter`) including law firm address and business description (`geschaeftszweig`) directly from the ruling.
- **Automated 1,000-Hit Limit Bypass:** The official federal portal blocks all queries exceeding 1,000 results. This actor automatically detects the cap and partitions the search into granular daily and procedural slices so no filing is lost.

***

### 🎯 Use Cases / Anwendungsbereiche

| Industry / Role | Use Case |
| :--- | :--- |
| **Credit Risk & Procurement** | Real-time monitoring of customer and supplier portfolios to prevent bad debt and supply chain disruptions. |
| **Distressed M\&A & Private Equity** | Sourcing off-market acquisition opportunities (asset deals, restructuring, carve-outs) within hours of filing. |
| **Law Firms & Creditor Representation** | Immediate alerts when clients or business partners enter restructuring or insolvency proceedings. |
| **Factoring & Debt Collection** | Timely claim filing (§ 174 InsO) and verification of security interests (§ 28 Abs. 2 InsO). |

***

### ⚙️ Input Parameters

| Parameter | Type | Default | Description |
| :--- | :---: | :---: | :--- |
| `bundeslaender` | `Array[String]` | `["NW"]` | Federal state codes to monitor (`BW`, `BY`, `BE`, `BB`, `HB`, `HH`, `HE`, `MV`, `NI`, `NW`, `RP`, `SL`, `SN`, `ST`, `SH`, `TH`, or `ALL`). |
| `gegenstand` | `String` | `"ALL"` | Procedural subject filter: `ALL`, `EROEFF` (Eröffnungen), `SICHMASS` (Sicherungsmaßnahmen / vorläufige Verfahren), `ABWMASS` (Abweisung mangels Masse), `INSO_PLAN` (Insolvenzpläne), `ENT_VERF` (Entscheidungen im Verfahren). |
| `companyNameSearch` | `String` | `""` | **Live-KYC / Credit Check:** Direct search by company or debtor name (e.g. `"Capricorn"` or `"Bau"`). Automatically wrapped in wildcards (`*name*`). |
| `citySearch` | `String` | `""` | Filter by registered city / seat (e.g. `"Düsseldorf"`, `"München"`). |
| `registerNumberSearch` | `String` | `""` | Direct filter by commercial register number (e.g. `"63109"` for `HRB 63109`). |
| `daysBack` | `Integer` | `3` | Lookback window in days starting from today. Automatically partitioned day-by-day if result volume is large. |
| `onlyCompanies` | `Boolean` | `false` | When set to `true`, filters only corporate entities (GmbH, UG, AG, KG, etc.) and ignores consumer/private cases. |
| `includeFullText` | `Boolean` | `true` | Fetches the complete official court publication text via instant AJAX requests. |
| `maxItems` | `Integer` | `20` | Maximum number of structured insolvency records to output. |

#### Example Input

```json
{
  "bundeslaender": ["NW", "BY"],
  "gegenstand": "SICHMASS",
  "daysBack": 7,
  "onlyCompanies": true,
  "includeFullText": true,
  "maxItems": 50
}
```

***

### 📦 Output Dataset Example

Each record is pushed individually to the default dataset:

```json
{
  "veroeffentlichungsdatum": "04.11.2026",
  "aktenzeichen": "164 IN 184/26",
  "gericht": "Essen",
  "bundesland": "NW",
  "schuldner_name": "BM Fischer Verkehrstechnik UG (haftungsbeschränkt)",
  "sitz": "Essen",
  "register_raw": "Essen, HRB 28285",
  "register_art": "HRB",
  "register_nummer": "28285",
  "ist_unternehmen": true,
  "gegenstand": "SICHMASS",
  "geschaeftszweig": "Die Durchführung von Markierungs- und Beschilderungsarbeiten",
  "insolvenzverwalter": "Rechtsanwalt Markus van Marwyk, Alfredstr. 45, 45130 Essen",
  "volltext": "Amtsgericht Essen, Aktenzeichen: 164 IN 184/26 \n\nIn dem Insolvenzeröffnungsverfahren über das Vermögen \n\nder im Register des Amtsgerichts Essen unter HRB 28285 eingetragenen BM Fischer Verkehrstechnik UG (haftungsbeschränkt), Hüttmannstr. 11, 45143 Essen, derzeit führungslos und nicht gesetzlich vertreten,\n\nGeschäftszweig: Die Durchführung von Markierungs- und Beschilderungsarbeiten\n\nist am 04.11.2026, um 13:05 Uhr angeordnet worden (§§ 21, 22 InsO): \nZum vorläufigen Insolvenzverwalter wird Rechtsanwalt Markus van Marwyk, Alfredstr. 45, 45130 Essen bestellt. \nVerfügungen der Schuldnerin über Gegenstände ihres Vermögens sind nur noch mit Zustimmung des vorläufigen Insolvenzverwalters wirksam (§ 21 Abs. 2 Nr. 2 2. Alt. InsO). \nDen Schuldnern der Schuldnerin (Drittschuldnern) wird verboten, an die Schuldnerin zu zahlen..."
}
```

***

### 🔄 Automated Workflows & Integrations

#### 1. Daily Insolvency Alerts via Webhooks (n8n / Make / Zapier)

Configure a scheduled daily run on Apify (e.g. `0 7 * * *` with `daysBack: 1` and `onlyCompanies: true`). Attach an Apify Webhook targeting your automation endpoint:

- **n8n / Make:** Filter filings by keyword, postal code, or registered industry.
- **Slack / MS Teams:** Send high-priority notifications to risk analysts when a critical debtor enters preliminary insolvency (`SICHMASS`).
- **HubSpot / Salesforce / ERP:** Automatically flag accounts in your CRM or ERP system as high credit risk.

#### 2. Python SDK Integration

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_API_TOKEN")

run = client.actor("german-insolvency-monitor").call(
    run_input={
        "bundeslaender": ["NW", "BY"],
        "gegenstand": "SICHMASS",
        "daysBack": 3,
        "onlyCompanies": True,
        "maxItems": 100,
    }
)

dataset_items = client.dataset(run["defaultDatasetId"]).list_items().items
for item in dataset_items:
    print(f"[{item['aktenzeichen']}] {item['schuldner_name']} -> Verwalter: {item['insolvenzverwalter']}")
```

***

### 🇩🇪 Deutsche Kurzbeschreibung

Der **German Corporate Insolvency Monitor** aggregiert tagesaktuell alle amtlichen Insolvenzbekanntmachungen aus dem Bundesportal `neu.insolvenzbekanntmachungen.de`. Durch die direkte Anbindung über standardkonforme HTTPX-Requests entfällt der rechenintensive Browser-Overhead.

- **B2B-Fokus:** Mit `onlyCompanies: true` filtern Sie Privatinsolvenzen sofort heraus und erhalten ausschließlich meldepflichtige Unternehmen (GmbH, UG, AG, KG, e.K.).
- **Volltext & Verwalter:** Liest in Millisekunden die amtlichen Beschlüsse aus und extrahiert den vorläufigen Insolvenzverwalter samt Kanzleisitz und den Geschäftszweig.
- **100% Zuverlässig:** Keine 1.000-Treffer-Abbrüche dank automatischer Tagessplittung.

# Actor input Schema

## `bundeslaender` (type: `array`):

Liste der Bundesländer-Kürzel: BW, BY, BE, BB, HB, HH, HE, MV, NI, NW, RP, SL, SN, ST, SH, TH oder ALL für ganz Deutschland.

## `gegenstand` (type: `string`):

Filtert nach der Verfahrensart / dem Gegenstand der Bekanntmachung.

## `companyNameSearch` (type: `string`):

Optional: Direkte Suche nach Firmenname oder Nachname für Live-KYC & Bonitätsprüfungen (z. B. 'Capricorn' oder 'Bau'). Teilbegriffe werden automatisch per Wildcard (*Name*) gesucht.

## `citySearch` (type: `string`):

Optional: Filtert nach Stadt / Sitz des Schuldners (z. B. 'Düsseldorf', 'München', 'Berlin').

## `registerNumberSearch` (type: `string`):

Optional: Direkte Suche nach einer bestimmten Handelsregisternummer (z. B. '63109' für HRB 63109).

## `daysBack` (type: `integer`):

Wie viele Tage rückwirkend ab heute gesucht werden soll. Das Skript splittet bei Bedarf automatisch tageweise, um das 1.000-Treffer-Limit nie zu reißen.

## `onlyCompanies` (type: `boolean`):

Filtert nur Handelsregister-Einträge und Firmen (z.B. GmbH, UG, AG, KG, OHG, e.K.) heraus und ignoriert Privatinsolvenzen.

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

Lädt per leichtgewichtigem JSF-AJAX-POST den kompletten Bekanntmachungstext inkl. Insolvenzverwalter und Geschäftszweig.

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

Maximale Anzahl an zu speichernden Insolvenz-Einträgen pro Run.

## Actor input object example

```json
{
  "bundeslaender": [
    "NW"
  ],
  "gegenstand": "ALL",
  "companyNameSearch": "",
  "citySearch": "",
  "registerNumberSearch": "",
  "daysBack": 3,
  "onlyCompanies": false,
  "includeFullText": true,
  "maxItems": 20
}
```

# Actor output Schema

## `results` (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 = {
    "bundeslaender": [
        "NW"
    ],
    "daysBack": 3,
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("nathan922/german-insolvency-monitor").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 = {
    "bundeslaender": ["NW"],
    "daysBack": 3,
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("nathan922/german-insolvency-monitor").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 '{
  "bundeslaender": [
    "NW"
  ],
  "daysBack": 3,
  "maxItems": 20
}' |
apify call nathan922/german-insolvency-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,nathan922/german-insolvency-monitor"
        }
    }
}
```

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/aGEnVGoimsl8fGOPL/builds/978XZZdhHc4FGWAra/openapi.json
