{
  "openapi": "3.0.1",
  "info": {
    "title": "ZAP Imóveis & VivaReal Scraper 🇧🇷 (Brazil property listings)",
    "description": "Brazil property listings from ZAP Imóveis and VivaReal by city, neighbourhood or pasted search URL: sale price or rent, condo fee, IPTU, area, rooms, address, geo point, photos, agency name, CRECI and phones. $1.50 per 1,000 listings.",
    "version": "0.1",
    "x-build-id": "LxMu3PHC7APK9KEKq"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/tagadanar~zap-imoveis-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-tagadanar-zap-imoveis-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/tagadanar~zap-imoveis-scraper/runs": {
      "post": {
        "operationId": "runs-sync-tagadanar-zap-imoveis-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/tagadanar~zap-imoveis-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-tagadanar-zap-imoveis-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": {
          "locations": {
            "title": "Locations",
            "type": "array",
            "description": "Cities or neighbourhoods in Brazil, one per line: \"São Paulo, SP\", \"Pinheiros, São Paulo, SP\", \"Copacabana, Rio de Janeiro\". Each is matched exactly through the site's own location search (add the city and the state code when a name exists in several places). Give locations, search URLs, or both.",
            "items": {
              "type": "string"
            }
          },
          "searchUrls": {
            "title": "Search URLs",
            "type": "array",
            "description": "Optional: search result URLs pasted from zapimoveis.com.br or vivareal.com.br, e.g. https://www.zapimoveis.com.br/venda/apartamentos/sp+sao-paulo/. The URL's own deal type, location, property type, price, area, bedroom, bathroom and parking filters are used; the filter fields below apply to Locations only. A URL filter the actor cannot read is named in the run status.",
            "items": {
              "type": "string"
            }
          },
          "portal": {
            "title": "Portal",
            "enum": [
              "ZAP",
              "VIVAREAL"
            ],
            "type": "string",
            "description": "Which site's listing URLs and API to use for Locations. ZAP Imóveis and VivaReal belong to the same group and show the same listings; the choice only changes the listing links.",
            "default": "ZAP"
          },
          "business": {
            "title": "Deal type",
            "enum": [
              "SALE",
              "RENTAL"
            ],
            "type": "string",
            "description": "For sale (venda) or for rent (aluguel). Applies to Locations.",
            "default": "SALE"
          },
          "propertyTypes": {
            "title": "Property types",
            "type": "array",
            "description": "Leave empty for every type. Each type is searched on its own, so a city can deliver more listings in total.",
            "items": {
              "type": "string",
              "enum": [
                "APARTMENT",
                "HOME",
                "CONDOMINIUM",
                "VILLAGE_HOUSE",
                "PENTHOUSE",
                "FLAT",
                "LOFT",
                "LAND",
                "FARM",
                "OFFICE",
                "BUSINESS",
                "COMMERCIAL_BUILDING",
                "SHED_DEPOSIT_WAREHOUSE",
                "COMMERCIAL_LAND",
                "PARKING_SPACE",
                "HOTEL"
              ],
              "enumTitles": [
                "Apartment",
                "House",
                "House in a gated condominium",
                "Village house",
                "Penthouse",
                "Flat",
                "Loft",
                "Residential land",
                "Farm / ranch",
                "Office / commercial room",
                "Shop / store",
                "Whole commercial building",
                "Warehouse / shed",
                "Commercial land",
                "Parking space",
                "Hotel / motel / inn"
              ]
            }
          },
          "minPrice": {
            "title": "Min price (BRL)",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest sale price, or lowest monthly rent for rentals, in reais."
          },
          "maxPrice": {
            "title": "Max price (BRL)",
            "minimum": 0,
            "type": "integer",
            "description": "Highest sale price, or highest monthly rent for rentals, in reais."
          },
          "minArea": {
            "title": "Min usable area (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Smallest usable area in square metres."
          },
          "maxArea": {
            "title": "Max usable area (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Largest usable area in square metres."
          },
          "minBedrooms": {
            "title": "Min bedrooms",
            "minimum": 0,
            "maximum": 4,
            "type": "integer",
            "description": "1 to 4 (4 means 4 or more)."
          },
          "minBathrooms": {
            "title": "Min bathrooms",
            "minimum": 0,
            "maximum": 4,
            "type": "integer",
            "description": "1 to 4 (4 means 4 or more)."
          },
          "minParkingSpaces": {
            "title": "Min parking spaces",
            "minimum": 0,
            "maximum": 4,
            "type": "integer",
            "description": "1 to 4 (4 means 4 or more)."
          },
          "sort": {
            "title": "Order",
            "enum": [
              "NEWEST",
              "PRICE_LOW",
              "PRICE_HIGH"
            ],
            "type": "string",
            "description": "Newest listings first, or by price.",
            "default": "NEWEST"
          },
          "maxItems": {
            "title": "Max listings (whole run)",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Cap on listings delivered by the run, across all locations and URLs. Each listing is one paid event. Max 10,000.",
            "default": 100
          },
          "maxItemsPerSearch": {
            "title": "Max listings per location or URL",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Optional cap per location or URL, so the first search does not use the whole run cap. 0 or empty = no per-search cap."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}