# ZVG Zwangsversteigerung Scraper - German Foreclosure Auctions (`steadyscrape/zvg-zwangsversteigerung-scraper`) Actor

Scrape German foreclosure auctions (Zwangsversteigerungen) from ZVG-Portal for all 16 states: court, file number, auction date, property type, address, ZIP, market value (Verkehrswert), auction kind and the official notice link. Export to JSON, CSV or Excel, or via API.

- **URL**: https://apify.com/steadyscrape/zvg-zwangsversteigerung-scraper.md
- **Developed by:** [Steady Scrape](https://apify.com/steadyscrape) (community)
- **Categories:** Real estate, Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 2 monthly users, 93.3% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.50 / 1,000 auction delivereds

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

## ZVG Zwangsversteigerung Scraper – German foreclosure auctions from ZVG-Portal

**Scrape every German foreclosure auction (Zwangsversteigerung) listed on [ZVG-Portal](https://www.zvg-portal.de)**, the
joint portal of the justice administrations of the German states, in one run: court (Amtsgericht), file number
(Aktenzeichen), auction date and time, property type, address with ZIP code, city and district, market value
(Verkehrswert) in euros, the kind of procedure (foreclosure or partition auction), whether the 5/10 and 7/10 value limits
no longer apply, and the link to the official notice (Amtliche Bekanntmachung). All 16 states, filters by state, court,
ZIP code, city, property type, auction kind, market value range and dates, and a monitor mode for weekly runs. Export to
JSON, CSV or Excel, or get the data via API.

### What the ZVG Zwangsversteigerung Scraper gives you

- **All of Germany in one run**: about 3,100 upcoming auctions in the 14 states that publish on ZVG-Portal (Hamburg and
  Mecklenburg-Vorpommern publish none there), court by court, so every auction carries its court.
- **The court and the procedure** the portal's list does not print: each auction's **auction kind** (foreclosure,
  partition among co-owners, insolvency, inheritance, ships…) and the **value-limits-lifted** flag (a repeat date where
  bids under half the market value can win) are read from the portal's own filtered searches.
- **Clean fields**: the address split into street, ZIP, city and district; the market value as a number when the court
  gives one figure or a total, and always the text as written; dates in ISO 8601 with Germany's offset.
- **Filters the portal lacks**: a ZIP code that means the start of the code (the portal matches the digits anywhere), a
  market value range, several auction kinds at once.
- **Monitor mode**: "Only new or updated auctions" delivers only what is new since the last run, or what the court has
  updated since (a new date, a cancellation).
- **Links, never downloads**: the portal page and the official notice PDF are handed to you as links.

### Use cases for German foreclosure auction data

- **Real estate investors** watching foreclosures (Zwangsversteigerungen) in their region or price range every week.
- **Agents, appraisers and banks** tracking market values and auction dates by ZIP code or court.
- **Proptech and data teams** building a nationwide database of court auctions (Immobilien-Zwangsversteigerungen).
- **Researchers and journalists** counting foreclosures by state, court, property type or auction kind.

### How to scrape ZVG-Portal auctions

1. Pick **States** (or leave empty for all), or name **Courts** such as `Essen`, `München`, `Köpenick`.
2. Narrow with **ZIP code**, **City**, **Property types**, **Auction kinds**, **Market value** and **dates** if you like.
3. Set **Max auctions** and run. Schedule it weekly with **Only new or updated auctions** to monitor.

Input example:

```json
{
    "states": ["by"],
    "zipCode": "80",
    "objectTypes": ["apartmentSmall", "apartmentMedium"],
    "maxMarketValue": 500000,
    "auctionWithinDays": 60,
    "maxItems": 100
}
```

### Output example

```json
{
    "auctionId": "be-14361",
    "zvgId": "14361",
    "caseNumber": "0070 K 0009/2025",
    "court": "Charlottenburg",
    "courtId": "F1103",
    "state": "Berlin",
    "stateCode": "be",
    "auctionDate": "2026-11-18",
    "auctionTime": "09:00",
    "auctionAt": "2026-11-18T09:00:00+01:00",
    "cancelled": false,
    "auctionType": "Versteigerung im Wege der Zwangsvollstreckung",
    "auctionKind": "foreclosure",
    "valueLimitsLifted": false,
    "objectType": "Eigentumswohnung (3 bis 4 Zimmer)",
    "objectTypes": ["Eigentumswohnung (3 bis 4 Zimmer)"],
    "address": "Leibnizstraße 70, 10625 Berlin",
    "street": "Leibnizstraße 70",
    "zipCode": "10625",
    "city": "Berlin",
    "district": null,
    "marketValueEur": 470000,
    "marketValueText": "470.000,00",
    "lastUpdated": "2026-06-16T11:23:00+02:00",
    "detailUrl": "https://www.zvg-portal.de/index.php?button=showZvg&zvg_id=14361&land_abk=be",
    "noticeUrl": "https://www.zvg-portal.de/index.php?button=showAnhang&land_abk=be&file_id=66872&zvg_id=14361",
    "noticeSizeKb": 267.56,
    "unreadFields": [],
    "rowType": "auction",
    "status": "ok",
    "scrapedAt": "2026-11-17T06:05:00.000Z"
}
```

### Fields

| Field | What it is |
| --- | --- |
| `caseNumber` | The court's file number (Aktenzeichen). |
| `court`, `courtId`, `state`, `stateCode` | The local court (Amtsgericht) holding the auction, its portal id, and its state. |
| `auctionDate`, `auctionTime`, `auctionAt` | The auction's day and time in German local time, and both in ISO 8601 with the offset. |
| `cancelled` | The court cancelled this date ("wurde aufgehoben"); delivered only with "Include cancelled dates". |
| `auctionType`, `auctionKind` | The procedure as the portal names it, and a short key: `foreclosure`, `partition`, `insolvency`, `inheritance`, `ship`, `aircraft`… `null` for a cancelled date. |
| `valueLimitsLifted` | `true` when the 5/10 and 7/10 limits no longer apply (bids under half the value can win). |
| `objectType`, `objectTypes` | The property as written ("Garage, Einfamilienhaus") and as a list. |
| `address`, `street`, `zipCode`, `city`, `district` | The property's address as written, and split. `zipCode` is `null` where the court wrote none (00000). |
| `marketValueEur`, `marketValueText` | The market value (Verkehrswert) set by the court: a number when there is one figure or a total, and the text as written. About 1 auction in 10 lists several values without a total: then the number is `null`. |
| `lastUpdated` | When the court last changed the entry. |
| `detailUrl`, `noticeUrl`, `noticeSizeKb` | Links to the portal's detail page and to the official notice PDF, and the PDF's size. |
| `auctionId`, `zvgId` | A stable id for the auction (state and portal id; court, file number and day for a cancelled date). |
| `unreadFields` | Fields the portal printed in a shape the Actor could not read (normally empty); those fields are `null`. |
| `rowType`, `status`, `scrapedAt` | `auction` and `ok` on an auction row; when the row was read (ISO 8601, UTC). |

A search that finds nothing, an unknown court name or a portal that stops answering gives a **free row** with
`rowType: "status"`, a `status` (`no_results`, `invalid`, `blocked`, `site_error`) and the reason.

### Pricing

Pay per event: **US$0.0015 per auction** delivered. Status rows are free. A whole state such as Bavaria (about 430
auctions) costs about US$0.65; all of Germany about US$4.70.

### Limits

- The portal lists upcoming dates only; past auctions and their results are not published there.
- Each court is asked separately (it is the only way the list names the court), so a run over all of Germany asks about
  600 pages and takes a few minutes. Narrow filters are fast: a state whose list holds nothing that matches is skipped.
- Debtor names are not on the list and are not delivered. The detail page and the notice PDF (which can name the
  property's details, plots and owners' shares) are never downloaded: robots.txt disallows them, so you get links.
- Some courts write the market value as several parts without a total; the text keeps them all.

### Is it legal to scrape ZVG-Portal?

The auction dates are public notices the courts must publish (§§ 39–40 ZVG). This Actor reads only the result lists,
which ZVG-Portal's robots.txt allows to every crawler, at a gentle pace, and never the pages robots.txt disallows. It
collects no personal data from the lists. It is not affiliated with ZVG-Portal, any court or any ministry of justice. You
are responsible for how you use the data, including data protection rules (GDPR) where they apply.

# Actor input Schema

## `states` (type: `array`):

The Länder to search, every court of each. Leave empty for all 16. Hamburg and Mecklenburg-Vorpommern publish no auctions on ZVG-Portal.

## `courts` (type: `array`):

Search only these local courts, written as the portal lists them, e.g. <code>Essen</code>, <code>München</code>, <code>Köpenick</code> ("Amtsgericht" and "AG" may be written too). An unknown name gives a free row that suggests similar courts. Leave empty to search whole states.

## `zipCode` (type: `string`):

The first 1 to 5 digits of the property's German ZIP code, e.g. <code>80</code> for Munich or <code>10115</code>.

## `city` (type: `string`):

The property's town as the portal matches it (any part of the name), e.g. <code>Leipzig</code>.

## `auctionKinds` (type: `array`):

Leave empty for every kind.

## `objectTypes` (type: `array`):

The portal's property categories; an auction with any of them is listed. Leave empty for every property.

## `minMarketValue` (type: `integer`):

Only auctions whose court-set market value (Verkehrswert) is at least this. 0 for no minimum. With a range set, an auction whose court gives several values without a total is left out.

## `maxMarketValue` (type: `integer`):

Only auctions whose market value is at most this. 0 for no maximum.

## `onlyValueLimitsLifted` (type: `boolean`):

Repeat dates where bids under half or 70 % of the market value can win ("Die Wertgrenzen sind weggefallen").

## `auctionWithinDays` (type: `integer`):

Only auctions from today to this many days ahead. 0 for every upcoming date.

## `auctionDateFrom` (type: `string`):

Only auctions on or after this day.

## `auctionDateTo` (type: `string`):

Only auctions on or before this day.

## `includeCancelled` (type: `boolean`):

Also deliver dates the court cancelled ("wurde aufgehoben"): file number, court and day only. Charged like any auction.

## `onlyNewOrUpdated` (type: `boolean`):

Monitor mode for scheduled runs: auctions this input delivered before are skipped and not charged, unless the court has updated them since.

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

How many auctions the run delivers at most; 0 for all it finds (about 3,100 across Germany).

## Actor input object example

```json
{
  "states": [
    "be"
  ],
  "courts": [],
  "zipCode": "",
  "city": "",
  "auctionKinds": [],
  "objectTypes": [],
  "minMarketValue": 0,
  "maxMarketValue": 0,
  "onlyValueLimitsLifted": false,
  "auctionWithinDays": 0,
  "auctionDateFrom": "",
  "auctionDateTo": "",
  "includeCancelled": false,
  "onlyNewOrUpdated": false,
  "maxItems": 20
}
```

# Actor output Schema

## `auctions` (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 = {
    "states": [
        "be"
    ],
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("steadyscrape/zvg-zwangsversteigerung-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 = {
    "states": ["be"],
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("steadyscrape/zvg-zwangsversteigerung-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 '{
  "states": [
    "be"
  ],
  "maxItems": 20
}' |
apify call steadyscrape/zvg-zwangsversteigerung-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,steadyscrape/zvg-zwangsversteigerung-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/KEBjvBhCHsxv8p2tv/builds/ynJjBOyhh1ngXoIjQ/openapi.json
