{
  "openapi": "3.0.1",
  "info": {
    "title": "Estrenarvivienda.com Scraper - Inmuebles en Venta Colombia",
    "description": "Scrape new-build homes, projects and builders from Estrenarvivienda.com (Colombia): prices, delivery dates, VIS. Export CSV, Excel, JSON or XML.",
    "version": "0.1",
    "x-build-id": "qxxOl0DDsqEjbym5N"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/recordsdata~estrenarvivienda-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-recordsdata-estrenarvivienda-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/recordsdata~estrenarvivienda-scraper/runs": {
      "post": {
        "operationId": "runs-sync-recordsdata-estrenarvivienda-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/recordsdata~estrenarvivienda-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-recordsdata-estrenarvivienda-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": {
          "entity": {
            "title": "What do you want to collect?",
            "enum": [
              "listings",
              "projects",
              "builders"
            ],
            "type": "string",
            "description": "Units (one row per apartment or house type), projects (one row per development with price and size ranges) or builders (one row per builder with its portfolio). Example: projects.",
            "default": "listings"
          },
          "maxItems": {
            "title": "Maximum results",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Stops after this many rows, e.g. 50. The free plan gives 10 per run."
          },
          "sortBy": {
            "title": "Sort results by",
            "enum": [
              "newest",
              "oldest",
              "priceAsc",
              "priceDesc",
              "areaAsc",
              "areaDesc",
              "nameAsc"
            ],
            "type": "string",
            "description": "Newest first is the portal order and the fastest. Other orders read the whole matching catalog first.",
            "default": "newest"
          },
          "startUrls": {
            "title": "Portal pages to read",
            "type": "array",
            "description": "A unit, project, builder, category or city page, e.g. https://www.estrenarvivienda.com/apartamentos/bogota.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "listingIds": {
            "title": "Unit numbers",
            "type": "array",
            "description": "The number at the end of a unit link, e.g. 51586. One per line.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "departments": {
            "title": "Departments",
            "type": "array",
            "description": "Colombian departments, e.g. Antioquia.",
            "items": {
              "type": "string",
              "enum": [
                "Antioquia",
                "Atlántico",
                "Bolívar",
                "Boyacá",
                "Caldas",
                "Cauca",
                "Cesar",
                "Cundinamarca",
                "Córdoba",
                "Huila",
                "Magdalena",
                "Meta",
                "Quindio",
                "Risaralda",
                "Santander",
                "Tolima",
                "Valle del Cauca"
              ]
            },
            "default": []
          },
          "cities": {
            "title": "Cities",
            "type": "array",
            "description": "Cities and municipalities, e.g. Medellin.",
            "items": {
              "type": "string",
              "enum": [
                "Armenia",
                "Barrancabermeja",
                "Barranquilla",
                "Bello",
                "Bogotá",
                "Bucaramanga",
                "Cajicá",
                "Calarcá",
                "Caldas",
                "Cali",
                "Candelaria",
                "Cartagena",
                "Chinchiná",
                "Chía",
                "Circasia",
                "Combia",
                "Cota",
                "Dosquebradas",
                "El Cerrito",
                "Envigado",
                "Filandia",
                "Floridablanca",
                "Funza",
                "Fusagasugá",
                "Girardot",
                "Girón",
                "Ibagué",
                "Itagüí",
                "Jamundí",
                "La Calera",
                "La Mesa",
                "La Tebaida",
                "La Unión",
                "Madrid",
                "Manizales",
                "Medellín",
                "Melgar",
                "Montenegro",
                "Montería",
                "Mosquera",
                "Neiva",
                "Nemocón",
                "Paipa",
                "Palmira",
                "Pereira",
                "Piedecuesta",
                "Pitalito",
                "Popayán",
                "Puerto Colombia",
                "Quimbaya",
                "Ricaurte",
                "Rionegro",
                "Sabaneta",
                "Santa Marta",
                "Santa Rosa de Cabal",
                "Soacha",
                "Soledad",
                "Tocaima",
                "Tocancipá",
                "Tunja",
                "Valledupar",
                "Villamaría",
                "Villavicencio",
                "Villeta",
                "Yumbo",
                "Zipaquirá"
              ]
            },
            "default": []
          },
          "zones": {
            "title": "City zones",
            "type": "array",
            "description": "By name, e.g. Chapinero or Norte. Matched inside the cities above when set.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "neighborhoods": {
            "title": "Neighborhoods",
            "type": "array",
            "description": "By name, e.g. Chico or Cedritos.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "propertyTypes": {
            "title": "Property types",
            "type": "array",
            "description": "Apartment, house, studio or lot. Empty means all.",
            "items": {
              "type": "string",
              "enum": [
                "apartment",
                "house",
                "studio",
                "lot"
              ],
              "enumTitles": [
                "Apartment",
                "House",
                "Studio apartment",
                "Lot"
              ]
            },
            "default": []
          },
          "housingSegment": {
            "title": "Social housing (VIS / VIP)",
            "enum": [
              "any",
              "vis",
              "novis"
            ],
            "type": "string",
            "description": "VIS and VIP are the subsidised segments. Choose Any to see everything.",
            "default": "any"
          },
          "collection": {
            "title": "Portal collection",
            "enum": [
              "any",
              "immediateDelivery",
              "outlet",
              "shortTermRental",
              "vacation",
              "petFriendly",
              "countryside",
              "launches",
              "coworking",
              "miCasaYa",
              "premium",
              "sustainable",
              "subsidyCaja",
              "subsidyHabitat"
            ],
            "type": "string",
            "description": "Only units from one portal collection, e.g. Immediate delivery or Outlet.",
            "default": "any"
          },
          "builders": {
            "title": "Builder name contains",
            "type": "array",
            "description": "Keep units from builders whose name has this text, e.g. Amarilo or Bolivar.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "amenities": {
            "title": "Project amenities",
            "type": "array",
            "description": "Projects with any of these, e.g. Gimnasio (gym) or Piscina (pool).",
            "items": {
              "type": "string",
              "enum": [
                "Portería / Recepción / Lobby",
                "Gimnasio",
                "Salón Comunal",
                "Piscina Familiar",
                "BBQ",
                "Centro de Negocios - Coworking",
                "Piscina para Niños",
                "Parque Infantil",
                "Terraza",
                "Salón de Juegos",
                "Cancha Múltiple",
                "Bicicleteros",
                "Sauna",
                "Sendero de trote",
                "Turco",
                "Gimnasio semidotado",
                "Jacuzzi",
                "Teatrino",
                "Lavandería",
                "Áreas de fogatas",
                "Salas de Videojuegos",
                "Cancha de Tenis",
                "Cocina Social",
                "Solarium",
                "Cancha de Squash",
                "Centros de SPA",
                "Guardería",
                "Puntos de Reciclaje",
                "Plazoleta de Comidas",
                "Huertos Comunitarios",
                "Cuarto de Escoltas",
                "Salón de Música"
              ]
            },
            "default": []
          },
          "minPrice": {
            "title": "Min price (COP)",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest unit price in Colombian pesos, e.g. 200000000."
          },
          "maxPrice": {
            "title": "Max price (COP)",
            "minimum": 0,
            "type": "integer",
            "description": "Highest unit price in Colombian pesos, e.g. 600000000."
          },
          "minArea": {
            "title": "Min area (m2)",
            "minimum": 0,
            "type": "integer",
            "description": "Smallest built area in square meters, e.g. 50."
          },
          "maxArea": {
            "title": "Max area (m2)",
            "minimum": 0,
            "type": "integer",
            "description": "Largest built area in square meters, e.g. 120."
          },
          "bedrooms": {
            "title": "Bedrooms",
            "type": "array",
            "description": "Number of bedrooms to include; any of the chosen ones, e.g. 2 and 3.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4",
                "5",
                "6"
              ]
            },
            "default": []
          },
          "bathrooms": {
            "title": "Bathrooms",
            "type": "array",
            "description": "Number of bathrooms to include; any of the chosen ones.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4",
                "5",
                "6"
              ]
            },
            "default": []
          },
          "parking": {
            "title": "Parking spaces",
            "type": "array",
            "description": "Parking spaces per unit; any of the chosen ones. Communal means shared parking.",
            "items": {
              "type": "string",
              "enum": [
                "0",
                "1",
                "2",
                "3",
                "4",
                "5",
                "communal"
              ],
              "enumTitles": [
                "None",
                "1",
                "2",
                "3",
                "4",
                "5",
                "Communal"
              ]
            },
            "default": []
          },
          "stratum": {
            "title": "Socioeconomic stratum (1 to 6)",
            "type": "array",
            "description": "Colombian stratum, Rural or Por definir (to be defined), e.g. 4.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4",
                "5",
                "6",
                "Rural",
                "Por definir"
              ]
            },
            "default": []
          },
          "deliveryYears": {
            "title": "Delivery year",
            "type": "array",
            "description": "Planned delivery years to include, e.g. 2027.",
            "items": {
              "type": "string",
              "enum": [
                "2026",
                "2027",
                "2028",
                "2029",
                "2030",
                "2031",
                "2032"
              ]
            },
            "default": []
          },
          "includeDetails": {
            "title": "Open each unit page (extra cost)",
            "type": "boolean",
            "description": "Adds publication date, address, private area, garage, view, finishes, tower data, video and floor plans. One extra request per unit. Units only.",
            "default": false
          },
          "includeCollections": {
            "title": "Add portal collections",
            "type": "boolean",
            "description": "Adds the collections each unit or project belongs to (outlet, launches, premium). About a dozen requests per run.",
            "default": false
          },
          "includeContactDetails": {
            "title": "Add builder sales phone",
            "type": "boolean",
            "description": "Adds the builder sales phone and WhatsApp published on the portal. Business contacts only.",
            "default": false
          },
          "onlyNew": {
            "title": "Only new or changed",
            "type": "boolean",
            "description": "Skips rows already delivered by earlier runs with the same filters, unless the price changed. Rows are marked new or changed.",
            "default": false
          },
          "stateKey": {
            "title": "Monitor name (optional)",
            "type": "string",
            "description": "A label, e.g. bogota-vis, to keep watches with the same filters apart.",
            "default": ""
          },
          "resetSeen": {
            "title": "Start the monitor over",
            "type": "boolean",
            "description": "Forgets everything delivered so far so all rows count as new.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}