{
  "openapi": "3.0.1",
  "info": {
    "title": "Fincaraiz Scraper | Colombia Real Estate Listings & API",
    "description": "Scrape Fincaraiz Colombia property listings (inmuebles en venta y arriendo): price COP and USD, admin fee, estrato, bedrooms, bathrooms, area, neighborhood, city, coordinates, amenities, images and agency WhatsApp. Filter by URL, city, type or price. Export JSON, CSV, Excel.",
    "version": "0.2",
    "x-build-id": "a46mBvAtgHrgH8iDU"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapers_lat~fincaraiz-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapers_lat-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/scrapers_lat~fincaraiz-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapers_lat-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/scrapers_lat~fincaraiz-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapers_lat-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": {
          "startUrl": {
            "title": "Search or property URL",
            "type": "string",
            "description": "A Fincaraíz search results URL (or a single property URL) to scrape. Open fincaraiz.com.co, apply your filters (operation, property type, city, price, etc.) and paste the resulting URL here. Example: https://www.fincaraiz.com.co/venta/apartamentos/bogota-dc"
          },
          "startUrls": {
            "title": "Search or property URLs (batch)",
            "type": "array",
            "description": "Multiple Fincaraíz search URLs and/or single property URLs to scrape in one run. Each entry can be a plain URL string or an object with a `url` field. Search and property URLs are classified automatically.",
            "items": {
              "type": "string"
            }
          },
          "searchQueries": {
            "title": "Search queries",
            "type": "array",
            "description": "Text queries in the form `<operation> <propertyType> <city>`, for example `venta apartamentos bogota-dc` or `arriendo casas medellin`. Each query is turned into a Fincaraíz search.",
            "items": {
              "type": "string"
            }
          },
          "operation": {
            "title": "Operation",
            "enum": [
              "venta",
              "arriendo"
            ],
            "type": "string",
            "description": "Operation for a single structured search: `venta` (sale) or `arriendo` (rent). Used with propertyType and city when no URL is given."
          },
          "propertyType": {
            "title": "Property type",
            "type": "string",
            "description": "Property type for a single structured search, for example `apartamentos`, `casas`, `oficinas`, `locales`, `lotes`, `bodegas`, `fincas`, `consultorios`."
          },
          "city": {
            "title": "City",
            "type": "string",
            "description": "City slug for a single structured search, for example `bogota-dc`, `medellin`, `cali`, `barranquilla`, `cartagena`, `bucaramanga`, `pereira`."
          },
          "maxListings": {
            "title": "Max listings",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Maximum number of listings to collect across all sources. Optional. Free Apify plans are capped at 10 per run."
          },
          "maxItems": {
            "title": "Max items (alias)",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Alias of Max listings. Overall cap on the number of rows returned."
          },
          "maxItemsPerSearch": {
            "title": "Max items per search",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Cap on how many listings are taken from each individual search source. Optional."
          },
          "maxPages": {
            "title": "Max pages per search",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum number of result pages to paginate per search (each page has ~21 listings). Optional."
          },
          "withDetails": {
            "title": "Scrape listing details (paid add-on)",
            "type": "boolean",
            "description": "Attach the rich detail block to every listing: full description, complete amenities list, full image gallery, advertiser contact (phone/WhatsApp when public), technical sheet and social links. Opt-in add-on billed per enriched record; requires a paid Apify plan.",
            "default": true
          },
          "scrapeDetails": {
            "title": "Scrape listing details (alias)",
            "type": "boolean",
            "description": "Alias of Scrape listing details."
          },
          "minPrice": {
            "title": "Min price (COP)",
            "minimum": 0,
            "type": "integer",
            "description": "Only keep listings with a price at or above this amount (in the listing currency, typically COP). Optional."
          },
          "maxPrice": {
            "title": "Max price (COP)",
            "minimum": 0,
            "type": "integer",
            "description": "Only keep listings with a price at or below this amount (in the listing currency, typically COP). Optional."
          },
          "minBedrooms": {
            "title": "Min bedrooms",
            "minimum": 0,
            "type": "integer",
            "description": "Only keep listings with at least this many bedrooms. Optional."
          },
          "minBathrooms": {
            "title": "Min bathrooms",
            "minimum": 0,
            "type": "integer",
            "description": "Only keep listings with at least this many bathrooms. Optional."
          },
          "minAreaM2": {
            "title": "Min area (m2)",
            "minimum": 0,
            "type": "integer",
            "description": "Only keep listings with an area at or above this many square meters. Optional."
          },
          "maxAreaM2": {
            "title": "Max area (m2)",
            "minimum": 0,
            "type": "integer",
            "description": "Only keep listings with an area at or below this many square meters. Optional."
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "How many pages/enrichment tasks to process in parallel (1-8). Higher is faster. Optional."
          },
          "maxRequestRetries": {
            "title": "Max request retries",
            "minimum": 0,
            "maximum": 6,
            "type": "integer",
            "description": "How many times to retry a failed request (with IP rotation) before giving up. Optional."
          },
          "withAiSummary": {
            "title": "AI listing summary (paid add-on)",
            "type": "boolean",
            "description": "Add a plain-English AI summary of each listing (property, price, size, standout features). Opt-in, billed per enriched record; requires a paid Apify plan.",
            "default": false
          },
          "withAiFeatures": {
            "title": "AI feature extraction (paid add-on)",
            "type": "boolean",
            "description": "Extract normalized English feature tags, condition and highlights from each listing via AI. Opt-in, billed per enriched record; requires a paid Apify plan.",
            "default": false
          },
          "withAiTranslate": {
            "title": "AI translate to English (paid add-on)",
            "type": "boolean",
            "description": "Translate the listing title and description from Spanish to English via AI. Opt-in, billed per enriched record; requires a paid Apify plan.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Proxy settings. Defaults to Apify Proxy routed through Colombia. Residential proxies are recommended for large runs.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "CO"
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}