# ZAP Imóveis + VivaReal Scraper: Brazil Rent & Sale, No Login (`benthepythondev/zap-vivareal-listings-scraper`) Actor

Scrape Brazil rental and for-sale property listings from ZAP Imóveis and VivaReal in one run: price, condo fee, IPTU, total monthly cost, R$/m², rooms, area, address, GPS, photos and agency CRECI. Duplicates across both portals are dropped, the property type filter works, newest-first monitoring.

- **URL**: https://apify.com/benthepythondev/zap-vivareal-listings-scraper.md
- **Developed by:** [Ben](https://apify.com/benthepythondev) (community)
- **Categories:** Real estate, Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 properties

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## 🏠 ZAP Imóveis + VivaReal Scraper: Brazil Rent & Sale, No Login

ZAP Imóveis + VivaReal Scraper exports Brazilian property listings for rent or for sale from both portals in one run. Each row has the price, condo fee, IPTU, total monthly cost, price per m², bedrooms, bathrooms, parking, area, address, GPS point, photos and the agency's CRECI. A property listed on both portals is saved and charged once. Export to JSON/CSV/Excel, run on a schedule, call via API, or connect to Make, Zapier or n8n.

**Price:** $1.50 per 1,000 properties on the Free plan, $1.40 on Bronze, $1.20 on Silver, $1.00 on Gold and above, plus a start fee of $0.00005. Duplicates, rows that miss your filters and empty searches are never charged.

### ✅ What users of other ZAP and VivaReal scrapers report, and what this one does

| Reported on other actors' issue pages | What this actor does |
|---|---|
| "property_type: \["house"] is ignored" | Sends the four filter fields the portals need together, then checks every row's type before saving. A house search returned 21 of 21 houses in our tests. |
| "Feature request: sort input (ordem=MOST_RECENT) for incremental monitoring" | `sort: newest` plus `onlyNewSince` returns only listings created since your last run and stops reading once listings get older. |
| "I selected limit of 50 itens, and it serached for more than 1000" | `maxItems` is a hard stop: the run never saves or charges more. |
| "title/description always null" | Every row has the listing title and the advertiser's full description (on by default, no extra charge). |
| "403 using residential proxy" | Reads the portals' public listings API (JSON, not pages) through Brazilian residential IPs, with retries. You set no proxy. |
| "listing by its URL or ID" | Paste listing URLs or bare ids into `startUrls`. |

### 🔎 What is ZAP Imóveis + VivaReal Scraper?

ZAP Imóveis and VivaReal are Brazil's two largest property portals, both run by Grupo OLX. Most listings appear on both: in a sample of Campinas rentals, 147 of the first 195 ZAP listings were also on VivaReal (75%). Scraping the two portals separately makes you pay for the same property twice. This actor searches both and drops the duplicate by listing id, so you get one row per property.

The portals show at most about 2,000 results per search. When a search holds more, the actor splits it into price bands and reads each band, so a city with 280,000 rentals can still be exported in full. A local test run saved 2,300 Campinas listings in 36 seconds.

#### What data does it extract?

- **Prices:** `price_brl` (rent or asking price), `condo_fee_brl`, `iptu_yearly_brl`, `total_monthly_cost_brl` (rent + condo + IPTU/12), `price_per_m2_brl`
- **Property:** `property_type`, `property_subtypes`, `usage`, `usable_area_m2`, `total_area_m2`, `bedrooms`, `suites`, `bathrooms`, `parking_spaces`, `floor`, `amenities`
- **Location:** `street`, `street_number`, `neighborhood`, `zone`, `city`, `state`, `state_code`, `zip_code`, `latitude`, `longitude`, `location_approximate`
- **Media:** `images` (ready-to-open URLs), `image_count`, `has_video`
- **Advertiser:** `advertiser_type` (agency or private), `advertiser_name`, `advertiser_creci`, `advertiser_phones`, `advertiser_whatsapp`, `advertiser_website`
- **Listing:** `listing_id`, `url`, `found_on`, `title`, `description`, `created_at`, `updated_at`, `scraped_at`

Contact details and the street address are returned only for licensed agencies (with a CRECI number). For private owners the actor keeps the neighborhood and the map point and leaves out the name, phone and street address.

### ⬇️ Input

| Field | What it does |
|---|---|
| `locations` | Cities or neighborhoods, written like `Campinas, SP`, `São Paulo, SP` or `Pinheiros, São Paulo, SP` |
| `startUrls` | Listing URLs or ids from either portal, and ZAP search URLs like `https://www.zapimoveis.com.br/aluguel/apartamentos/sp+campinas/` |
| `portals` | `ZAP`, `VIVAREAL` or both (default both) |
| `business` | `rent` or `sale` |
| `propertyTypes` | `apartment`, `house`, `condo_house`, `penthouse`, `land`, `commercial`, `office`, `store`; empty means all |
| `minPrice`, `maxPrice` | Rent per month or asking price in R$ |
| `minArea`, `maxArea` | Usable area in m² |
| `minBedrooms`, `minBathrooms`, `minParkingSpaces` | Minimums |
| `sort` | `newest`, `relevance`, `price_low`, `price_high` |
| `onlyNewSince` | `YYYY-MM-DD`: only listings created on or after this day |
| `includeDescription` | Full description text, on by default (one extra API call per 24 properties, no extra charge) |
| `maxItems` | Hard limit on saved and charged rows |

#### Example input

```json
{
  "locations": ["Pinheiros, São Paulo, SP", "Campinas, SP"],
  "business": "rent",
  "propertyTypes": ["apartment"],
  "minBedrooms": 2,
  "maxPrice": 8000,
  "sort": "newest",
  "onlyNewSince": "2026-11-01",
  "maxItems": 500
}
```

### ⬆️ Output

```json
{
  "listing_id": "2921918851",
  "url": "https://www.zapimoveis.com.br/imovel/aluguel-apartamento-2-quartos-mobiliado-pinheiros-zona-oeste-sao-paulo-sp-71m2-id-2921918851/",
  "found_on": "ZAP",
  "business": "rent",
  "title": "Apartamento com 2 Quartos para alugar, 71m²",
  "property_type": "APARTMENT",
  "price_brl": 12000,
  "condo_fee_brl": 1600,
  "iptu_yearly_brl": 595,
  "total_monthly_cost_brl": 13649.58,
  "price_per_m2_brl": 169.01,
  "usable_area_m2": 71,
  "bedrooms": 2,
  "suites": 1,
  "bathrooms": 2,
  "parking_spaces": 1,
  "amenities": ["CLOSET", "AIR_CONDITIONING", "AMERICAN_KITCHEN", "FURNISHED"],
  "street": "Rua Capitão Prudente",
  "neighborhood": "Pinheiros",
  "zone": "Zona Oeste",
  "city": "São Paulo",
  "state_code": "SP",
  "latitude": -23.567978,
  "longitude": -46.686913,
  "image_count": 20,
  "advertiser_type": "agency",
  "created_at": "2026-11-10T23:57:56.017+00:00"
}
```

### 🤖 For AI agents

No login, cookie or API key is needed. Copy this input and change the location:

```json
{"locations": ["Campinas, SP"], "business": "rent", "maxItems": 50}
```

### 💡 Use cases

- 📈 **Rent and price research:** median rent per m² by neighborhood, condo fees and IPTU across a city.
- 🔔 **New-listing alerts:** a daily schedule with `onlyNewSince` set to yesterday returns only the new listings.
- 🏢 **Agency lead lists:** agencies with their CRECI, phone and website, ranked by how many listings they hold.
- 🧮 **Investment screening:** compare asking prices with rents in the same neighborhood to estimate gross yield.

### ❓ FAQ

**How much does a run cost?** 1,000 properties cost $1.50 on the Free plan and $1.00 on Gold and above. Duplicates across ZAP and VivaReal are dropped before saving, so a both-portal run pays for about 38% fewer rows than scraping each portal on its own (244 unique of 391 in our Campinas sample).

**Does the property type filter really work?** Yes. The portals ignore a type sent on its own, which is why some scrapers return apartments for a house search. This actor sends the full filter and also checks each row, so a wrong type is never saved or charged.

**How do I get only new listings?** Set `sort` to `newest` and `onlyNewSince` to the date of your last run.

**Can I scrape a whole city?** Yes. Searches with more than 2,000 results are split into price bands automatically. Set `maxItems` high enough.

**Can I paste a search URL?** ZAP search URLs work (business, type and location are read from the URL; other filters come from the input). For VivaReal, use `locations` instead.

**Why is the street missing on some rows?** Private owners' contact details and street addresses are left out on purpose. The listing may also hide the street, in which case `location_approximate` is true.

**Which output fields match other scrapers?** Field names are snake_case and flat (`price_brl`, `condo_fee_brl`), so they load straight into a spreadsheet. If you switch from a nested format, map `pricing.*` to the `*_brl` fields.

**Is it legal?** The actor reads publicly visible listings without logging in. It does not return private owners' names, phones or street addresses. You are responsible for using the data in line with Brazil's LGPD, the GDPR where it applies, and the portals' terms.

### ⚠️ Limits

- Price-band splitting needs listings with a price; listings with a hidden price ("sob consulta") can be missed in very large searches.
- VivaReal search URLs are not parsed; use `locations`.
- Listings are read as the portals show them; a wrong area or price in the ad stays wrong in the row.

### 🔗 You might also like

- [Zonaprop Scraper (Argentina)](https://apify.com/benthepythondev/zonaprop-scraper)
- [Inmuebles24 Scraper (Mexico)](https://apify.com/benthepythondev/inmuebles24-scraper)
- [Idealista Scraper](https://apify.com/benthepythondev/idealista-scraper)
- [Zillow Rentals Scraper](https://apify.com/benthepythondev/zillow-rentals-scraper)

**Keywords:** ZAP Imóveis scraper, VivaReal scraper, Brazil real estate data, imóveis para alugar, aluguel São Paulo, Brazil rental listings, Brazil property prices, condo fee IPTU data, CRECI agency list, Grupo OLX real estate, Brazil housing market API, zapimoveis API, vivareal API, imóveis à venda, real estate leads Brazil, property scraper Brazil

# Actor input Schema

## `locations` (type: `array`):

Cities or neighborhoods in Brazil, one per line, written like 'Campinas, SP', 'São Paulo, SP' or 'Pinheiros, São Paulo, SP'. Each is searched on every chosen portal.

## `startUrls` (type: `array`):

Optional. ZAP Imóveis or VivaReal listing URLs (or bare listing ids) to fetch one by one, and ZAP search URLs such as https://www.zapimoveis.com.br/aluguel/apartamentos/sp+campinas/ (business, type and location are read from the URL).

## `portals` (type: `array`):

Which portals to search. With both, a property listed on ZAP and VivaReal is saved and charged once.

## `business` (type: `string`):

Rental listings (aluguel) or listings for sale (venda).

## `propertyTypes` (type: `array`):

Leave empty for every type. Rows of another type are dropped before they are saved, so they are never charged.

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

Monthly rent for rentals, asking price for sales.

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

Monthly rent for rentals, asking price for sales.

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

Smallest usable area in square meters.

## `maxArea` (type: `integer`):

Largest usable area in square meters.

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

At least this many bedrooms (quartos).

## `minBathrooms` (type: `integer`):

At least this many bathrooms.

## `minParkingSpaces` (type: `integer`):

At least this many parking spaces (vagas).

## `sort` (type: `string`):

Newest first suits monitoring: with 'Only listed since' the run stops reading once listings get older than that date.

## `onlyNewSince` (type: `string`):

Optional date (YYYY-MM-DD). Only listings created on or after this day are saved: set it to the date of your last run to get just the new ones.

## `includeDescription` (type: `boolean`):

The advertiser's full description text, loaded in one extra API call per 24 properties. No extra charge.

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

The run stops exactly here and never saves or charges more. Big searches are split into price bands to get past the portals' 2,000-results limit.

## Actor input object example

```json
{
  "locations": [
    "Campinas, SP"
  ],
  "portals": [
    "ZAP",
    "VIVAREAL"
  ],
  "business": "rent",
  "propertyTypes": [
    "apartment"
  ],
  "sort": "newest",
  "includeDescription": true,
  "maxItems": 20
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# 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 = {
    "locations": [
        "Campinas, SP"
    ],
    "propertyTypes": [
        "apartment"
    ],
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("benthepythondev/zap-vivareal-listings-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 = {
    "locations": ["Campinas, SP"],
    "propertyTypes": ["apartment"],
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("benthepythondev/zap-vivareal-listings-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 '{
  "locations": [
    "Campinas, SP"
  ],
  "propertyTypes": [
    "apartment"
  ],
  "maxItems": 20
}' |
apify call benthepythondev/zap-vivareal-listings-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,benthepythondev/zap-vivareal-listings-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/IPqDEcVloZWEw7nOq/builds/BAPyax4wE4Y4DpNg1/openapi.json
