{
  "openapi": "3.0.1",
  "info": {
    "title": "🎯 Real Estate Lead Generator + Market Analysis | Zonaprop",
    "description": "🚀 3-in-1: Leads + Property Data + Market Analysis with this exclusive Real Estate system | 3-en-1: Leads + Datos + Análisis con este sistema inmobiliario exclusivo | ONLY complete tool",
    "version": "9.5",
    "x-build-id": "sp3oy5MspY4wn1dLw"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/expanditumarca~real-estate-lead-generator-market-analysis-zonaprop/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-expanditumarca-real-estate-lead-generator-market-analysis-zonaprop",
        "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/expanditumarca~real-estate-lead-generator-market-analysis-zonaprop/runs": {
      "post": {
        "operationId": "runs-sync-expanditumarca-real-estate-lead-generator-market-analysis-zonaprop",
        "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/expanditumarca~real-estate-lead-generator-market-analysis-zonaprop/run-sync": {
      "post": {
        "operationId": "run-sync-expanditumarca-real-estate-lead-generator-market-analysis-zonaprop",
        "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": {
          "instructionsInfo": {
            "title": "📖 INSTRUCCIONES IMPORTANTES - LEELO ANTES DE USAR",
            "type": "string",
            "description": "⚠️ IMPORTANTE: Completá solo los campos de UN modo a la vez:\n\n1️⃣ Modo EXTRAER URLs: Completá Ubicación, Operación, Tipo de Propiedad y Páginas Máximas\n2️⃣ Modo UBICACIÓN PERSONALIZADA: Completá los campos Personalizados\n3️⃣ Modo PROPIEDAD INDIVIDUAL: Completá Modo y URL de Propiedad\n\n✅ Dejá las otras secciones vacías para evitar conflictos!\n\n📌 EJEMPLO: Si querés extraer URLs de Palermo, usás el Modo 1. Si querés datos de una propiedad específica, usás el Modo 3."
          },
          "operationMode": {
            "title": "🎯 MODO DE OPERACIÓN (Requerido)",
            "enum": [
              "scrape-urls",
              "scrape-urls-custom",
              "property-scrape"
            ],
            "type": "string",
            "description": "⚠️ OBLIGATORIO: Seleccioná qué modo querés ejecutar"
          },
          "ubicacion": {
            "title": "Ubicación Geográfica",
            "enum": [
              "buenos-aires-provincia",
              "catamarca-provincia",
              "chaco-provincia",
              "chubut-provincia",
              "cordoba-provincia",
              "corrientes-provincia",
              "entre-rios-provincia",
              "formosa-provincia",
              "jujuy-provincia",
              "la-pampa-provincia",
              "la-rioja-provincia",
              "mendoza-provincia",
              "misiones-provincia",
              "neuquen-provincia",
              "rio-negro-provincia",
              "salta-provincia",
              "san-juan-provincia",
              "san-luis-provincia",
              "santa-cruz-provincia",
              "santa-fe-provincia",
              "santiago-del-estero-provincia",
              "tierra-del-fuego-provincia",
              "tucuman-provincia",
              "capital-federal",
              "gba-norte",
              "gba-sur",
              "gba-oeste",
              "la-plata-buenos-aires",
              "mar-del-plata-buenos-aires",
              "bahia-blanca-buenos-aires",
              "cordoba-cordoba",
              "villa-carlos-paz-cordoba",
              "rio-cuarto-cordoba",
              "villa-maria-cordoba",
              "rosario-santa-fe",
              "santa-fe-santa-fe",
              "rafaela-santa-fe",
              "mendoza-mendoza",
              "san-rafael-mendoza",
              "tucuman-tucuman",
              "salta-salta",
              "bariloche-rio-negro",
              "neuquen-neuquen",
              "ushuaia",
              "san-fernando-del-valle-de-catamarca",
              "resistencia-chaco",
              "rawson-chubut",
              "corrientes-corrientes",
              "parana-entre-rios",
              "formosa-formosa",
              "san-salvador-de-jujuy",
              "santa-rosa-la-pampa",
              "la-rioja-la-rioja",
              "posadas-misiones",
              "viedma-rio-negro",
              "san-juan-san-juan",
              "san-luis-san-luis",
              "rio-gallegos-santa-cruz",
              "santiago-del-estero-santiago",
              "palermo",
              "recoleta",
              "belgrano",
              "puerto-madero",
              "san-telmo",
              "villa-crespo",
              "caballito",
              "barrio-norte",
              "retiro",
              "microcentro",
              "san-nicolas",
              "monserrat",
              "villa-urquiza",
              "nunez",
              "saavedra",
              "colegiales",
              "chacarita",
              "villa-pueyrredon",
              "flores",
              "almagro",
              "balvanera",
              "boedo",
              "constitucion",
              "san-isidro-gba-norte",
              "vicente-lopez-gba-norte",
              "tigre-gba-norte",
              "san-fernando-gba-norte",
              "escobar-gba-norte",
              "pilar-gba-norte",
              "avellaneda-gba-sur",
              "lanus-gba-sur",
              "quilmes-gba-sur",
              "lomas-de-zamora-gba-sur",
              "berazategui-gba-sur",
              "florencio-varela-gba-sur",
              "moron-gba-oeste",
              "ituzaingo-gba-oeste",
              "merlo-gba-oeste",
              "tres-de-febrero-gba-oeste",
              "hurlingham-gba-oeste",
              "nueva-cordoba-cordoba",
              "pichincha-rosario-santa-fe",
              "godoy-cruz-mendoza"
            ],
            "type": "string",
            "description": "Seleccioná la ubicación geográfica. Si tu ubicación no está en la lista, usá Ubicación Personalizada"
          },
          "operacion": {
            "title": "Tipo de Operación",
            "enum": [
              "alquiler",
              "venta",
              "alquiler-temporal"
            ],
            "type": "string",
            "description": "Seleccioná el tipo de operación inmobiliaria que querés buscar"
          },
          "tipo": {
            "title": "Tipo de Propiedad",
            "enum": [
              "",
              "departamentos",
              "casas",
              "ph",
              "locales",
              "oficinas",
              "consultorios",
              "cocheras",
              "terrenos",
              "campos",
              "quintas"
            ],
            "type": "string",
            "description": "Filtrá por tipo de propiedad (opcional - dejalo vacío para ver todos los tipos)"
          },
          "maxPages": {
            "title": "Páginas Máximas",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Cantidad máxima de páginas a procesar (cada página tiene aprox. 20 propiedades)"
          },
          "ubicacionPersonalizada": {
            "title": "Ubicación Personalizada",
            "pattern": "^[a-z0-9-]*$",
            "type": "string",
            "description": "Solo letras minúsculas, números y guiones. Ejemplo: canning-ezeiza"
          },
          "operacionCustom": {
            "title": "Tipo de Operación",
            "enum": [
              "alquiler",
              "venta",
              "alquiler-temporal"
            ],
            "type": "string",
            "description": "Seleccioná el tipo de operación inmobiliaria que querés buscar"
          },
          "tipoCustom": {
            "title": "Tipo de Propiedad",
            "enum": [
              "",
              "departamentos",
              "casas",
              "ph",
              "locales",
              "oficinas",
              "consultorios",
              "cocheras",
              "terrenos",
              "campos",
              "quintas"
            ],
            "type": "string",
            "description": "Filtrá por tipo de propiedad (opcional - dejalo vacío para ver todos los tipos)"
          },
          "maxPagesCustom": {
            "title": "Páginas Máximas",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Cantidad máxima de páginas a procesar"
          },
          "mode": {
            "title": "Modo de Scraping",
            "enum": [
              "scrape-single",
              "extract-contact"
            ],
            "type": "string",
            "description": "Elegí qué tipo de datos querés extraer de la propiedad"
          },
          "url": {
            "title": "URL de la Propiedad",
            "pattern": "^https?://(www\\.|link\\.)?zonaprop\\.com\\.ar/.*$",
            "type": "string",
            "description": "Pegá acá la URL completa de la propiedad de Zonaprop (acepta URLs directas y de redirección de emails)"
          },
          "enableProxies": {
            "title": "Habilitar Proxies",
            "type": "boolean",
            "description": "Recomendado para extracciones de contacto"
          },
          "proxyType": {
            "title": "🔧 Tipo de Proxy",
            "enum": [
              "DATACENTER",
              "none"
            ],
            "type": "string",
            "description": "Datacenter es económico y efectivo"
          },
          "headless": {
            "title": "👻 Modo Headless",
            "type": "boolean",
            "description": "Navegador invisible (más rápido)"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}