{
  "openapi": "3.0.1",
  "info": {
    "title": "Italy AsteAnnunci Judicial Auctions Scraper",
    "description": "Scrape asteannunci.it — Italian property auctions (aste giudiziarie): prezzo base, offerta minima, court, sale date, address, surface and PDF documents, plus next-round price projections (asta deserta) and estimated additional costs. Filter by region, type and price. Export to JSON/CSV/Excel.",
    "version": "0.1",
    "x-build-id": "HqPUfiRYkPce9SDoO"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/signalflow~italy-asteannunci/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-signalflow-italy-asteannunci",
        "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/signalflow~italy-asteannunci/runs": {
      "post": {
        "operationId": "runs-sync-signalflow-italy-asteannunci",
        "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/signalflow~italy-asteannunci/run-sync": {
      "post": {
        "operationId": "run-sync-signalflow-italy-asteannunci",
        "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",
        "required": [
          "regione"
        ],
        "properties": {
          "regione": {
            "title": "Regione",
            "enum": [
              "abruzzo",
              "basilicata",
              "calabria",
              "campania",
              "emilia-romagna",
              "estero",
              "friuli-venezia-giulia",
              "lazio",
              "liguria",
              "lombardia",
              "marche",
              "molise",
              "piemonte",
              "puglia",
              "sardegna",
              "sicilia",
              "toscana",
              "trentino-alto-adige",
              "umbria",
              "valle-d-aosta",
              "veneto"
            ],
            "type": "string",
            "description": "Italian region slug, e.g. 'lombardia', 'lazio', 'toscana'. Use the URL-friendly form (lowercase, hyphens for spaces).",
            "default": "lombardia"
          },
          "provincia": {
            "title": "Provincia (optional)",
            "type": "string",
            "description": "Filter by province name, e.g. 'Milano', 'Brescia'. Leave empty to scrape all provinces in the region.",
            "default": ""
          },
          "categoria": {
            "title": "Categoria (optional)",
            "enum": [
              "",
              "residenziale",
              "commerciale",
              "terreni",
              "box/garage"
            ],
            "type": "string",
            "description": "Property category filter.",
            "default": ""
          },
          "min_prezzo": {
            "title": "Prezzo minimo (€)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum base price filter. 0 = no filter.",
            "default": 0
          },
          "max_prezzo": {
            "title": "Prezzo massimo (€)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum base price filter. 0 = no filter.",
            "default": 0
          },
          "max_items": {
            "title": "Max items",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of auctions to scrape. 0 = unlimited.",
            "default": 100
          },
          "download_pdf": {
            "title": "Scarica PDF",
            "type": "boolean",
            "description": "Save each perizia/ordinanza PDF to permanent storage and return a stable URL, so the document is never lost even if the source link expires. On by default; turn off to only keep the original source links (slightly faster).",
            "default": true
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration",
            "type": "object",
            "description": "Proxy settings. This Actor automatically uses the Apify RESIDENTIAL proxy for the (small) listing pages — the source throttles datacenter IPs — and the cheaper datacenter proxy for the (large) PDF downloads, to keep runs both fast and low-cost. Residential proxy usage is billed by Apify.",
            "default": {
              "useApifyProxy": true
            }
          },
          "include_unpriced": {
            "title": "Include unscheduled auctions",
            "type": "boolean",
            "description": "Include unscheduled listings (no base price). On by default — they are shown with a price of 0. Turn off to keep only listings that have a base price.",
            "default": true
          },
          "concurrency": {
            "title": "Concurrency",
            "minimum": 1,
            "maximum": 15,
            "type": "integer",
            "description": "How many auction pages to fetch in parallel. Lower = gentler on the site (fewer rate-limits); higher = faster. The Actor also paces requests automatically to avoid throttling.",
            "default": 4
          },
          "extract_from_perizia": {
            "title": "Extract price from perizia PDF (premium)",
            "type": "boolean",
            "description": "PREMIUM: for unscheduled listings with no base price, read the perizia (appraisal) PDF and extract the appraised market value. Adds a per-document premium charge for each value successfully extracted. Slower, but turns empty listings into priced ones.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}