{
  "openapi": "3.0.1",
  "info": {
    "title": "Properati Scraper | Colombia Property Listings",
    "description": "Extract Properati sale and rental listings from Colombian city searches and listing links in Colombia, Argentina, Peru and Ecuador. Get prices, property features and available contact details. Pay per delivered row plus a start fee.",
    "version": "0.1",
    "x-build-id": "m0vFmNWap71JjRslt"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/lentic_clockss~properati-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-lentic_clockss-properati-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/lentic_clockss~properati-scraper/runs": {
      "post": {
        "operationId": "runs-sync-lentic_clockss-properati-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/lentic_clockss~properati-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-lentic_clockss-properati-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": {
          "searchType": {
            "title": "Search type",
            "enum": [
              "auto",
              "search",
              "detail"
            ],
            "type": "string",
            "description": "Use Auto to select listing details when links are supplied, or a city search otherwise. For Argentina, Peru and Ecuador, provide existing listing links in Detail URLs.",
            "default": "auto"
          },
          "geo": {
            "title": "City",
            "enum": [
              "bogota-d-c-colombia",
              "medellin-antioquia",
              "cali-valle-del-cauca",
              "barranquilla-atlantico",
              "cartagena-bolivar",
              "bucaramanga",
              "pereira",
              "santa-marta",
              "cucuta-norte-de-santander-colombia",
              "manizales-caldas",
              "armenia-quindio1",
              "villavicencio",
              "ibague-tolima-colombia",
              "pasto",
              "neiva"
            ],
            "type": "string",
            "description": "Select one Colombian city for a search. With Auto, listing links take priority over the city; leaving both targets empty starts the 3-row Bogotá example."
          },
          "detailUrls": {
            "title": "Detail URLs",
            "type": "array",
            "description": "Paste existing Properati /detalle/ listing links from Colombia, Argentina, Peru or Ecuador. These links are collected instead of a city search; use current links copied from search results.",
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "Maximum rows per city or listing URL",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Maximum billed listing rows per city search or detail URL, default 70; larger requests are collected in parts of up to 70 within the run cost limit. Free Apify plan: up to 200 rows per run and 10 runs.",
            "default": 70
          },
          "propertyType": {
            "title": "Property type",
            "enum": [
              "apartamento",
              "casa",
              "lote",
              "oficina",
              "local",
              "bodega",
              "finca",
              "consultorio",
              "parqueadero",
              "habitacion",
              "penthouse",
              "casa-campestre",
              "apartaestudio"
            ],
            "type": "string",
            "description": "Choose the property category to search, such as apartments or houses. Available listings depend on the selected city and operation.",
            "default": "apartamento"
          },
          "operation": {
            "title": "Sale or rent",
            "enum": [
              "venta",
              "arriendo"
            ],
            "type": "string",
            "description": "Select sale (venta) or rent (arriendo) for Colombian city searches.",
            "default": "venta"
          },
          "bedrooms": {
            "title": "Bedrooms",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Filter the city search by bedroom count, from 1 to 20. Leave empty to search without this filter."
          },
          "maxPages": {
            "title": "Search page count",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Requested number of search pages, from 1 to 20. Collection may end sooner when the row limit is reached or no more listings are available.",
            "default": 1
          },
          "page": {
            "title": "Start page",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "First search page to request, from 1 to 20. Use 1 to begin at the first page.",
            "default": 1
          },
          "enrichDetails": {
            "title": "Add listing details",
            "type": "boolean",
            "description": "Add available phone numbers, addresses, agency information and photos to search rows. Off by default; enrichment updates the same listing row rather than adding a separately billed row.",
            "default": false
          },
          "workerBaseUrl": {
            "title": "Developer test setting",
            "type": "string",
            "description": "Leave empty. Used only by the developer for testing.",
            "default": ""
          },
          "cursor": {
            "title": "Continue from cursor",
            "type": "string",
            "description": "Continue a run that stopped at its time limit or was aborted gracefully: paste RUN_SUMMARY.nextCursor from that run and keep the rest of the input the same. A cursor works once and is valid for 6 hours. Usually leave empty."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}