# Italy PVP & Fallco Judicial Auctions, Machinery & OMI Spread (`francescopacifico1905/italy-judicial-auctions`) Actor

Italian multi-asset judicial auctions intelligence (PVP Ministero della Giustizia + Fallco Aste IVG) with Agenzia delle Entrate OMI price-per-sqm spread benchmarking, optional <=15 MB text PDF appraisal parsing, bilingual EN/IT output (<4 KB), and zero-cost delta monitoring.

- **URL**: https://apify.com/francescopacifico1905/italy-judicial-auctions.md
- **Developed by:** [Francesco Pacifico](https://apify.com/francescopacifico1905) (community)
- **Categories:** Real estate, Automation, Lead generation
- **Features:** Limited permissions
- **Stats:** 1 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.40 / 1,000 enriched judicial auction lot & omi spreads

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

## Italy PVP & Fallco Judicial Auctions, Machinery & OMI Spread

Fast, browserless intelligence across **Italian judicial auctions and insolvency liquidation sales**, unifying the Ministry of Justice **Portale delle Vendite Pubbliche (`pvp.giustizia.it`)**, the **Fallco Aste / Rete IVG (`fallcoaste.it`)** custodian network, and **Agenzia delle Entrate OMI** open-data real estate valuations.

Built for **international distressed-debt funds, industrial CapEx buyers, proptech pipelines, and AI agents (`mcp.apify.com`)** needing clean English JSON keys alongside original Italian legal labels (`tipoLotto`, `categoriaLotto`, `disponibilita`, `rito`, `numeroLotto`).

***

### Key Capabilities

1. **Multi-Source & Multi-Asset Coverage (`PVP` + `FALLCO`)**:
   - **`PVP` (Tier 1 JSON API)**: Server-side filtered queries across all Italian courts (`Tribunali`) for residential/commercial real estate, industrial plants, CNC/manufacturing machinery, fleets, company branches (`rami d'azienda`), and movables — with automatic runtime self-healing if `pvp.giustizia.it` rotates its frontend `/ric-*-*/ric-ms` deployment prefix.
   - **`FALLCO` (Tier 2 Rete IVG SSR HTML)**: Court-appointed IVG custodian listings (`fallcoaste.it`), particularly rich in machinery, vehicles, equipment stocks, and bankruptcy estates, with cross-portal deduplication against `pvpInsertionId`.
2. **Agenzia delle Entrate OMI Real Estate Spread (Zero SPID / Zero CAPTCHA)**:
   - Bundled OMI open-data quotations (`7,904` Italian municipalities and `160,176` zone/typology valuation bands) matched by municipality code, OMI zone/fascia description, property category, and coordinates (`latitude`/`longitude`).
   - Automatically calculates `surfaceSqm`, `lotEurPerSqm`, `omiMinEurPerSqm`, `omiMaxEurPerSqm`, `omiMidEurPerSqm`, and `omiDiscountPct` (discount vs. OMI market midpoint).
3. **Selective Appraisal PDF Extraction (`parseAppraisalPdf`, `<= 15 MB` Cap)**:
   - Supports a two-stage triage workflow: screen tens of lots quickly in under 30 seconds (`parseAppraisalPdf: false`), then run `parseAppraisalPdf: true` on shortlisted lots (`operation: "lot_by_id"` or `search`).
   - Extracts selectable native text only (pure-JS PDF parser, strict `<= 15 MB` download cap via `HEAD` + byte stream limit): `occupancyDetail`, `buildingAbusesOrLiens`, `expertValuationEur`, `surfaceSqmFromPdf`, and `machinerySpecs` (`brand`, `model`, `year`).
   - **Zero charge on unusable PDFs**: scanned-image PDFs without selectable text, oversized `> 15 MB` documents, or failed downloads return diagnostic status (`SCANNED_IMAGE_NO_TEXT`, `EXCEEDS_15MB_CAP`, `DOWNLOAD_OR_PARSE_ERROR`) and are **never billed** the `appraisal-pdf-parsed` event.
4. **Zero-Waste Scheduled Monitoring (`onlyNew` / `onlyEmitChanges` + `stateStoreName`)**:
   - Persists seen lot hashes and base prices in an Apify named Key-Value Store (`stateStoreName`).
   - Tracks judicial price reductions (`diff.hasChanges`, `diff.previousBasePriceEur`, `diff.priceDeltaPct`). Scheduled runs that detect zero new or changed lots emit zero dataset records and pay **only the `$0.00005` run start fee**.

***

### Pay-Per-Event (PPE) Pricing

| Event | Trigger Condition | Bronze | Silver (`-10%`) | Gold+ (`-20%`) |
|---|---|---|---|---|
| `apify-actor-start` | Charged once per Actor run | `$0.00005` | `$0.00005` | `$0.00005` |
| `judicial-lot-enriched` | Per validated & emitted lot (`OK`, normalized + OMI matched) | `$0.003` (`$3.00 / 1k`) | `$0.0027` (`$2.70 / 1k`) | `$0.0024` (`$2.40 / 1k`) |
| `appraisal-pdf-parsed` | Optional (`parseAppraisalPdf: true`), charged **only** when `appraisalExtract.parsed === true` | `+$0.004` (`$4.00 / 1k`) | `+$0.0036` (`$3.60 / 1k`) | `+$0.0032` (`$3.20 / 1k`) |

> **Zero billing on non-actionable outputs:** `INVALID_INPUT`, `NO_MATCH`, `UPSTREAM_ERROR`, deduplicated overlaps, skipped `onlyNew`/`onlyEmitChanges` records, and scanned/oversized PDFs are never charged lot or PDF events. Always bound spend with Apify's native `maxTotalChargeUsd` and `maxItems`.

***

### Input Examples

#### 1. Real Estate Triage + OMI Market Spread (Fast MCP Default)

```json
{
    "operation": "search",
    "sources": ["PVP", "FALLCO"],
    "assetTypes": ["REAL_ESTATE"],
    "region": "Lombardia",
    "maxPriceEur": 350000,
    "minOmiDiscountPct": 20,
    "sortBy": "OMI_DISCOUNT_DESC",
    "enrichDetails": true,
    "enrichOmiSpread": true,
    "parseAppraisalPdf": false,
    "maxItems": 25
}
```

#### 2. Industrial Machinery & Commercial Fleets

```json
{
    "operation": "search",
    "sources": ["PVP", "FALLCO"],
    "assetTypes": ["INDUSTRIAL_MACHINERY", "VEHICLES_FLEET"],
    "keyword": "CNC",
    "enrichDetails": true,
    "parseAppraisalPdf": true,
    "maxPdfParses": 5,
    "maxItems": 20
}
```

#### 3. Single Lot Deep-Dive + Appraisal PDF (`lot_by_id`)

```json
{
    "operation": "lot_by_id",
    "lotId": "PVP-2750188",
    "enrichDetails": true,
    "enrichOmiSpread": true,
    "parseAppraisalPdf": true
}
```

#### 4. Nightly Delta Deal-Flow Monitoring

```json
{
    "operation": "search",
    "sources": ["PVP", "FALLCO"],
    "assetTypes": ["REAL_ESTATE", "INDUSTRIAL_MACHINERY"],
    "province": "MI",
    "onlyNew": false,
    "onlyEmitChanges": true,
    "stateStoreName": "milan-distressed-radar",
    "webhookUrl": "https://hooks.example.com/italy-auctions",
    "maxItems": 100
}
```

***

### Output Schema (`< 4 KB` per record)

Each record conforms strictly to the dataset schema (`RUN_SUMMARY` is also saved to the default Key-Value Store):

```json
{
    "schemaVersion": "1.0",
    "status": "OK",
    "lotKey": "PVP:2750188",
    "source": "PVP",
    "alsoListedOn": ["PVP", "FALLCO"],
    "lotId": "2750188",
    "pvpInsertionId": "2750188",
    "assetType": "REAL_ESTATE",
    "title": "Appartamento ad uso abitazione - Milano (MI)",
    "descriptionSnippet": "Appartamento al piano terzo con cantina annessa, superficie catastale 88 mq...",
    "pricing": {
        "basePriceEur": 148000,
        "minimumBidEur": 111000,
        "minimumRaiseEur": 3000,
        "appraisedValueEur": 240000,
        "discountVsAppraisalPct": 38.33,
        "depositRule": "10% del prezzo offerto"
    },
    "omiValuation": {
        "matched": true,
        "municipalityCode": "F205",
        "omiZone": "D20",
        "omiZoneDescription": "SEMICENTRO",
        "omiFascia": "D",
        "omiTypology": "Abitazioni civili",
        "surfaceSqm": 88,
        "lotEurPerSqm": 1681.82,
        "omiMinEurPerSqm": 2500,
        "omiMaxEurPerSqm": 3400,
        "omiMidEurPerSqm": 2950,
        "omiDiscountPct": -42.99,
        "matchMethod": "ZONE_TEXT_MATCH",
        "dataSource": "Agenzia Entrate OMI (ondata open-data mirror)"
    },
    "dates": {
        "auctionDateIso": "2026-12-15T10:00:00.000Z",
        "offerDeadlineIso": "2026-12-14T13:00:00.000Z",
        "publishedDateIso": "2026-10-29T00:00:00.000Z"
    },
    "location": {
        "country": "IT",
        "region": "Lombardia",
        "provinceCode": "MI",
        "provinceName": "Milano",
        "municipality": "Milano",
        "postalCode": "20146",
        "address": "Via Example 42",
        "latitude": 45.4612,
        "longitude": 9.1524
    },
    "legal": {
        "court": "Tribunale di Milano",
        "procedureNumber": "412/2024",
        "procedureYear": 2024,
        "saleModality": "Asincrona telematica",
        "sellerOrIvg": "IVG Milano",
        "occupancyStatus": "OCCUPIED",
        "cadastralSummary": "Fg. 412, Part. 89, Sub. 12, Cat. A/3"
    },
    "italianOriginal": {
        "tipoLotto": "IMMOBILI",
        "categoriaLotto": "Residenziale",
        "categoriaBene": ["Appartamento"],
        "disponibilita": "Occupato",
        "rito": "ESECUZIONE IMMOBILIARE",
        "numeroLotto": "1"
    },
    "urls": {
        "lotUrl": "https://pvp.giustizia.it/pvp/it/detail_annuncio.page?idAnnuncio=2750188",
        "pvpOfficialUrl": "https://pvp.giustizia.it/pvp/it/detail_annuncio.page?idAnnuncio=2750188",
        "appraisalPdfUrl": "https://resource-pvp.giustizia.it/...",
        "saleNoticePdfUrl": "https://resource-pvp.giustizia.it/..."
    },
    "appraisalExtract": {
        "attempted": true,
        "parsed": true,
        "parseStatus": "PARSED_OK",
        "pdfBytes": 2418304,
        "pageCount": 24,
        "occupancyDetail": "Occupato con contratto registrato anteriore al pignoramento...",
        "buildingAbusesOrLiens": "Difformità interne sanabili (CILA in sanatoria stimata EUR 3.500)...",
        "expertValuationEur": 240000,
        "surfaceSqmFromPdf": 88,
        "machinerySpecs": null,
        "textExcerpt": "..."
    },
    "diff": {
        "isNew": true,
        "hasChanges": true,
        "previousBasePriceEur": null,
        "priceDeltaPct": null,
        "changedFields": []
    },
    "diagnostics": {
        "errorCode": null,
        "message": null,
        "pvpPrefixUsed": "/ric-496b258c-986a1b71/ric-ms",
        "pvpPrefixSelfHealed": false
    },
    "scrapedAt": "2026-11-14T18:00:00.000Z"
}
```

***

### MCP & Automation Integrations (`n8n` / Apify MCP)

Connect directly to Apify's hosted MCP server (`https://mcp.apify.com`) so AI investment analysts and deal-sourcing agents can query Italian court auctions on demand:

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?actors=francescopacifico1905/italy-judicial-auctions"
            ]
        }
    }
}
```

For `n8n` or scheduled monitoring pipelines:

1. Schedule a daily search with `stateStoreName` set and `onlyNew: true` (or `onlyEmitChanges: true`).
2. Route newly published lots with `omiValuation.omiDiscountPct <= -25` into Slack, CRM pipelines, or underwriting models via `webhookUrl` or the dataset items endpoint.
3. Pass shortlisted `lotKey` values back into `operation: "lot_by_id"` with `parseAppraisalPdf: true` to extract appraisal PDF diligence fields on demand.

***

### Related Distressed Asset & Industrial Auction Intelligence

Explore the rest of the multi-region distressed assets and industrial liquidation suite:

| Region | Actor | Coverage & Core Value |
|---|---|---|
| **EU / Italy** | **[Italy PVP & Fallco Judicial Auctions, Machinery & OMI Spread (`francescopacifico1905/italy-judicial-auctions`)](https://apify.com/francescopacifico1905/italy-judicial-auctions)** | Italian Ministry of Justice PVP + Fallco Rete IVG judicial lots (real estate, machinery, fleets, company branches) enriched with Agenzia delle Entrate OMI EUR/sqm spread & selective appraisal PDF extraction |
| **LATAM** | **[LATAM Industrial & Judicial Auction Aggregator (`francescopacifico1905/latam-auction-aggregator`)](https://apify.com/francescopacifico1905/latam-auction-aggregator)** | Brazil Caixa Econômica Federal real estate + Superbid & Sold LATAM industrial machinery, heavy equipment, commercial vehicles & judicial insolvency lots |

# Actor input Schema

## `operation` (type: `string`):

Search filtered Italian auctions across PVP and Fallco or fetch a single lot by its PVP/Fallco ID.

## `sources` (type: `array`):

Upstream judicial sources to query. Cross-portal duplicates between Fallco and PVP are merged automatically.

## `assetTypes` (type: `array`):

Filter by real estate or non-real-estate liquidation categories (machinery, fleets, company branches, inventory).

## `region` (type: `string`):

Canonical region name (e.g. 'Lombardia', 'Veneto', 'Lazio', 'Emilia-Romagna') pushed directly to PVP search.

## `province` (type: `string`):

Two-letter province code (e.g. 'MI', 'RM', 'TO', 'BG') or province name.

## `municipality` (type: `string`):

Italian municipality name (e.g. 'Milano', 'Roma', 'Brescia'). Resolved via bundled 7,904-municipality geo index.

## `latitude` (type: `number`):

WGS84 latitude for radius search on PVP and Fallco (must be paired with longitude).

## `longitude` (type: `number`):

WGS84 longitude for radius search on PVP and Fallco (must be paired with latitude).

## `radiusKm` (type: `number`):

Search radius in km around latitude/longitude (1-200 km).

## `court` (type: `string`):

Tribunale city or full court name (e.g. 'Milano' or 'Tribunale di MILANO').

## `keyword` (type: `string`):

Free-text keyword pushed server-side (e.g. 'CNC', 'furgone', 'capannone', 'bilocale').

## `minPriceEur` (type: `number`):

Minimum auction starting price in EUR (pushed server-side to PVP and Fallco).

## `maxPriceEur` (type: `number`):

Maximum auction starting price in EUR (pushed server-side to PVP and Fallco).

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

Optional inclusive lower bound for the scheduled auction date.

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

Optional inclusive upper bound for the scheduled auction date.

## `minOmiDiscountPct` (type: `number`):

Keep only OMI-matched lots discounted by at least X% below OMI midpoint (e.g. 25 keeps lots with omiDiscountPct <= -25%).

## `lotId` (type: `string`):

PVP insertion ID or Fallco sale code (optionally prefixed as 'PVP:4611283' or 'FALLCO:1734903').

## `onlyActive` (type: `boolean`):

Restrict results to active upcoming auctions.

## `sortBy` (type: `string`):

Result ordering applied server-side when supported and harmonized across merged portals.

## `enrichDetails` (type: `boolean`):

Fetch full PVP/Fallco lot details (surface sqm, cadastral refs, court procedure number, attachment URLs, PVP cross-ID).

## `enrichOmiSpread` (type: `boolean`):

Benchmark real-estate EUR/sqm against Agenzia delle Entrate OMI open-data zone bands without SPID/Fisconline.

## `omiCsvUrl` (type: `string`):

Optional HTTP/HTTPS URL to a newer Agenzia delle Entrate OMI VALORI CSV (ondata format), streamed row-by-row over Buffer slices.

## `parseAppraisalPdf` (type: `boolean`):

Opt-in pure-JS extraction for appraisal/perizia PDFs <= 15 MB. Scanned image PDFs, >15 MB files, and download failures are NEVER charged.

## `maxPdfParses` (type: `integer`):

Upper cap on optional appraisal PDF downloads when parseAppraisalPdf is true.

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

Maximum lots to emit and charge via judicial-lot-enriched in a single run (1-500).

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

Skip previously seen lotKeys stored in stateStoreName before charging judicial-lot-enriched.

## `onlyEmitChanges` (type: `boolean`):

Skip lots whose basePriceEur, minimumBidEur, and auctionDateIso match the previous state snapshot.

## `stateStoreName` (type: `string`):

Named Apify Key-Value Store used for delta deduplication across scheduled CRON runs (defaults to ITALY_AUCTIONS_STATE).

## `webhookUrl` (type: `string`):

Optional Slack, n8n, Make, or Zapier webhook URL receiving a JSON summary of new or changed judicial lots.

## `notifyOnNoChange` (type: `boolean`):

If true, posts webhook summary even on zero-change runs.

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

Optional Apify Proxy settings. Public PVP, Fallco, and OMI open data normally work without proxies.

## Actor input object example

```json
{
  "operation": "search",
  "sources": [
    "PVP",
    "FALLCO"
  ],
  "assetTypes": [
    "REAL_ESTATE"
  ],
  "region": "Lombardia",
  "province": "MI",
  "municipality": "Milano",
  "court": "Milano",
  "keyword": "capannone",
  "onlyActive": true,
  "sortBy": "AUCTION_DATE_ASC",
  "enrichDetails": true,
  "enrichOmiSpread": true,
  "parseAppraisalPdf": false,
  "maxPdfParses": 10,
  "maxItems": 25,
  "onlyNew": false,
  "onlyEmitChanges": false,
  "notifyOnNoChange": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `lots` (type: `string`):

Normalized lots across PVP Ministero della Giustizia and Fallco Aste IVG with OMI spread metrics.

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

Counts of lots fetched, deduplicated, OMI-matched, PDF-parsed, and state deltas.

# 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 = {
    "operation": "search",
    "sources": [
        "PVP",
        "FALLCO"
    ],
    "assetTypes": [
        "REAL_ESTATE"
    ],
    "maxItems": 25,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("francescopacifico1905/italy-judicial-auctions").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 = {
    "operation": "search",
    "sources": [
        "PVP",
        "FALLCO",
    ],
    "assetTypes": ["REAL_ESTATE"],
    "maxItems": 25,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("francescopacifico1905/italy-judicial-auctions").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 '{
  "operation": "search",
  "sources": [
    "PVP",
    "FALLCO"
  ],
  "assetTypes": [
    "REAL_ESTATE"
  ],
  "maxItems": 25,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call francescopacifico1905/italy-judicial-auctions --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,francescopacifico1905/italy-judicial-auctions"
        }
    }
}
```

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/JnlPvnC4krjF4gid8/builds/yEj75HKhjyUvMOTAd/openapi.json
