Foreclosure Auctions Scraper (Germany ZVG & Japan Akiya) avatar

Foreclosure Auctions Scraper (Germany ZVG & Japan Akiya)

Pricing

from $5.00 / 1,000 foreclosure auction lot extracteds

Go to Apify Store
Foreclosure Auctions Scraper (Germany ZVG & Japan Akiya)

Foreclosure Auctions Scraper (Germany ZVG & Japan Akiya)

Extract official judicial real estate foreclosure auctions in Germany (zvg-portal.de, 16 Länder) and Japan (bit.courts.go.jp, 47 prefectures / akiya). Parses court Gutachten & 3点セット PDFs via PyMuPDF for market valuation, minimum bid, m², occupancy, and optional BYOK LLM risk flags.

Pricing

from $5.00 / 1,000 foreclosure auction lot extracteds

Rating

0.0

(0)

Developer

Xavier Richard

Xavier Richard

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 hours ago

Last modified

Features

Limited permissions

Share

Foreclosure & Judicial Real Estate Auctions (zvg-portal.de + bit.courts.go.jp)

Extract official judicial real estate foreclosure auctions in Germany (zvg-portal.de, all 16 Bundesländer) and Japan (www.bit.courts.go.jp, all 47 prefectures / akiya & urban properties), turning complex stateful court portals and legal PDF appraisals (Gutachten / Bekanntmachung in DE, 3点セット in JP) into clean, structured JSON for investors, marchands de biens, and real-estate analysts.

Key Features

  • Zero Browser, Zero Proxy, 512 MB Memory Footprint: Pure async httpx with stateful cookie persistence, multi-encoding decoding (UTF-8, ISO-8859-1, Shift-JIS / CP932), and selectolax (lexbor) HTML parsing.
  • Germany (zvg_de): Queries all 16 Bundesländer (bw, by, be, br, hb, hh, he, mv, ni, nw, rp, sl, sn, st, sh, th), navigates blaettern pagination, skips cancelled hearings (aufgehoben) by default, extracts Aktenzeichen, Amtsgericht, Grundbuch, Verkehrswert, Termin, and downloads Gutachten & Amtliche Bekanntmachung PDFs with proper Referer headers.
  • Japan (bit_jp): Supports all 47 Japanese prefectures (plus Hokkaido's 4 court districts 91–94), executes the multi-step BIT form workflow (pk001/h02 → ps002/h04 → ps002/h05 → pr001/h03 → pr001/h05), converts Wareki dates (令和08年12月15日 → 2026-12-15), extracts 売却基準価額 (market value), 買受可能価額 (minimum bid), 買受申出保証金 (deposit), floor/land m², coordinates, and 3点セット PDF links.
  • High-Precision PyMuPDF Legal PDF Extraction (parsePdfDetails): Extracts Verkehrswert / 売却基準価額, Mindestgebot / 買受可能価額, § 74a / § 85a ZVG Wertgrenzen weggefallen flags, surface areas (m²), construction year, occupancy/tenancy status (vermietet, eigengenutzt, Leerstand, 占有者), monthly rent, and legal risk flags (Denkmalschutz, Altlasten, Nießbrauch, 再建築不可, 共有持分, etc.). Detects scanned image-only PDFs cleanly (pdf_is_scanned: true).
  • Polite Rate Limiting: Per-host async throttling (requestDelaySec, default 1.0s + jitter) and exponential backoff retries to avoid overloading judicial servers.
  • Optional BYOK LLM Risk Summary (llmApiKey): Optionally pass your own OpenAI, Google Gemini, or Anthropic API key (llmProvider: auto, openai, gemini, anthropic) to generate a structured risk & due-diligence summary (llm_risk_summary). Never required.
  • Delta Mode (onlyNew) + Graceful Abort: Persists seen judicial lot IDs across scheduled runs in a named Apify Key-Value Store (foreclosure-real-estate-auctions-seen / key seen_auction_lots), avoids detail/PDF HTTP fetches for already-seen lots, and checkpoints on Event.ABORTING.
  • Pay-Per-Event Pricing:
    • auction-lot ($0.005 / lot): Charged once per delivered, deduplicated judicial auction record matching your filters.
    • pdf-parsed ($0.01 / PDF): Charged only when parsePdfDetails is enabled and an official Gutachten, Bekanntmachung, or 3点セット PDF is downloaded and parsed via PyMuPDF.
  • High-Throughput Optimizations: Concurrent DE & JP source execution (zvg_de || bit_jp), single-request zvg-portal.de fetch (&all=1), pre-detail card filtering, and offloaded PyMuPDF parsing (asyncio.to_thread).

Input Configuration

FieldTypeDefaultDescription
sourcesarray["zvg_de", "bit_jp"]Portals to query (zvg_de, bit_jp).
deStatesarray["be"]German state codes (land_abk). Empty = all 16 Länder.
jpPrefecturesarray["13"]Japanese JIS codes (13, 27), names (Tokyo, 大阪府), or ALL.
propertyTypesarray[]Filter: residential_house, apartment, commercial_mixed, land, garage_other.
minMarketValuenumber0Minimum appraised value in local currency (EUR / JPY).
maxMarketValuenumber0Maximum appraised value in local currency (0 = unlimited).
parsePdfDetailsbooleantrueDownload & parse official PDFs with PyMuPDF.
maxPdfPagesinteger20Page cap per PDF to stay under 512 MB RAM.
includeCancelledbooleanfalseInclude cancelled/withdrawn auctions.
llmApiKeystringnullOptional BYOK API key (OpenAI / Gemini / Anthropic).
llmProviderstring"auto"auto, openai, gemini, or anthropic.
onlyNewbooleanfalseDelta mode via KV Store (seen_auction_lots).
requestDelaySecnumber1.0Polite delay per host in seconds.
maxItemsinteger20Maximum lots to deliver across selected sources.

Output Schema (Sample Fields)

Each item pushed to the default dataset follows .actor/dataset_schema.json:

  • source, lot_id, country, state_or_prefecture, court_name, case_number
  • property_type, property_type_raw, title, address, postal_code, city, latitude, longitude
  • currency (EUR / JPY), market_value, minimum_bid, minimum_bid_ratio, deposit_amount, wertgrenzen_dropped
  • auction_date, auction_datetime, bidding_period, sale_decision_date
  • land_area_sqm, building_area_sqm, construction_year, occupancy_status, occupancy_rate_pct, monthly_rent
  • risk_flags, pdf_urls, pdf_parsed, pdf_is_scanned, llm_risk_summary

Local Development & Verification

$python -m pytest -v