# ZAP Imóveis Scraper | $1/1K | Brazil Real Estate (`ninja.dev/zap-imoveis-scraper`) Actor

Scrape ZAP Imóveis listings for sale or rent in any Brazilian city: price, condo fee, IPTU, R$/m², area, rooms, parking, address, CEP, coordinates, photos and advertiser. Filters by neighborhood, type, price, bedrooms. Whole-city runs past the 1,500 cap. $1 per 1,000 listings.

- **URL**: https://apify.com/ninja.dev/zap-imoveis-scraper.md
- **Developed by:** [Matheus Coelho](https://apify.com/ninja.dev) (community)
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 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

## ZAP Imóveis Scraper

If you track Brazilian property prices, build a rent or sale comparison, or feed listings into a CRM or a pricing model, this Actor pulls ZAP Imóveis listings for any city and returns clean rows you can open in a spreadsheet or call from the API.

You pay **$1 per 1,000 listings**. A run of 20 listings costs two cents.

What it does not do: it doesn't log in, it doesn't collect phone numbers or e-mails of advertisers, and it doesn't open each listing page. It reads the same search results the portal shows, so a run is fast and cheap.

### What you get for each listing

| Field | Example |
|---|---|
| `title` | Apartamento com 2 Quartos para alugar, 82m² |
| `url` | link to the listing on zapimoveis.com.br |
| `business` | SALE or RENTAL |
| `price` | 339290 (sale price or monthly rent, R$) |
| `monthlyCondoFee` | 250 |
| `yearlyIptu` | 1200 |
| `pricePerM2` | 3462.14 |
| `usableArea`, `totalArea` | 98 |
| `bedrooms`, `suites`, `bathrooms`, `parkingSpaces` | 3, 0, 2, 2 |
| `propertyType` | APARTMENT, HOME, CONDOMINIUM, PENTHOUSE... |
| `neighborhood`, `city`, `state` | São Jorge, Santos, SP |
| `street`, `streetNumber`, `zipCode` | when the advertiser shows it |
| `latitude`, `longitude` | -23.947326, -46.363818 |
| `amenities` | PETS_ALLOWED, AIR_CONDITIONING, POOL... |
| `images` | up to 10 photo URLs |
| `advertiser`, `advertiserId` | the real estate agency |
| `createdAt`, `updatedAt` | listing dates |

`description` is added when you turn on **Include description text**.

### How to use it

1. Type the **city** and the **state** (SP, RJ, MG...).
2. Pick **sale or rent**.
3. Optionally narrow it down: neighborhoods, property types, price range, minimum bedrooms, area.
4. Set **Max listings** and run.

Example input:

```json
{
  "city": "Santos",
  "state": "SP",
  "business": "RENTAL",
  "neighborhoods": ["Gonzaga"],
  "propertyTypes": ["APARTMENT"],
  "minBedrooms": 2,
  "maxItems": 200
}
```

#### Whole cities

The portal stops paging at 1,500 results per search. When your search has more than that and you ask for more, the Actor splits it by price range on its own and keeps going, without duplicates. In a test with Santos (about 34,000 listings for sale) it collected 2,600 unique listings in about two and a half minutes.

#### Monitoring

Schedule the Actor daily with **Sort: Recently updated first** and a modest **Max listings** to catch new and repriced listings.

### Notes

- Write the city and neighborhood the way the portal writes them, accents included ("São Paulo", "Jardim Paulista"). If nothing comes back, the run summary tells you which name was not found.
- `monthlyCondoFee` and `yearlyIptu` come from the advertiser and are sometimes 0 or missing.
- Property type and price filters are also checked on each row, so what you get matches what you asked for.
- This Actor is not affiliated with ZAP Imóveis or Grupo OLX. It collects publicly listed property data only.

### Em português

Coleta anúncios do ZAP Imóveis de qualquer cidade, para venda ou aluguel: preço, condomínio, IPTU, R$/m², área, quartos, vagas, bairro, CEP, coordenadas, fotos e imobiliária. Filtra por bairro, tipo de imóvel, faixa de preço, quartos e área. Passa do limite de 1.500 resultados dividindo a busca por faixa de preço, então dá para puxar uma cidade inteira. Custa US$1 a cada 1.000 anúncios.

### Related Actors

- [VivaReal Scraper](https://apify.com/ninja.dev/vivareal-scraper) for the same data from VivaReal.

# Actor input Schema

## `city` (type: `string`):

City name as written on the portal, e.g. São Paulo, Rio de Janeiro, Santos, Curitiba.

## `state` (type: `string`):

Two-letter state code (SP, RJ, MG...) or full name.

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

Listings for sale or for rent.

## `neighborhoods` (type: `array`):

Optional. One or more neighborhoods inside the city, e.g. Gonzaga, Pinheiros, Copacabana. Leave empty for the whole city.

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

Optional. Leave empty for all types.

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

Optional. Sale price or monthly rent, in reais.

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

Optional.

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

Optional. 4 means 4 or more.

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

Optional.

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

Optional.

## `listingType` (type: `string`):

USED covers almost every listing; DEVELOPMENT is new launches from builders.

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

Order in which listings are collected. Use 'Recently updated first' for daily monitoring.

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

Stop after this many listings. Searches above 1,500 results are split by price range automatically, so you can collect a whole city.

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

Adds the advertiser's free-text description to every row (bigger output).

## Actor input object example

```json
{
  "city": "Santos",
  "state": "SP",
  "business": "SALE",
  "neighborhoods": [],
  "propertyTypes": [],
  "listingType": "USED",
  "sort": "relevance",
  "maxItems": 20,
  "includeDescription": false
}
```

# Actor output Schema

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

Property listings with price, fees, area, rooms, address, coordinates and advertiser.

## `summary` (type: `string`):

Listing count and any issues (e.g. city name not found).

# 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 = {
    "city": "Santos",
    "state": "SP",
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("ninja.dev/zap-imoveis-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 = {
    "city": "Santos",
    "state": "SP",
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("ninja.dev/zap-imoveis-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 '{
  "city": "Santos",
  "state": "SP",
  "maxItems": 20
}' |
apify call ninja.dev/zap-imoveis-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,ninja.dev/zap-imoveis-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/bkSppvfClIuIzTS9N/builds/jGMSP6ayta2sPHIfM/openapi.json
