{
  "openapi": "3.0.1",
  "info": {
    "title": "Fincaraiz Scraper — Colombia Real Estate Listings",
    "description": "Scrape Colombian property listings from Fincaraíz (fincaraiz.com.co): price in COP, administración, estrato, m², rooms, parking, GPS, photos, amenities, agency and full description. Filter by city, barrio, type, price and estrato. Pay per result, no subscription.",
    "version": "0.1",
    "x-build-id": "hF0HaOFMdkTdnp2QI"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/fabrikit~fincaraiz-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-fabrikit-fincaraiz-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~fincaraiz-scraper/runs": {
      "post": {
        "operationId": "runs-sync-fabrikit-fincaraiz-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~fincaraiz-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-fabrikit-fincaraiz-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": [
              "sale",
              "rent",
              "temporary_rent",
              "sale_or_rent",
              "any"
            ],
            "type": "string",
            "description": "Sale (venta), long-term rent (arriendo), temporary/vacation rent (arriendo temporal) or listings offered for both sale and rent.",
            "default": "sale"
          },
          "propertyTypes": {
            "title": "Property types",
            "type": "array",
            "description": "One or more property types. Leave empty for all types.",
            "items": {
              "type": "string",
              "enum": [
                "apartment",
                "house",
                "studio",
                "country_house",
                "house_lot",
                "cabin",
                "farm",
                "land",
                "room",
                "commercial",
                "office",
                "medical_office",
                "warehouse",
                "parking",
                "building"
              ],
              "enumTitles": [
                "Apartment (apartamento)",
                "House (casa)",
                "Studio (apartaestudio)",
                "Country house (casa campestre)",
                "House with lot (casa lote)",
                "Cabin (cabaña)",
                "Farm (finca)",
                "Lot / land (lote)",
                "Room (habitación)",
                "Retail space (local)",
                "Office (oficina)",
                "Medical office (consultorio)",
                "Warehouse (bodega)",
                "Parking (parqueadero)",
                "Building (edificio)"
              ]
            },
            "default": [
              "apartment"
            ]
          },
          "locations": {
            "title": "Locations",
            "type": "array",
            "description": "Departments, cities, localities, zones or neighbourhoods (barrios) as you would type them on Fincaraíz: `Bogotá`, `Medellín`, `Chapinero`, `El Poblado`, `Usaquén`, `Cali`, `Barranquilla`, `Cartagena`, `Antioquia`. Several entries are combined (OR). Disambiguate with a comma (`Centro, Medellín`). The site's internal slugs also work (`city-colombia-05-001`). Leave empty for all of Colombia. The run fails with a clear error if a location cannot be found — it never silently searches the whole country instead.",
            "default": [
              "Bogotá"
            ],
            "items": {
              "type": "string"
            }
          },
          "minPrice": {
            "title": "Min price (COP)",
            "minimum": 0,
            "type": "integer",
            "description": "Lower price bound in Colombian pesos (e.g. `300000000` for sales, `2000000` for monthly rent)."
          },
          "maxPrice": {
            "title": "Max price (COP)",
            "minimum": 0,
            "type": "integer",
            "description": "Upper price bound in Colombian pesos."
          },
          "minBedrooms": {
            "title": "Min bedrooms",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "Only listings with at least this many bedrooms (0 = studios included, 5 = five or more). Leave empty for any."
          },
          "minAreaM2": {
            "title": "Min area (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum surface in square metres."
          },
          "maxAreaM2": {
            "title": "Max area (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum surface in square metres."
          },
          "areaType": {
            "title": "Area filter applies to",
            "enum": [
              "covered",
              "total"
            ],
            "type": "string",
            "description": "Whether the m² filter uses covered (built) area or total area.",
            "default": "covered"
          },
          "strata": {
            "title": "Socio-economic strata (estrato)",
            "type": "array",
            "description": "Only listings in these estratos (1 = lowest, 6 = highest). Leave empty for all. Every result also carries its `stratum`.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4",
                "5",
                "6"
              ],
              "enumTitles": [
                "Estrato 1",
                "Estrato 2",
                "Estrato 3",
                "Estrato 4",
                "Estrato 5",
                "Estrato 6"
              ]
            },
            "default": []
          },
          "newDevelopmentsOnly": {
            "title": "New developments only",
            "type": "boolean",
            "description": "Only new-housing projects (proyectos de vivienda: sobre planos, en construcción) and their units.",
            "default": false
          },
          "publishedWithin": {
            "title": "Published within",
            "enum": [
              "any",
              "today",
              "yesterday",
              "7",
              "15",
              "30",
              "40"
            ],
            "type": "string",
            "description": "Only listings published recently — ideal for daily monitoring.",
            "default": "any"
          },
          "startUrls": {
            "title": "Start URLs (optional)",
            "type": "array",
            "description": "Paste search URLs copied from fincaraiz.com.co (with any filters you set on the site, e.g. `https://www.fincaraiz.com.co/arriendo/apartamentos/medellin/antioquia/3-habitaciones`), or single listing / project URLs. When given, the filter fields above are ignored and each URL keeps its own filters.",
            "default": [],
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "sort": {
            "title": "Sort order",
            "enum": [
              "newest",
              "relevance",
              "price_asc",
              "price_desc",
              "area_asc",
              "area_desc"
            ],
            "type": "string",
            "description": "`newest` is the best choice for monitoring new listings.",
            "default": "newest"
          },
          "maxItems": {
            "title": "Max listings",
            "minimum": 1,
            "maximum": 300000,
            "type": "integer",
            "description": "Stop after this many listings. The site returns at most 10,000 results per search; bigger searches are split into price bands automatically, so you can collect a whole city — or all ~280,000 Colombian listings — in one run.",
            "default": 50
          },
          "fetchDetails": {
            "title": "Add agency & development details (add-on)",
            "type": "boolean",
            "description": "Adds `agencyDetails` (office address, city, website, number of active listings, profile URL of the publishing inmobiliaria or constructora) and, for new-housing projects, `developmentDetails` (delivery date, construction state, unit mix with prices, builder/architect when published). Charged as a separate `property-details` event per enriched listing. All core listing data — including the full description, photos, amenities, estrato and administración — is included without this add-on.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Fincaraíz answers plain requests, so no proxy is needed by default. If the site ever blocks the run, the Actor switches to Apify RESIDENTIAL proxy in Colombia 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}