{
  "openapi": "3.0.1",
  "info": {
    "title": "Immobiliare Property Search Scraper",
    "description": "Powerful scraper for Italy's #1 property portal Immobiliare.it. Extract comprehensive real estate data including prices, property details, and market insights from over 1.2M listings across Italy for investment analysis and market research.",
    "version": "0.0",
    "x-build-id": "u1DsPk5KeG8HOaRWx"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/ecomscrape~immobiliare-property-search-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-ecomscrape-immobiliare-property-search-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/ecomscrape~immobiliare-property-search-scraper/runs": {
      "post": {
        "operationId": "runs-sync-ecomscrape-immobiliare-property-search-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/ecomscrape~immobiliare-property-search-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-ecomscrape-immobiliare-property-search-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": {
          "urls": {
            "title": "URLs of the Property list page urls to scrape",
            "type": "array",
            "description": "Add the URLs of the Property list page urls you want to scrape. You can paste URLs one by one, or use the Bulk edit section to add a prepared list.",
            "items": {
              "type": "string"
            }
          },
          "ignore_url_failures": {
            "title": "Ignore URL failures",
            "type": "boolean",
            "description": "If true, the scraper will continue running even if some URLs fail to be scraped after the maximum number of retries is reached."
          },
          "location": {
            "title": "Location to search, ensure location is valid",
            "type": "string",
            "description": "Enter the Location to search for items, Goto website, choose location and start search, copy location value from url and paste here. (e.g. https://www.immobiliare.it/affitto-villette/bocche-del-rodano-dipartimento/marsiglia/? -> location=bocche-del-rodano-dipartimento/marsiglia/)"
          },
          "property_type": {
            "title": "Filter Items by Property Type",
            "enum": [
              "case",
              "appartamenti",
              "attici",
              "case-indipendenti",
              "loft",
              "rustici",
              "ville",
              "villette"
            ],
            "type": "string",
            "description": "Filter items by Property Type"
          },
          "operation_type": {
            "title": "Filter Items by Operation Type",
            "enum": [
              "vendita",
              "affitto"
            ],
            "type": "string",
            "description": "Filter items by Operation Type"
          },
          "min_price": {
            "title": "Filter Items by Minimum Price",
            "enum": [
              "",
              "200",
              "250",
              "300",
              "350",
              "400",
              "450",
              "500",
              "550",
              "600",
              "650",
              "700",
              "750",
              "800",
              "850",
              "900",
              "950",
              "1000",
              "1100",
              "1200",
              "1300",
              "1400",
              "1500",
              "1600",
              "1700",
              "1800",
              "1900",
              "2000",
              "2500",
              "3000",
              "3500",
              "4000",
              "4500",
              "5000",
              "5500",
              "6000",
              "6500",
              "7000",
              "7500",
              "8000"
            ],
            "type": "string",
            "description": "Filter items by Minimum Price"
          },
          "max_price": {
            "title": "Filter Items by Maximum Price",
            "enum": [
              "",
              "200",
              "250",
              "300",
              "350",
              "400",
              "450",
              "500",
              "550",
              "600",
              "650",
              "700",
              "750",
              "800",
              "850",
              "900",
              "950",
              "1000",
              "1100",
              "1200",
              "1300",
              "1400",
              "1500",
              "1600",
              "1700",
              "1800",
              "1900",
              "2000",
              "2500",
              "3000",
              "3500",
              "4000",
              "4500",
              "5000",
              "5500",
              "6000",
              "6500",
              "7000",
              "7500",
              "8000"
            ],
            "type": "string",
            "description": "Filter items by Maximum Price"
          },
          "min_area": {
            "title": "Filter Items by Minimum Area",
            "enum": [
              "",
              "50",
              "100",
              "150",
              "200",
              "250",
              "300",
              "350",
              "400",
              "450",
              "500",
              "550",
              "600",
              "650",
              "700",
              "750",
              "800",
              "850"
            ],
            "type": "string",
            "description": "Filter items by Minimum Area"
          },
          "max_area": {
            "title": "Filter Items by Maximum Area",
            "enum": [
              "",
              "50",
              "100",
              "150",
              "200",
              "250",
              "300",
              "350",
              "400",
              "450",
              "500",
              "550",
              "600",
              "650",
              "700",
              "750",
              "800",
              "850"
            ],
            "type": "string",
            "description": "Filter items by Maximum Area"
          },
          "min_bedrooms": {
            "title": "Filter Items by Minimum number of Bedrooms",
            "enum": [
              "",
              "1",
              "2",
              "3",
              "4",
              "5"
            ],
            "type": "string",
            "description": "Filter items by Minimum number of Bedrooms"
          },
          "max_bedrooms": {
            "title": "Filter Items by Maximum number of Bedrooms",
            "enum": [
              "",
              "1",
              "2",
              "3",
              "4",
              "5"
            ],
            "type": "string",
            "description": "Filter items by Maximum number of Bedrooms"
          },
          "number_of_bathrooms": {
            "title": "Filter Items by number of Bathrooms",
            "enum": [
              "1",
              "2",
              "3",
              "4"
            ],
            "type": "string",
            "description": "Filter items by number of Bathrooms"
          },
          "sort_by": {
            "title": "Sort Items by",
            "enum": [
              "",
              "prezzo-asc",
              "prezzo-desc",
              "superficie-desc",
              "superficie-asc",
              "data-desc",
              "data-asc",
              "locali-desc",
              "locali-asc"
            ],
            "type": "string",
            "description": "Filter items by (e.g., date_desc, price_asc)"
          },
          "page": {
            "title": "Page start",
            "type": "integer",
            "description": "Specify the page number to start scraping from"
          },
          "max_items_per_url": {
            "title": "Limit the number of items per URL or search filters",
            "type": "integer",
            "description": "Limit the number of items per URL or search filters you want to scrape"
          },
          "max_retries_per_url": {
            "title": "Limit the number of retries",
            "type": "integer",
            "description": "Limit the number of retries for each URL or search filters if the scrape is detected as a bot or the page fails to load"
          },
          "proxy": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Select proxies to be used by your scraper."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}