{
  "openapi": "3.0.1",
  "info": {
    "title": "Zonaprop Scraper 💰 $1/1K – Argentina Homes for Sale & Rent",
    "description": "Scrape Zonaprop.com.ar listings across Argentina: apartments, houses, PH, land, offices and new developments for sale or rent. USD/ARS price, expensas, m², rooms, GPS, photos, agency.",
    "version": "0.0",
    "x-build-id": "QP29OqXo9jC0MK3u1"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/lukass~zonaprop-mp-actor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-lukass-zonaprop-mp-actor",
        "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/lukass~zonaprop-mp-actor/runs": {
      "post": {
        "operationId": "runs-sync-lukass-zonaprop-mp-actor",
        "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/lukass~zonaprop-mp-actor/run-sync": {
      "post": {
        "operationId": "run-sync-lukass-zonaprop-mp-actor",
        "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": {
          "locations": {
            "title": "📍 Locations",
            "type": "array",
            "description": "Places in Argentina, one per line: a neighbourhood (Palermo), a city (Rosario, Mar del Plata), a province (Córdoba) or a Zonaprop location id (V1-C-1003694). Add the parent place to pin an exact one: \"Palermo, Capital Federal\". The run log shows what each name resolved to.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "🔗 Listing URLs",
            "type": "array",
            "description": "Single listings from zonaprop.com.ar (https://www.zonaprop.com.ar/propiedades/clasificado/...-60421306.html). Each one is scraped with its full details. Website search pages are not supported - use Locations and the filters below.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "wholeCountry": {
            "title": "🇦🇷 Whole of Argentina",
            "type": "boolean",
            "description": "Search all of Argentina with the filters below.",
            "default": false
          },
          "operation": {
            "title": "Operation",
            "enum": [
              "sale",
              "rent",
              "temporaryRent",
              "developments"
            ],
            "type": "string",
            "description": "Buy, rent, temporary rent, or new developments (emprendimientos).",
            "default": "sale"
          },
          "propertyTypes": {
            "title": "Property types",
            "type": "array",
            "description": "Leave empty for every type. All chosen types go into one search.",
            "items": {
              "type": "string",
              "enum": [
                "apartment",
                "house",
                "ph",
                "land",
                "office",
                "commercial",
                "warehouse",
                "garage",
                "building",
                "countryHouse",
                "ranch",
                "hotel",
                "storage",
                "businessPremises",
                "medicalOffice"
              ],
              "enumTitles": [
                "Apartment (departamento)",
                "House (casa)",
                "PH",
                "Land (terreno)",
                "Office (oficina)",
                "Shop (local comercial)",
                "Warehouse (bodega / galpón)",
                "Garage (cochera)",
                "Building (edificio)",
                "Country house (quinta)",
                "Ranch (campo / rancho)",
                "Hotel",
                "Storage (depósito)",
                "Going concern (fondo de comercio)",
                "Medical office (consultorio)"
              ]
            }
          },
          "minPrice": {
            "title": "Minimum price",
            "type": "integer",
            "description": "In the currency below. Asking price, or monthly rent."
          },
          "maxPrice": {
            "title": "Maximum price",
            "type": "integer",
            "description": "In the currency below. Asking price, or monthly rent."
          },
          "currency": {
            "title": "Price currency",
            "enum": [
              "USD",
              "ARS"
            ],
            "type": "string",
            "description": "Currency of the price filter. Sales are mostly in US dollars, rents in pesos.",
            "default": "USD"
          },
          "minRooms": {
            "title": "Minimum rooms (ambientes)",
            "type": "integer",
            "description": "Ambientes count the living room: a \"2 ambientes\" has one bedroom."
          },
          "maxRooms": {
            "title": "Maximum rooms (ambientes)",
            "type": "integer",
            "description": "Ambientes count the living room: a \"3 ambientes\" has two bedrooms."
          },
          "minBedrooms": {
            "title": "Minimum bedrooms",
            "type": "integer",
            "description": "Dormitorios."
          },
          "maxBedrooms": {
            "title": "Maximum bedrooms",
            "type": "integer",
            "description": "Dormitorios."
          },
          "minBathrooms": {
            "title": "Minimum bathrooms",
            "type": "integer",
            "description": "Baños (full bathrooms)."
          },
          "minGarages": {
            "title": "Minimum garage spaces (cocheras)",
            "type": "integer",
            "description": "Cocheras."
          },
          "minArea": {
            "title": "Minimum covered area",
            "type": "integer",
            "description": "Superficie cubierta"
          },
          "maxArea": {
            "title": "Maximum covered area",
            "type": "integer",
            "description": "Superficie cubierta"
          },
          "publisherType": {
            "title": "Advertiser",
            "enum": [
              "owner",
              "agency"
            ],
            "type": "string",
            "description": "Only owners (dueño directo) or only agencies (inmobiliaria). Leave empty for both."
          },
          "publishedWithin": {
            "title": "Published within",
            "enum": [
              "today",
              "yesterday",
              "week",
              "twoWeeks",
              "month",
              "sixWeeks"
            ],
            "type": "string",
            "description": "Only listings published recently. Leave empty for any date."
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "newest",
              "relevance",
              "lowestPrice",
              "highestPrice",
              "priceDropped"
            ],
            "type": "string",
            "description": "Order within each search.",
            "default": "newest"
          },
          "fetchDetails": {
            "title": "Fetch listing details",
            "type": "boolean",
            "description": "One extra request per listing for the full description (search results carry the first ~150 characters), agency name and rating, feature groups, licence number (matrícula) and view count.",
            "default": false
          },
          "maxItems": {
            "title": "Maximum listings",
            "type": "integer",
            "description": "Stop after this many listings. Leave empty for everything."
          },
          "proxy": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify Proxy (datacenter) is enough. If Zonaprop refuses those IPs, the run switches to residential proxy in Argentina by itself.",
            "default": {
              "useApifyProxy": true
            }
          },
          "debugLog": {
            "title": "Debug log",
            "type": "boolean",
            "description": "Log every request the Actor makes",
            "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
                  },
                  "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}