{
  "openapi": "3.0.1",
  "info": {
    "title": "ZVG Zwangsversteigerung Scraper - German Foreclosure Auctions",
    "description": "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.",
    "version": "1.0",
    "x-build-id": "ynJjBOyhh1ngXoIjQ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/steadyscrape~zvg-zwangsversteigerung-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-steadyscrape-zvg-zwangsversteigerung-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/steadyscrape~zvg-zwangsversteigerung-scraper/runs": {
      "post": {
        "operationId": "runs-sync-steadyscrape-zvg-zwangsversteigerung-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/steadyscrape~zvg-zwangsversteigerung-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-steadyscrape-zvg-zwangsversteigerung-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "states": {
            "title": "States (Bundesländer)",
            "type": "array",
            "description": "The Länder to search, every court of each. Leave empty for all 16. Hamburg and Mecklenburg-Vorpommern publish no auctions on ZVG-Portal.",
            "items": {
              "type": "string",
              "enum": [
                "bw",
                "by",
                "be",
                "br",
                "hb",
                "hh",
                "he",
                "mv",
                "ni",
                "nw",
                "rp",
                "sl",
                "sn",
                "st",
                "sh",
                "th"
              ],
              "enumTitles": [
                "Baden-Württemberg",
                "Bayern",
                "Berlin",
                "Brandenburg",
                "Bremen",
                "Hamburg",
                "Hessen",
                "Mecklenburg-Vorpommern",
                "Niedersachsen",
                "Nordrhein-Westfalen",
                "Rheinland-Pfalz",
                "Saarland",
                "Sachsen",
                "Sachsen-Anhalt",
                "Schleswig-Holstein",
                "Thüringen"
              ]
            },
            "default": []
          },
          "courts": {
            "title": "Courts (Amtsgerichte)",
            "type": "array",
            "description": "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.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "zipCode": {
            "title": "ZIP code (start)",
            "pattern": "^\\s*\\d{0,5}\\s*$",
            "type": "string",
            "description": "The first 1 to 5 digits of the property's German ZIP code, e.g. <code>80</code> for Munich or <code>10115</code>.",
            "default": ""
          },
          "city": {
            "title": "City",
            "type": "string",
            "description": "The property's town as the portal matches it (any part of the name), e.g. <code>Leipzig</code>.",
            "default": ""
          },
          "auctionKinds": {
            "title": "Auction kinds (Verfahrensart)",
            "type": "array",
            "description": "Leave empty for every kind.",
            "items": {
              "type": "string",
              "enum": [
                "foreclosure",
                "partition",
                "insolvency",
                "inheritance",
                "ship",
                "submarineCable",
                "aircraft",
                "condominiumWithdrawal",
                "publicSummons",
                "other"
              ],
              "enumTitles": [
                "Foreclosure (Zwangsvollstreckung)",
                "Partition among co-owners (Teilungsversteigerung)",
                "On the insolvency administrator’s request",
                "On an heir’s request",
                "Ships and inland vessels",
                "Submarine cables",
                "Aircraft",
                "Withdrawal of a condominium (§ 18 WEG)",
                "Public summons (Aufgebotsverfahren)",
                "Other (Sonstiges)"
              ]
            },
            "default": []
          },
          "objectTypes": {
            "title": "Property types",
            "type": "array",
            "description": "The portal's property categories; an auction with any of them is listed. Leave empty for every property.",
            "items": {
              "type": "string",
              "enum": [
                "terracedHouse",
                "semiDetachedHouse",
                "detachedHouse",
                "twoFamilyHouse",
                "apartmentBuilding",
                "apartmentSmall",
                "apartmentMedium",
                "apartmentLarge",
                "commercialUnit",
                "residentialCommercial",
                "garage",
                "parkingSpace",
                "undergroundParking",
                "otherPartOwnership",
                "commercialLand",
                "buildingLand",
                "undevelopedLand",
                "agriculturalLand",
                "otherObject"
              ],
              "enumTitles": [
                "Terraced house (Reihenhaus)",
                "Semi-detached house (Doppelhaushälfte)",
                "Detached house (Einfamilienhaus)",
                "Two-family house (Zweifamilienhaus)",
                "Apartment building (Mehrfamilienhaus)",
                "Apartment, 1–2 rooms",
                "Apartment, 3–4 rooms",
                "Apartment, 5+ rooms",
                "Commercial unit (shop, office)",
                "Residential and commercial building",
                "Garage",
                "Parking space",
                "Underground parking space",
                "Other part ownership (cellar, hobby room)",
                "Commercial land",
                "Building plot (Baugrundstück)",
                "Undeveloped land",
                "Agricultural or forest land",
                "Other (Sonstiges)"
              ]
            },
            "default": []
          },
          "minMarketValue": {
            "title": "Minimum market value (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "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.",
            "default": 0
          },
          "maxMarketValue": {
            "title": "Maximum market value (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Only auctions whose market value is at most this. 0 for no maximum.",
            "default": 0
          },
          "onlyValueLimitsLifted": {
            "title": "Only auctions without the 5/10 and 7/10 limits",
            "type": "boolean",
            "description": "Repeat dates where bids under half or 70 % of the market value can win (\"Die Wertgrenzen sind weggefallen\").",
            "default": false
          },
          "auctionWithinDays": {
            "title": "Auctions in the next N days",
            "minimum": 0,
            "type": "integer",
            "description": "Only auctions from today to this many days ahead. 0 for every upcoming date.",
            "default": 0
          },
          "auctionDateFrom": {
            "title": "First auction day",
            "type": "string",
            "description": "Only auctions on or after this day.",
            "default": ""
          },
          "auctionDateTo": {
            "title": "Last auction day",
            "type": "string",
            "description": "Only auctions on or before this day.",
            "default": ""
          },
          "includeCancelled": {
            "title": "Include cancelled dates",
            "type": "boolean",
            "description": "Also deliver dates the court cancelled (\"wurde aufgehoben\"): file number, court and day only. Charged like any auction.",
            "default": false
          },
          "onlyNewOrUpdated": {
            "title": "Only new or updated auctions since the last run",
            "type": "boolean",
            "description": "Monitor mode for scheduled runs: auctions this input delivered before are skipped and not charged, unless the court has updated them since.",
            "default": false
          },
          "maxItems": {
            "title": "Max auctions",
            "minimum": 0,
            "type": "integer",
            "description": "How many auctions the run delivers at most; 0 for all it finds (about 3,100 across Germany).",
            "default": 1000
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}