{
  "openapi": "3.0.1",
  "info": {
    "title": "Immobiliare.it Scraper & Monitor - New Listings, Price Drops",
    "description": "For agents and investors: new Immobiliare.it listings in Italy with EUR price, shown price cuts, m², rooms, floor, zone, map position, photos and agency or private seller. Schedule it in monitor mode for only new listings, price changes with the old price, and removed listings. Export to CSV/Excel.",
    "version": "0.1",
    "x-build-id": "xgeaoNzFfhngw3oUS"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/neverempty~immobiliare-listings-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-neverempty-immobiliare-listings-monitor",
        "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/neverempty~immobiliare-listings-monitor/runs": {
      "post": {
        "operationId": "runs-sync-neverempty-immobiliare-listings-monitor",
        "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/neverempty~immobiliare-listings-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-neverempty-immobiliare-listings-monitor",
        "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": {
          "businessType": {
            "title": "Sale or rent",
            "enum": [
              "sale",
              "rent"
            ],
            "type": "string",
            "description": "Schedule it hourly or daily with monitor mode on and get only new listings and price drops (plus removed listings). Choose homes for sale (case in vendita) or for rent (case in affitto). Empty = for sale."
          },
          "locations": {
            "title": "Locations",
            "type": "array",
            "description": "Italian municipalities (comuni) or provinces, for example Milano, Roma, Torino, \"Bologna, BO\", \"provincia di Napoli\" or a province code such as FI. Each one is its own search. Every row has its zone; to watch one part of a city, use the area fields below. All search fields empty = Milano.",
            "items": {
              "type": "string"
            }
          },
          "propertyTypes": {
            "title": "Property types",
            "type": "array",
            "description": "Optional. Only these property types; each one is watched as its own search. Empty = all homes.",
            "items": {
              "type": "string",
              "enum": [
                "apartment",
                "penthouse",
                "detached-house",
                "villa",
                "terraced-house",
                "farmhouse",
                "loft",
                "building",
                "garage"
              ],
              "enumTitles": [
                "Apartment (appartamento)",
                "Penthouse (attico / mansarda)",
                "Detached house (casa indipendente)",
                "Villa",
                "Terraced house (villetta a schiera)",
                "Farmhouse (rustico / casale)",
                "Loft / open space",
                "Whole building (palazzo / stabile)",
                "Garage / parking space (box / posto auto)"
              ]
            }
          },
          "minPrice": {
            "title": "Minimum price (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Lowest price in euros: the sale price for sale, the monthly rent for rent (prezzo minimo)."
          },
          "maxPrice": {
            "title": "Maximum price (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Highest price in euros: the sale price for sale, the monthly rent for rent (prezzo massimo)."
          },
          "minRooms": {
            "title": "Minimum rooms (locali)",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Optional. Fewest rooms, counted the Italian way (locali: bedrooms plus living rooms, not kitchen or bathrooms)."
          },
          "maxRooms": {
            "title": "Maximum rooms (locali)",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Optional. Most rooms (locali)."
          },
          "minSurface": {
            "title": "Minimum surface (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Smallest floor area in square metres (superficie minima)."
          },
          "maxSurface": {
            "title": "Maximum surface (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Largest floor area in square metres (superficie massima)."
          },
          "keywords": {
            "title": "Keywords",
            "type": "string",
            "description": "Optional. One or a few words the listing must mention, for example giardino, terrazzo or \"box auto\"."
          },
          "searchUrls": {
            "title": "Immobiliare.it search URLs",
            "type": "array",
            "description": "Optional. Paste the address of an Immobiliare.it search page for a city or province, for example https://www.immobiliare.it/affitto-case/roma/?prezzoMassimo=1500. Price, rooms and surface filters in the address are kept. Each one is watched as its own search, always newest first.",
            "items": {
              "type": "string"
            }
          },
          "latitude": {
            "title": "Area: latitude",
            "type": "string",
            "description": "Optional. Watch a circle instead of a whole city: the latitude of its centre, for example 45.4642 for central Milano. Use with longitude and radius."
          },
          "longitude": {
            "title": "Area: longitude",
            "type": "string",
            "description": "Optional. The longitude of the centre, for example 9.19."
          },
          "radiusKm": {
            "title": "Area: radius (km)",
            "type": "string",
            "description": "Optional. The radius in kilometres, from 0.1 to 50. Empty = 1 km."
          },
          "maxResultsPerSearch": {
            "title": "Max listings per search",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "How many of the newest listings to read per search (1 to 5000). Empty = 100. In monitor mode this is the window checked for new listings and price changes on each run."
          },
          "monitorMode": {
            "title": "Monitor mode: only new listings and price changes",
            "type": "boolean",
            "description": "Schedule it hourly or daily and get only listings that are new since the last run, listings whose price changed (with the previous price) and listings taken down. The first run returns and charges up to the newest maxResultsPerSearch listings per search (default 100) as the starting point."
          },
          "includeChanged": {
            "title": "Return price changes",
            "type": "boolean",
            "description": "In monitor mode, return listings you already received whose price went down or up, with the previous price. Empty = yes."
          },
          "includeRemoved": {
            "title": "Return removed listings",
            "type": "boolean",
            "description": "In monitor mode, return listings you already received that are no longer listed on two checks in a row (sold, rented or taken down). Empty = yes."
          },
          "includeUnchanged": {
            "title": "Also return unchanged listings",
            "type": "boolean",
            "description": "In monitor mode, also return listings already received that did not change (each one is charged). Empty = no."
          },
          "watchName": {
            "title": "Watch name",
            "type": "string",
            "description": "Optional. Give each schedule its own name (letters, digits, dot, dash, underscore) so separate schedules keep separate memories. Empty = default."
          },
          "resetMonitoringState": {
            "title": "Start this watch again",
            "type": "boolean",
            "description": "Forget what this watch remembered, so this run is a first check again."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}