{
  "openapi": "3.0.1",
  "info": {
    "title": "Zonaprop Property Scraper",
    "description": "Scrape Zonaprop Argentina listings for sale and rent with prices in USD and ARS, expensas, m², rooms, coordinates, photos and agency WhatsApp. No result cap, plus a monitor mode for new and re-priced listings.",
    "version": "0.1",
    "x-build-id": "bBTyrqOsLxdNWU51p"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/automation-lab~zonaprop-property-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-automation-lab-zonaprop-property-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/automation-lab~zonaprop-property-scraper/runs": {
      "post": {
        "operationId": "runs-sync-automation-lab-zonaprop-property-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/automation-lab~zonaprop-property-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-automation-lab-zonaprop-property-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": "Zonaprop search-results pages, for example https://www.zonaprop.com.ar/departamentos-venta-palermo.html. Set any filters on zonaprop.com.ar first and paste the resulting URL: the URL's own filters are kept. Page numbers in the URL are ignored; the run starts at page 1 and pages through every result. Single listing pages (/propiedades/...) are refused. You can use this together with Location.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "Search by place name instead of (or as well as) a URL: a barrio, city, partido or province as Zonaprop spells it, e.g. \"Palermo\", \"Capital Federal\", \"GBA Norte\", \"Nordelta\", \"Córdoba\". Accents and capitals do not matter. A name the site does not know fails the run with a clear message instead of searching elsewhere."
          },
          "operation": {
            "title": "Operation",
            "enum": [
              "sale",
              "rent",
              "temporary-rent",
              "new-developments"
            ],
            "type": "string",
            "description": "Used with Location. Sale (venta), rent (alquiler), temporary rent (alquiler temporal) or new developments (emprendimientos; Property type is ignored for developments).",
            "default": "sale"
          },
          "propertyType": {
            "title": "Property type",
            "enum": [
              "any",
              "apartment",
              "house",
              "ph",
              "land",
              "office",
              "retail",
              "parking",
              "warehouse",
              "country-house",
              "farm"
            ],
            "type": "string",
            "description": "Used with Location. Leave as All to include every property type.",
            "default": "any"
          },
          "minPrice": {
            "title": "Minimum price",
            "minimum": 0,
            "type": "integer",
            "description": "Location search only. Lower price bound in Price currency."
          },
          "maxPrice": {
            "title": "Maximum price",
            "minimum": 0,
            "type": "integer",
            "description": "Location search only. Upper price bound in Price currency."
          },
          "priceCurrency": {
            "title": "Price currency",
            "enum": [
              "USD",
              "ARS"
            ],
            "type": "string",
            "description": "Currency of the price bounds. Empty uses the Zonaprop convention: USD for sale and new developments, ARS for rent."
          },
          "minRooms": {
            "title": "Minimum rooms (ambientes)",
            "minimum": 0,
            "type": "integer",
            "description": "Location search only. Argentine 'ambientes' count living rooms too: a 2-ambientes flat has one bedroom."
          },
          "maxRooms": {
            "title": "Maximum rooms (ambientes)",
            "minimum": 0,
            "type": "integer",
            "description": "Location search only. 0 or empty means no upper bound."
          },
          "minBedrooms": {
            "title": "Minimum bedrooms (dormitorios)",
            "minimum": 0,
            "type": "integer",
            "description": "Location search only."
          },
          "maxBedrooms": {
            "title": "Maximum bedrooms (dormitorios)",
            "minimum": 0,
            "type": "integer",
            "description": "Location search only. 0 or empty means no upper bound."
          },
          "minBathrooms": {
            "title": "Minimum bathrooms",
            "minimum": 0,
            "type": "integer",
            "description": "Location search only."
          },
          "minAreaM2": {
            "title": "Minimum area (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Location search only. Measured on the area chosen in Area type."
          },
          "maxAreaM2": {
            "title": "Maximum area (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Location search only."
          },
          "areaType": {
            "title": "Area type",
            "enum": [
              "covered",
              "total"
            ],
            "type": "string",
            "description": "Whether the area bounds apply to covered area (superficie cubierta) or total area (superficie total).",
            "default": "covered"
          },
          "publishedWithinDays": {
            "title": "Published within",
            "enum": [
              "1",
              "7",
              "15",
              "30",
              "45"
            ],
            "type": "string",
            "description": "Location search only. Keep listings Zonaprop marks as published in the last day, week, 15 days, month or 45 days."
          },
          "maxItems": {
            "title": "Maximum listings",
            "minimum": 0,
            "type": "integer",
            "description": "Most listings to return in the whole run, across all searches. 0 means no limit: the run pages through every result Zonaprop lists for each search. Duplicate listings across searches are returned once. In monitor mode it counts only new or re-priced listings.",
            "default": 100
          },
          "onlyNewOrChanged": {
            "title": "Only new or re-priced listings (monitor mode)",
            "type": "boolean",
            "description": "Remember every listing's price between runs and return only listings that are new or whose asking price changed since the last run of the same monitor. The first run returns everything it finds. Each returned row has changeType 'new' or 'price_changed' and, for re-priced listings, previousPrice. Listings that did not change are not returned and not charged.",
            "default": false
          },
          "monitorKey": {
            "title": "Monitor name",
            "type": "string",
            "description": "Optional name for the remembered state in monitor mode, e.g. 'palermo-weekly'. Runs with the same name share it. Empty: a name is derived from the searches and filters, so the same input always continues the same monitor."
          },
          "usdArsRate": {
            "title": "USD to ARS rate",
            "minimum": 0,
            "type": "number",
            "description": "Pesos per US dollar used to fill priceUsd for peso prices and priceArs for dollar prices. Empty uses the official BCRA rate of the day. Set your own (for example the MEP or blue rate) to convert at that rate instead."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}