{
  "openapi": "3.0.1",
  "info": {
    "title": "Fincaraiz Colombia Property Scraper | Listings & Prices",
    "description": "Scrape Fincaraiz Colombia apartment and house listings for sale or rent: price in COP and USD, area, rooms, bathrooms, parking, address, city, coordinates, publisher, images and URL. Search Bogotá, Medellín, Cartagena or the whole country. JSON, CSV or Excel.",
    "version": "0.1",
    "x-build-id": "f8MuN8IGCaj6Kj2Og"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/automatic~fincaraiz-co-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-automatic-fincaraiz-co-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/automatic~fincaraiz-co-scraper/runs": {
      "post": {
        "operationId": "runs-sync-automatic-fincaraiz-co-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/automatic~fincaraiz-co-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-automatic-fincaraiz-co-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": "Sale (venta) or rent (arriendo). If empty, uses \"venta\".",
            "default": "venta"
          },
          "propertyType": {
            "title": "Property type",
            "enum": [
              "apartamento",
              "casa",
              "apartaestudio",
              "lote",
              "local",
              "oficina",
              "finca",
              "bodega",
              "consultorio",
              "edificio",
              "casa-campestre",
              "casa-lote",
              "cabana",
              "habitacion",
              "parqueadero"
            ],
            "type": "string",
            "description": "Apartments, houses, studios, lots, offices, retail, farms and more. If empty, uses \"apartamento\".",
            "default": "apartamento"
          },
          "location": {
            "title": "City or neighbourhood",
            "type": "string",
            "description": "One place as Fincaraiz spells it: \"bogota\", \"medellin/antioquia\", \"chapinero/bogota\", \"cartagena/bolivar\". Accents and spaces are fine (\"Bogotá\"). Empty searches all of Colombia."
          },
          "locations": {
            "title": "More cities or neighbourhoods",
            "type": "array",
            "description": "Search several places in one run, e.g. [\"el-poblado/medellin\", \"laureles/medellin\", \"envigado/antioquia\"]. Each place is its own search; a listing found twice is delivered once. A place Fincaraiz does not know is skipped and named in the run status; the others still run.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Fincaraiz search links",
            "type": "array",
            "description": "Paste search result links from fincaraiz.com.co, with any filters you set on the site, e.g. https://www.fincaraiz.com.co/arriendo/apartamentos/medellin/antioquia/2-o-mas-habitaciones. Every page of each link is read. Each link keeps its own filters; the filters below apply only to the places you type, not to pasted links. A link that is not a Fincaraiz search page is skipped and named in the run status.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "minPrice": {
            "title": "Minimum price",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest asking price, in the currency below (pesos by default). Example: 200000000."
          },
          "maxPrice": {
            "title": "Maximum price",
            "minimum": 0,
            "type": "integer",
            "description": "Highest asking price, in the currency below. Example: 500000000 for sale, 3000000 for monthly rent."
          },
          "currency": {
            "title": "Price currency",
            "enum": [
              "COP",
              "USD"
            ],
            "type": "string",
            "description": "Currency of the price range: Colombian pesos (COP) or US dollars (USD). A dollar range is checked on each listing's priceUsd (the site's own conversion).",
            "default": "COP"
          },
          "minBedrooms": {
            "title": "Minimum bedrooms",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "At least this many bedrooms (habitaciones), 1 to 5."
          },
          "minBathrooms": {
            "title": "Minimum bathrooms",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "At least this many bathrooms (baños), 1 to 5."
          },
          "minParkings": {
            "title": "Minimum parking spaces",
            "minimum": 1,
            "maximum": 4,
            "type": "integer",
            "description": "At least this many parking spaces (parqueaderos), 1 to 4."
          },
          "minAreaM2": {
            "title": "Minimum area (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Smallest built area in m²."
          },
          "maxAreaM2": {
            "title": "Maximum area (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Largest built area in m²."
          },
          "stratum": {
            "title": "Estrato",
            "type": "array",
            "description": "Only these socio-economic strata (estratos 1 to 6), e.g. [4, 5, 6].",
            "items": {
              "type": "integer",
              "minimum": 1,
              "maximum": 6
            }
          },
          "publishedWithinDays": {
            "title": "Published within",
            "enum": [
              "0",
              "1",
              "7",
              "15",
              "30",
              "40"
            ],
            "type": "string",
            "description": "Only listings published in this window."
          },
          "publisherType": {
            "title": "Published by",
            "enum": [
              "any",
              "owner",
              "agency",
              "developer"
            ],
            "type": "string",
            "description": "Owners (dueño directo), agencies (inmobiliarias) or developers (constructoras).",
            "default": "any"
          },
          "condition": {
            "title": "Condition",
            "enum": [
              "any",
              "used",
              "new",
              "offPlan"
            ],
            "type": "string",
            "description": "Used, new (ready to move in) or off-plan (sobre planos).",
            "default": "any"
          },
          "propertyAge": {
            "title": "Property age",
            "enum": [
              "any",
              "under1",
              "1to8",
              "9to15",
              "16to30",
              "over30"
            ],
            "type": "string",
            "description": "Age of the building (antigüedad).",
            "default": "any"
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "price_asc",
              "price_desc",
              "newest",
              "area_asc",
              "area_desc"
            ],
            "type": "string",
            "description": "Order of the results, as on the site.",
            "default": "relevance"
          },
          "maxResults": {
            "title": "Maximum listings",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Stop after this many listings in the whole run, up to 5,000. Listings are saved as each page is read. Empty with no search = a 20-listing sample; empty with a search = 50."
          },
          "maxPages": {
            "title": "Maximum pages per search",
            "minimum": 1,
            "maximum": 240,
            "type": "integer",
            "description": "Result pages to read per search (21 listings per page), up to 240. Leave empty to read as many pages as Maximum listings needs."
          },
          "requestDelaySecs": {
            "title": "Delay between page requests",
            "minimum": 0.5,
            "maximum": 10,
            "type": "number",
            "description": "Pause between page requests, 0.5 to 10 seconds. If empty, uses 1.0.",
            "default": 1
          },
          "proxyUrl": {
            "title": "Custom proxy URL",
            "type": "string",
            "description": "Optional custom proxy URL (full URL with embedded credentials, or host:port with proxyUsername/proxyPassword). Leave empty to use the Actor's default connection. Leave empty when this optional selector is not needed; mode-specific source requirements still apply."
          },
          "proxyUsername": {
            "title": "Proxy username",
            "type": "string",
            "description": "Username for proxyUrl when the URL does not embed credentials. Leave empty when this optional selector is not needed; mode-specific source requirements still apply."
          },
          "proxyPassword": {
            "title": "Proxy password",
            "type": "string",
            "description": "Password for proxyUrl when the URL does not embed credentials. Leave empty when this optional selector is not needed; mode-specific source requirements still apply."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}