{
  "openapi": "3.0.1",
  "info": {
    "title": "Immobiliare.it Listings Scraper",
    "description": "Immobiliare.it Listings Scraper SD - Immobiliare.it Listings Scraper is a real estate data tool that extracts Italian sale, rent and auction listings from Immobiliare.it: price, m2, rooms, bathrooms, floor, features, address, GPS, photos, virtual tour and agency, with the site's own filters.",
    "version": "1.0",
    "x-build-id": "FkNXbb3vMQVZFGQ8N"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/neuro-scraper~immobiliare-it-listings-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-neuro-scraper-immobiliare-it-listings-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/neuro-scraper~immobiliare-it-listings-scraper/runs": {
      "post": {
        "operationId": "runs-sync-neuro-scraper-immobiliare-it-listings-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/neuro-scraper~immobiliare-it-listings-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-neuro-scraper-immobiliare-it-listings-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": {
          "startUrls": {
            "title": "Search URLs",
            "type": "array",
            "description": "Immobiliare.it search pages copied from the browser, with any filters and sort you set there, in any site language, e.g. https://www.immobiliare.it/vendita-case/bologna/?prezzoMassimo=300000 or https://www.immobiliare.it/en/affitto-case/milano/centro/. The filters below are added when the link does not set them. Single listing pages (/annunci/<id>/) are not supported: Immobiliare.it shows a captcha there to every logged-out client.",
            "items": {
              "type": "string"
            }
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "Region, province, comune or city zone as you would type it on Immobiliare.it (Milano, Lombardia, Provincia di Bologna, Bologna Centro, Roma) - resolved with Immobiliare.it's own place search on every run; the match that covers the most words you typed is used and logged."
          },
          "locations": {
            "title": "More locations",
            "type": "array",
            "description": "Further places, one per line, searched with the same contract, category and filters (e.g. Torino, Firenze).",
            "items": {
              "type": "string"
            }
          },
          "operation": {
            "title": "Contract",
            "enum": [
              "sale",
              "rent",
              "auction"
            ],
            "type": "string",
            "description": "Sale, rent or auction listings for Location (search URLs carry their own).",
            "default": "sale"
          },
          "category": {
            "title": "Category",
            "enum": [
              "1",
              "6",
              "4",
              "22",
              "20",
              "23",
              "26",
              "21",
              "25",
              "24"
            ],
            "type": "string",
            "description": "Immobiliare.it's property category (idCategoria) for Location searches.",
            "default": "1"
          },
          "propertyTypes": {
            "title": "Property types",
            "type": "array",
            "description": "Homes category: only these property types (Immobiliare.it's idTipologia filter).",
            "items": {
              "type": "string",
              "enum": [
                "4",
                "5",
                "7",
                "11",
                "12",
                "13",
                "31"
              ],
              "enumTitles": [
                "Apartment (Appartamento)",
                "Penthouse / attic (Attico - Mansarda)",
                "Detached house (Casa indipendente)",
                "Farmhouse (Rustico - Casale)",
                "Villa",
                "Terraced house (Villetta a schiera)",
                "Loft"
              ]
            }
          },
          "minPrice": {
            "title": "Min price (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Immobiliare.it's price filter (sale price, or rent per month), e.g. 100000."
          },
          "maxPrice": {
            "title": "Max price (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Upper price bound, e.g. 300000 or 1500 for rent."
          },
          "minSize": {
            "title": "Min surface (m2)",
            "minimum": 0,
            "type": "integer",
            "description": "e.g. 60."
          },
          "maxSize": {
            "title": "Max surface (m2)",
            "minimum": 0,
            "type": "integer",
            "description": "e.g. 150."
          },
          "minRooms": {
            "title": "Min rooms (locali)",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Immobiliare.it counts rooms as 'locali' (5 = 5 or more), e.g. 2."
          },
          "maxRooms": {
            "title": "Max rooms (locali)",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "e.g. 4."
          },
          "minBedrooms": {
            "title": "Min bedrooms",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "e.g. 2."
          },
          "maxBedrooms": {
            "title": "Max bedrooms",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "e.g. 3."
          },
          "bathrooms": {
            "title": "Bathrooms",
            "enum": [
              "1",
              "2",
              "3",
              "4"
            ],
            "type": "string",
            "description": "Immobiliare.it's bathrooms filter."
          },
          "floor": {
            "title": "Floor",
            "type": "array",
            "description": "Any of these floor bands (fasciaPiano).",
            "items": {
              "type": "string",
              "enum": [
                "10",
                "20",
                "30"
              ],
              "enumTitles": [
                "Ground floor",
                "Intermediate floors",
                "Top floor"
              ]
            }
          },
          "garage": {
            "title": "Garage / parking",
            "type": "array",
            "description": "Any of these (boxAuto).",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "3",
                "4"
              ],
              "enumTitles": [
                "Single garage",
                "Double garage",
                "Parking space"
              ]
            }
          },
          "heating": {
            "title": "Heating / air conditioning",
            "type": "array",
            "description": "Any of these (riscaldamenti).",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "10"
              ],
              "enumTitles": [
                "Autonomous heating",
                "Centralized heating",
                "Air conditioning"
              ]
            }
          },
          "balconyOrTerrace": {
            "title": "Balcony / terrace",
            "type": "array",
            "description": "Only listings with a balcony and/or terrace (balconeOterrazzo).",
            "items": {
              "type": "string",
              "enum": [
                "balcone",
                "terrazzo"
              ],
              "enumTitles": [
                "Balcony",
                "Terrace"
              ]
            }
          },
          "garden": {
            "title": "Garden",
            "type": "array",
            "description": "Any of these garden types (giardino).",
            "items": {
              "type": "string",
              "enum": [
                "10",
                "20"
              ],
              "enumTitles": [
                "Private garden",
                "Shared garden"
              ]
            }
          },
          "condition": {
            "title": "Condition",
            "enum": [
              "1",
              "6",
              "2",
              "5"
            ],
            "type": "string",
            "description": "Immobiliare.it's property condition filter (stato)."
          },
          "ownershipType": {
            "title": "Ownership type",
            "enum": [
              "1",
              "5",
              "9",
              "13",
              "17",
              "21"
            ],
            "type": "string",
            "description": "Sale and auction searches: Immobiliare.it's ownership filter (tipoProprieta)."
          },
          "energyRating": {
            "title": "Energy rating",
            "enum": [
              "2",
              "5",
              "8"
            ],
            "type": "string",
            "description": "Immobiliare.it's energy-class band filter (classeEnergetica)."
          },
          "elevator": {
            "title": "Elevator",
            "type": "boolean",
            "description": "Only listings with a lift (ascensore).",
            "default": false
          },
          "furnished": {
            "title": "Furnished",
            "type": "boolean",
            "description": "Only furnished homes (arredato).",
            "default": false
          },
          "cellar": {
            "title": "Cellar",
            "type": "boolean",
            "description": "Only listings with a cellar (cantina).",
            "default": false
          },
          "pool": {
            "title": "Pool",
            "type": "boolean",
            "description": "Only listings with a pool (piscina).",
            "default": false
          },
          "virtualTour": {
            "title": "Only with virtual tour",
            "type": "boolean",
            "description": "Only listings that have a virtual tour (Immobiliare.it's virtualTour filter).",
            "default": false
          },
          "excludeAuctions": {
            "title": "Exclude auctions",
            "type": "boolean",
            "description": "Sale searches: hide auction listings (noAste).",
            "default": false
          },
          "keyword": {
            "title": "Keyword",
            "type": "string",
            "description": "Immobiliare.it's keyword filter on the listing text, e.g. terrazzo or 'vista mare'."
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "priceLowToHigh",
              "priceHighToLow",
              "biggest",
              "smallest",
              "mostRooms",
              "fewestRooms",
              "newest",
              "oldest",
              "recentlyUpdated"
            ],
            "type": "string",
            "description": "Immobiliare.it's sort orders (criterio / ordine). A sort set in a search URL is kept.",
            "default": "relevance"
          },
          "language": {
            "title": "Language",
            "enum": [
              "auto",
              "it",
              "en",
              "de",
              "es",
              "fr",
              "el",
              "pt",
              "ru"
            ],
            "type": "string",
            "description": "Language of Immobiliare.it's titles and feature labels. Advertisers' descriptions stay as written.",
            "default": "auto"
          },
          "maxItems": {
            "title": "Max listings",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Total listings to return across all searches. The Actor follows Immobiliare.it's result pages (25 per page). Immobiliare.it serves 80 pages (2,000 listings) per search; bigger searches continue in price order (prezzoMinimo windows) so all listings can be reached.",
            "default": 50
          },
          "startPage": {
            "title": "Start page",
            "minimum": 1,
            "maximum": 80,
            "type": "integer",
            "description": "Result page to start from (25 listings per page), e.g. to continue an earlier run. A pag= in a search URL is used when this is 1.",
            "default": 1
          },
          "maxPages": {
            "title": "Max pages per search",
            "minimum": 0,
            "type": "integer",
            "description": "Stop each search after this many result pages (0 = no page limit; Max listings still applies).",
            "default": 0
          },
          "monitoringMode": {
            "title": "Monitoring mode (only new listings)",
            "type": "boolean",
            "description": "Remember the listing IDs delivered for each search (named key-value store immobiliare-monitor) and on later runs return only listings not delivered before. The first run returns everything it finds.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "RESIDENTIAL in Italy is the default and recommended: Immobiliare.it's DataDome protection answered 403 to other routes in our tests.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "IT"
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}