{
  "openapi": "3.0.1",
  "info": {
    "title": "Ciencuadras Scraper — Colombia Real Estate Listings",
    "description": "Scrape property listings from Ciencuadras.com (Colombia): price in COP, admin fee, area, bedrooms, estrato, barrio, GPS, agency or builder and photos. Filter by city, locality, price, area, estrato and new/used. From US$2.00 per 1,000 listings.",
    "version": "0.1",
    "x-build-id": "Q9Pz8Blh4aUpdE2IA"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/fabrikit~ciencuadras-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-fabrikit-ciencuadras-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/fabrikit~ciencuadras-scraper/runs": {
      "post": {
        "operationId": "runs-sync-fabrikit-ciencuadras-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/fabrikit~ciencuadras-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-fabrikit-ciencuadras-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": {
          "operation": {
            "title": "Operation",
            "enum": [
              "venta",
              "arriendo"
            ],
            "type": "string",
            "description": "Properties for sale (`venta`) or for rent (`arriendo`).",
            "default": "venta"
          },
          "propertyTypes": {
            "title": "Property types",
            "type": "array",
            "description": "One or more property types. Leave empty for every type.",
            "items": {
              "type": "string",
              "enum": [
                "apartamento",
                "casa",
                "apartaestudio",
                "oficina",
                "local",
                "consultorio",
                "lote",
                "edificio",
                "bodega",
                "finca",
                "parqueadero",
                "deposito",
                "suite",
                "casa-campestre"
              ],
              "enumTitles": [
                "Apartment (apartamento)",
                "House (casa)",
                "Studio (apartaestudio)",
                "Office (oficina)",
                "Retail unit (local)",
                "Medical office (consultorio)",
                "Land / lot (lote)",
                "Whole building (edificio)",
                "Warehouse (bodega)",
                "Farm (finca)",
                "Parking space (parqueadero)",
                "Storage unit (depósito)",
                "Suite",
                "Country house (casa campestre)"
              ]
            },
            "default": [
              "apartamento"
            ]
          },
          "city": {
            "title": "City",
            "type": "string",
            "description": "City as it appears in Ciencuadras URLs or by name: `bogota`, `medellin`, `cali`, `barranquilla`, `cartagena`, `bucaramanga`, `santa-marta`, `chia`, `pereira`... Leave empty to search all of Colombia. The run stops with a clear message if the site doesn't recognise the city.",
            "default": "bogota"
          },
          "locality": {
            "title": "Locality / zone",
            "type": "string",
            "description": "Optional locality (localidad) or zone inside the city, e.g. `chapinero`, `usaquen`, `suba`, `teusaquillo` (Bogotá) or `el-poblado`, `laureles` (Medellín).",
            "default": ""
          },
          "neighborhood": {
            "title": "Neighbourhood (barrio)",
            "type": "string",
            "description": "Optional neighbourhood, e.g. `chico-norte`, `cedritos`, `santa-barbara`, `rosales`. Works with or without a locality.",
            "default": ""
          },
          "minPrice": {
            "title": "Min price (COP)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum sale price, or minimum monthly rent when Operation is `arriendo`, in Colombian pesos."
          },
          "maxPrice": {
            "title": "Max price (COP)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum sale price, or maximum monthly rent when Operation is `arriendo`, in Colombian pesos (e.g. `500000000` for 500 million)."
          },
          "minArea": {
            "title": "Min area (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum area in square metres."
          },
          "maxArea": {
            "title": "Max area (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum area in square metres."
          },
          "bedrooms": {
            "title": "Bedrooms",
            "type": "array",
            "description": "Exact bedroom counts to include (pick several, e.g. 2 and 3). `6` means 6 or more. Leave empty for any.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4",
                "5",
                "6"
              ],
              "enumTitles": [
                "1",
                "2",
                "3",
                "4",
                "5",
                "6+"
              ]
            },
            "default": []
          },
          "bathrooms": {
            "title": "Bathrooms",
            "type": "array",
            "description": "Exact bathroom counts to include. Leave empty for any.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4",
                "5"
              ],
              "enumTitles": [
                "1",
                "2",
                "3",
                "4",
                "5"
              ]
            },
            "default": []
          },
          "parking": {
            "title": "Parking spaces",
            "type": "array",
            "description": "Exact parking-space counts to include. Leave empty for any.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4"
              ],
              "enumTitles": [
                "1",
                "2",
                "3",
                "4"
              ]
            },
            "default": []
          },
          "stratum": {
            "title": "Estrato (socio-economic stratum)",
            "type": "array",
            "description": "Colombian estrato 1–6 (1 = lowest, 6 = highest). Pick one or several. Leave empty for any.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4",
                "5",
                "6"
              ],
              "enumTitles": [
                "Estrato 1",
                "Estrato 2",
                "Estrato 3",
                "Estrato 4",
                "Estrato 5",
                "Estrato 6"
              ]
            },
            "default": []
          },
          "condition": {
            "title": "New or used",
            "enum": [
              "used",
              "new",
              "any"
            ],
            "type": "string",
            "description": "`used` = individual listings (resale and rentals; the site's default search). `new` = new-build projects (proyectos de vivienda nueva, sale only). `any` = both, one after the other.",
            "default": "used"
          },
          "startUrls": {
            "title": "Search URLs (optional)",
            "type": "array",
            "description": "Paste Ciencuadras search pages instead of using the filters above, e.g. `https://www.ciencuadras.com/arriendo/medellin/apartamento/el-poblado` or `https://www.ciencuadras.com/venta/bogota/apartamento/3hab/de-estrato-4`. When set, the filters above are ignored (Sort, Max listings and Details still apply).",
            "default": [],
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "sort": {
            "title": "Sort order",
            "enum": [
              "relevance",
              "newest",
              "oldest",
              "price_asc",
              "price_desc",
              "area_asc",
              "area_desc"
            ],
            "type": "string",
            "description": "`relevance` is the site default. Use `newest` for monitoring new listings.",
            "default": "relevance"
          },
          "maxItems": {
            "title": "Max listings",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Stop after this many listings in total. Ciencuadras serves at most 10,000 results per search — split bigger searches by locality, price or estrato.",
            "default": 50
          },
          "fetchDetails": {
            "title": "Fetch listing details (paid add-on)",
            "type": "boolean",
            "description": "Open each listing (1 extra request) to add the full description, every photo, floor, interior features, common areas, builder/agency profile link and delivery date for new projects. Charged as an extra `property-details` event per listing.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Not needed by default. If Ciencuadras blocks the request, the Actor switches to Apify's Colombian RESIDENTIAL proxy automatically.",
            "default": {
              "useApifyProxy": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}