# Zap Imóveis Scraper — Brazil Real Estate (`reventadata/zapimoveis-scraper`) Actor

Extract real estate listings from Zap Imóveis & Viva Real (zapimoveis.com.br). Scrapes sale and rental apartments, houses, prices in BRL, condominium fees, IPTU taxes, bedrooms, bathrooms, parking spaces, usable area (m²), address, amenities, and photos.

- **URL**: https://apify.com/reventadata/zapimoveis-scraper.md
- **Developed by:** [reventadata](https://apify.com/reventadata) (community)
- **Categories:** Real estate, AI, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 property listings

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

> **Unofficial.** This Actor is not affiliated with, authorised by, endorsed by, or in any
> way officially connected to Zap Imóveis, Viva Real, or Grupo ZAP. "Zap Imóveis" and "Viva Real"
> are trademarks of their respective owners and are used here only to describe what this tool reads.
> It reads the same public pages a browser does.

Zap Imóveis & Viva Real Scraper extracts comprehensive real estate listings for sale and rent from Brazil's leading property portals ([zapimoveis.com.br](https://www.zapimoveis.com.br)). It captures accurate BRL prices, monthly condominium fees, IPTU taxes, bedrooms, bathrooms, parking garage spaces, usable area (m²), address, amenities, and photo galleries.

### What data can you extract?

- **Listing identity:** Unique property ID, canonical URL, and descriptive listing title.
- **Financial details:** Asking price in Brazilian Reais (R$), monthly condominium fee, and IPTU property tax.
- **Property attributes:** Usable floor size in square meters (m²), number of bedrooms, bathrooms, and parking garage spaces.
- **Location & address:** State code (SP, RJ, MG, etc.), city name, neighborhood / bairro, and street address.
- **Amenities & features:** List of verified amenities (pool, balcony, barbecue area, gym, 24h security, air conditioning, party hall, etc.).
- **Photo galleries:** High-resolution CDN image links.
- **Advertiser profile:** Real estate agency, development company, or broker brand name (strictly PII-free).

### Why scrape Zap Imóveis?

- **Brazil's Real Estate Market Leader:** Zap Imóveis and Viva Real form Latin America's largest residential and commercial property marketplace with millions of active listings.
- **Dual-Source Extraction Precision:** Automatically parses schema.org `ItemList` microdata with fallback to OLX core design system cards, ensuring consistent data structures regardless of layout changes.
- **Built-in Cloudflare Bypass:** Pre-configured with Apify Unblocker proxy to reliably bypass Cloudflare challenges.
- **Predictable Pay-Per-Event (PPE) Pricing:** Pay only for results returned at **$2.00 per 1,000 listings** ($0.002 per item), with zero hidden surcharges.

### How to use

1. Select your target Brazilian city in `location` using the `{state}+{city}` slug format (e.g. `sp+sao-paulo`, `rj+rio-de-janeiro`, `pr+curitiba`, `mg+belo-horizonte`, `rs+porto-alegre`).
2. Choose transaction `operation`: `venda` (buy / sale) or `aluguel` (rental).
3. Select `propertyType`: `apartamentos`, `casas`, `imoveis` (all residential), `comerciais`, or `terrenos`.
4. (Optional) Filter by `minPrice`, `maxPrice`, `minBedrooms`, or `minArea`.
5. Run the Actor and export your clean dataset to JSON, CSV, Excel, or Google Sheets.

#### Input Parameters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `location` | string | `"sp+sao-paulo"` | Brazilian location slug in `{state}+{city}` format. |
| `operation` | string | `"venda"` | Operation type: `venda` (buy/sale) or `aluguel` (rent). |
| `propertyType` | string | `"apartamentos"` | Property type: `apartamentos`, `casas`, `imoveis`, `comerciais`, `terrenos`. |
| `searchQueries` | array | `[]` | Optional keyword filters to match against listing title/description. |
| `minPrice` | integer | *None* | Minimum price in Brazilian Reais (R$). |
| `maxPrice` | integer | *None* | Maximum price in Brazilian Reais (R$). |
| `minBedrooms` | integer | *None* | Minimum number of bedrooms. |
| `minArea` | integer | *None* | Minimum usable area in square meters (m²). |
| `maxItems` | integer | `100` | Maximum number of listings to collect (prefill: 10). |
| `proxyConfiguration` | object | *Unblocker* | Apify Unblocker proxy settings. |

#### Sample Output Record

```json
{
  "id": "2861651269",
  "title": "Apartamento para comprar com 46 m², 2 quartos, 1 banheiro, 1 vaga em Vila Bela, São Paulo",
  "url": "https://www.zapimoveis.com.br/imovel/venda-apartamento-2-quartos-com-cozinha-vila-alpina-zona-leste-sao-paulo-sp-46m2-id-2861651269/",
  "operation": "venda",
  "propertyType": "apartamento",
  "price": 424850.0,
  "currency": "BRL",
  "condoFee": 593.0,
  "iptu": null,
  "bedrooms": 2,
  "bathrooms": 1,
  "parkingSpaces": 1,
  "areaM2": 46.0,
  "street": "Rua Tripuí",
  "neighborhood": "Vila Bela",
  "city": "São Paulo",
  "state": "SP",
  "advertiser": "Castan Imóveis .",
  "amenities": [
    "Kitchen",
    "Dinner Room",
    "Service Area",
    "Kitchen Cabinets",
    "Balcony",
    "Party Hall"
  ],
  "images": [
    "https://resizedimgs.zapimoveis.com.br/img/vr-listing/1e61f744377616b8c0c2cf5d49266772/apartamento-com-2-quartos-a-venda-46m-no-vila-bela-sao-paulo.webp?action=fit-in&dimension=614x297"
  ],
  "description": "Apartamento à venda na Vila Bela, possui sala para dois ambientes, varanda, cozinha com armários...",
  "scrapedAt": "2026-10-17T13:17:00.000Z"
}
```

# Actor input Schema

## `location` (type: `string`):

Target Brazilian state and city slug, formatted as '{state}+{city}' (e.g. 'sp+sao-paulo', 'rj+rio-de-janeiro', 'pr+curitiba', 'mg+belo-horizonte', 'rs+porto-alegre').

## `operation` (type: `string`):

Transaction type: 'venda' (buy/sale) or 'aluguel' (rent).

## `propertyType` (type: `string`):

Type of real estate: 'apartamentos', 'casas', 'imoveis' (all residential), 'comerciais', 'terrenos'.

## `searchQueries` (type: `array`):

Optional keyword filters to match against listing titles and descriptions (e.g. \['varanda', 'suite', 'piscina']). If empty, all listings are included.

## `minPrice` (type: `integer`):

Minimum property price in Brazilian Reais (R$).

## `maxPrice` (type: `integer`):

Maximum property price in Brazilian Reais (R$).

## `minBedrooms` (type: `integer`):

Minimum number of bedrooms required.

## `minArea` (type: `integer`):

Minimum usable area in square meters (m²).

## `maxItems` (type: `integer`):

Maximum number of listings to collect and push to the dataset.

## `proxyConfiguration` (type: `object`):

Apify Proxy settings. Requires Apify Unblocker proxy to reliably bypass Cloudflare bot challenges.

## Actor input object example

```json
{
  "location": "sp+sao-paulo",
  "operation": "venda",
  "propertyType": "apartamentos",
  "searchQueries": [],
  "maxItems": 10,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "UNBLOCKER"
    ]
  }
}
```

# Actor output Schema

## `dataset` (type: `string`):

Items scraped from the target website.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "location": "sp+sao-paulo",
    "operation": "venda",
    "propertyType": "apartamentos",
    "searchQueries": [],
    "maxItems": 10,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "UNBLOCKER"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("reventadata/zapimoveis-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "location": "sp+sao-paulo",
    "operation": "venda",
    "propertyType": "apartamentos",
    "searchQueries": [],
    "maxItems": 10,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["UNBLOCKER"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("reventadata/zapimoveis-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "location": "sp+sao-paulo",
  "operation": "venda",
  "propertyType": "apartamentos",
  "searchQueries": [],
  "maxItems": 10,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "UNBLOCKER"
    ]
  }
}' |
apify call reventadata/zapimoveis-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,reventadata/zapimoveis-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/bVCpGn6AgBACxWnHU/builds/iUxqUQrVX7R9jZ3jb/openapi.json
