# QuintoAndar Scraper: Brazil Property Data (`kareninatech/quintoandar-scraper`) Actor

Scrape QuintoAndar Brazil real estate (imóveis) without a browser. Type São Paulo, Rio or Pinheiros. Extract BRL and USD prices, price/m² vs neighbourhood, cheap/fair/expensive labels, rental yield, condo+IPTU burden, a MARKET_REPORT, and monitor mode. Export JSON, CSV or Excel.

- **URL**: https://apify.com/kareninatech/quintoandar-scraper.md
- **Developed by:** [Karen Gisela Gallegos Aguilar](https://apify.com/kareninatech) (community)
- **Categories:** Real estate, Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 results

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

## QuintoAndar Scraper: Brazil real estate API with market analytics

Use this QuintoAndar API alternative to scrape Brazil property listings (imóveis para alugar e à venda) and export JSON, CSV or Excel.

Scrape property listings from [QuintoAndar](https://www.quintoandar.com.br), Brazil's main rental and sale platform, and get **market analytics in every row**: price per m² compared with the same **neighbourhood**, a **cheap / fair / expensive** deal label, a **gross rental yield**, **condo + IPTU** as a share of rent, and a **MARKET_REPORT** with medians per neighbourhood. Prices come in **BRL and USD**. **Monitor mode** tells you what is new, what changed price and what was removed.

Just type a place such as **São Paulo**, **Rio de Janeiro**, **Pinheiros** or **Copacabana**. Type **Brasil** for every city QuintoAndar covers. No URL building needed (but you can paste QuintoAndar search URLs too).

### Fast and cheap: no browser

This Actor calls QuintoAndar's public search API and reads the listing data already returned as JSON. There is **no browser** and, today, **no proxy**. Each request can include up to **200 listings**, so a typical run finishes in seconds.

### What can this QuintoAndar scraper do?

- 🏙️ **Simple input**: operation (alugar / comprar), property type, city or neighbourhood, price, area, bedrooms, bathrooms, parking, furnished and pets.
- 📊 **Price per m² vs the same neighbourhood**: each listing is compared with similar listings in the **same neighbourhood** (or the city if there are not enough).
- 🏷️ **Deal label**: `cheap` (10%+ below the zone median), `fair`, or `expensive` (10%+ above).
- 💰 **Rental yield**: annual gross yield from asking rent and sale price. If a sale listing has no rent, the Actor samples rentals in the same neighbourhood.
- 🧾 **Condo + IPTU burden**: monthly condo fee and IPTU, and that total as a % of rent.
- 📍 **Coordinates**, area, bedrooms, bathrooms, parking, furnished flag, photos and amenities from the search API.
- 🔔 **Monitor mode**: schedule the Actor and get only **new** and **price-changed** listings, plus **removed** listings when the run covers the whole search.
- 💵 **BRL and USD**: USD uses the official PTAX sale rate from the [Banco Central do Brasil](https://www.bcb.gov.br), with a public fallback if needed.

### How to scrape QuintoAndar

1. Choose **Operation** (alugar or comprar) and **Property type** (or All types).
2. Type a **Location**: `São Paulo`, `Rio de Janeiro`, `Belo Horizonte`, or a neighbourhood such as `Pinheiros` or `Copacabana`. You can also type `Pinheiros, São Paulo`. Type **`Brasil`** for every city QuintoAndar covers (do not leave the field empty — an omitted value becomes São Paulo).
3. Add filters if you want (price in BRL, m², bedrooms, bathrooms, parking, furnished, pets).
4. Set **Max listings** and click **Start**.
5. Open the **Investor view** in the output, and the **MARKET_REPORT** in the key-value store.

Or paste a QuintoAndar search URL (with filters already set on the site) in **QuintoAndar search URL**. When you use URLs, the filters in the form are not applied.

#### Input example

```json
{
    "operation": "alugar",
    "property_type": "Apartamento",
    "location": "São Paulo",
    "neighbourhood": "Pinheiros",
    "min_bedrooms": 2,
    "max_price": 8000,
    "max_items": 200
}
```

#### Monitor mode (alerts)

Turn on **Monitor mode**, give the search a **Monitor name**, and schedule the Actor (for example daily). The first run saves everything. Next runs save only:

- `new`: listings not seen before
- `changed`: the price changed (`monitor_price_drop_pct` is positive when the price went down)
- `removed`: listings that disappeared. Turn on **Report removed listings**. This only works when the run covers the whole search, so set **Max listings** higher than the search total.

### Market report

Every run saves `MARKET_REPORT` in the key-value store with medians **overall, by property type, by city and by neighbourhood**: rent, sale price, total monthly cost, condo fee, IPTU, price per m², gross yield, condo + IPTU burden, and the cheap / fair / expensive counts.

### How the analytics work (honest data)

- **Price per m²** uses the area QuintoAndar shows. If the area is missing, 0, or the result is impossible, price per m² and the deal label stay empty. We do not guess the size.
- **Zone median** uses listings from the same run with the same operation and property type. A zone needs at least 5 listings (you can change it). Levels: neighbourhood → city. `zone_level` and `zone_sample_size` tell you which one was used.
- **Gross yield** = (monthly rent × 12) / sale price. When a listing already has both figures, those are used. Otherwise, for sale listings, rent is estimated from the median rent per m² in the same neighbourhood. Values outside 0.5–30% are dropped. QuintoAndar sometimes also sends a `yield` figure: that one is a **monthly** ratio (rent ÷ sale). We keep it as `site_yield` and also show `site_yield_annual_pct` so the two are not mixed up.
- **Condo + IPTU burden** is (condo fee + IPTU) ÷ monthly rent. IPTU is the monthly amount QuintoAndar shows.
- **Days on market** and the **stale flag** are only filled when you turn on **Fetch listing pages**. The search API does not include a publication date. That option is slower, because it opens each listing page.
- **USD** uses the official PTAX sale rate published by the Banco Central do Brasil. If that feed is unavailable, the Actor falls back to a public exchange-rate API and records the source in `fx_source`.
- **Whole country must be typed as `Brasil` (or `Brazil`)**. An omitted location becomes São Paulo, because the input schema default is merged when the field is left out. QuintoAndar itself covers about 99 cities, mostly in the South and Southeast — not every city in Brazil.
- **Bare neighbourhood names**: `Pinheiros` is resolved as Pinheiros, São Paulo (not the small namesake in Minas Gerais). Add the city if you mean a different one (`Pinheiros, Diamantina`).
- **Removed** monitor rows are only emitted when the run covers the whole search (raise max_items).

### Input and output details

**Output Example:**

```json
{
  "id": "894090267",
  "url": "https://www.quintoandar.com.br/imovel/894090267",
  "title": "Apartamento para aluguel em Vila Andrade, 3 quartos.",
  "operation": "alugar",
  "city": "São Paulo",
  "neighbourhood": "Vila Andrade",
  "rent_brl": 3310,
  "sale_price_brl": 850000,
  "area_m2": 230,
  "deal_label": "fair",
  "scraped_at": "2026-11-11T12:00:00.000Z"
}
```

### Input reference

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `operation` | string | No | `alugar` | Rent (alugar) or sale (comprar). |
| `property_type` | string | No | `all` | Type of property. Choose All types to include apartments, houses, studios and condo houses. |
| `location` | string | No | `São Paulo` | A place name as you would type it: São Paulo, Rio de Janeiro, Belo Horizonte, Campinas… Or a neighbourhood such as Pinheiros or Copacabana (famous neighbourhoods are mapped to the right city). You can also type 'Pinhe... |
| `neighbourhood` | string | No | — | Optional. Restrict the search to one neighbourhood in the city above, for example Pinheiros or Copacabana. |
| `locations` | array | No | — | Extra places to search in the same run. max_items is split between all searches. |
| `search_url` | string | No | — | Paste a search page from quintoandar.com.br with your filters already set. When you use URLs, the filters above are ignored. Listing URLs (/imovel/ID) are also accepted. |
| `start_urls` | array | No | — | Optional extra search or listing URLs from the same site. Leave empty to use the filters above. |
| `min_price` | integer | No | — | Minimum rent (for alugar) or sale price (for comprar), in Brazilian reais. |
| `max_price` | integer | No | — | Maximum rent (for alugar) or sale price (for comprar), in Brazilian reais. |
| `min_m2` | integer | No | — | Minimum area in square metres, for example 50. Leave empty for no minimum. |
| `max_m2` | integer | No | — | Maximum area in square metres, for example 150. Leave empty for no maximum. |
| `min_bedrooms` | integer | No | — | Minimum number of bedrooms, for example 2. Leave empty for no minimum. |
| `min_bathrooms` | integer | No | — | Minimum number of bathrooms, for example 1. Leave empty for no minimum. |
| `min_parking` | integer | No | — | Minimum number of parking spaces, for example 1. Leave empty for no minimum. |
| `furnished` | string | No | — | Only furnished or only unfurnished listings. Empty = both. |
| `pets` | string | No | — | Only listings that allow pets, when you choose Yes. Empty = both. |
| `sort` | string | No | `relevance` | Order used on the QuintoAndar search (and again on the saved rows). |
| `max_items` | integer | No | `42` | Maximum listings to save (split between searches). The official search API returns up to 200 listings per request. |
| `max_pages` | integer | No | — | Maximum API pages to fetch per search (200 listings each). Leave empty to decide automatically from max_items. |
| `compare_with_zone` | boolean | No | `True` | Add a neighbourhood (or city) median, the % vs that median, and a cheap/fair/expensive deal label. |
| `min_zone_peers` | integer | No | `5` | A neighbourhood or city needs at least this many comparable listings before it is used as the median. |
| `estimate_rental_yield` | boolean | No | `True` | Compute annual gross yield. If a listing already has rent and a sale price, those are used. For sale listings without rent, the Actor samples rentals in the same neighbourhood. |
| `yield_sample_pages` | integer | No | `1` | How many rental API pages to read for sale searches (each has up to 200 rentals). 1 is enough for most runs. |
| `stale_days` | integer | No | `90` | When fetch_details is on, listings this many days old (or older) are flagged as stale. Search cards do not include a publication date. |
| `fetch_details` | boolean | No | `False` | Open each listing page to add the first and last publication dates, days on market, ZIP code, floor, construction year and condo name. Off by default because the search API already has prices, fees, area, photos and c... |
| `include_description` | boolean | No | `True` | Save the short description from the search card (and the long text when fetch_details is on). |
| `include_images` | boolean | No | `True` | Save all photo URLs. Turn off for a smaller dataset (the main image is always saved). |
| `monitor_mode` | boolean | No | `False` | Only save new and price-changed listings (and removed ones if you turn that on). Schedule the Actor to run regularly. |
| `monitor_key` | string | No | — | Name for this watch list (so different searches do not share history). Letters, numbers and hyphens. |
| `emit_removed` | boolean | No | `False` | In monitor mode, also save listings that disappeared. Only works when the run covers the whole search. |
| `proxyConfiguration` | object | No | — | Optional. Not needed today. If QuintoAndar starts blocking, use Apify Proxy (RESIDENTIAL, country BR). |

### Output fields

| Field | Description |
|-------|-------------|
| `id` | QuintoAndar listing id. |
| `url` | Public listing URL. |
| `title` | Short title from the search card. |
| `operation` | alugar (rent) or comprar (sale). |
| `city` | City. |
| `neighbourhood` | Neighbourhood (bairro). |
| `rent_brl` | Monthly rent in BRL. Empty on sale-only listings. |
| `sale_price_brl` | Sale price in BRL. Empty on rent-only listings. |
| `area_m2` | Area in square metres. |
| `deal_label` | cheap (10%+ below the zone median), fair, or expensive (10%+ above). |
| `monitor_status` | In monitor mode: new, changed, unchanged or removed. |
| `scraped_at` | When this row was collected (ISO 8601). |

The dataset also includes 76 further fields. Open the Output tab in the Actor for the full list.

### FAQ

**Is scraping QuintoAndar legal?** This Actor collects publicly visible listing data. Do not collect personal data you are not allowed to use, and follow the site's terms and your local laws (including Brazil's LGPD).

**Does it need a proxy?** Not today. If QuintoAndar starts blocking, turn on Apify Proxy (RESIDENTIAL, country BR).

**Does it need a browser?** No. The official search API returns JSON, and listing coordinates are included when we ask for the `location` field.

**Other sites?** This version is QuintoAndar only. VivaReal and ZAP Imóveis are different sites.

**Found a problem?** Open an issue in the Issues tab and we will fix it.

### Related Actors

More data extractors by [kareninatech](https://apify.com/kareninatech):

- [Argenprop Scraper — Argentina and Uruguay listings](https://apify.com/kareninatech/argenprop-scraper)
- [Fincaraiz Scraper — Colombia property listings](https://apify.com/kareninatech/fincaraiz-scraper)
- [MercadoLibre Inmuebles Scraper — Mexico listings](https://apify.com/kareninatech/mercadolibre-inmuebles-scraper)
- [Chaves na Mão Scraper — Brazil property data](https://apify.com/kareninatech/chavesnamao-scraper)
- [TocToc Scraper — Chile property listings](https://apify.com/kareninatech/toctoc-scraper)
- [Fotocasa Scraper — Spain property listings](https://apify.com/kareninatech/fotocasa-scraper)
- [Habitaclia Scraper — Spain property listings](https://apify.com/kareninatech/habitaclia-scraper)

# Actor input Schema

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

Rent (alugar) or sale (comprar).

## `property_type` (type: `string`):

Type of property. Choose All types to include apartments, houses, studios and condo houses.

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

A place name as you would type it: São Paulo, Rio de Janeiro, Belo Horizonte, Campinas… Or a neighbourhood such as Pinheiros or Copacabana (famous neighbourhoods are mapped to the right city). You can also type 'Pinheiros, São Paulo'. For every city QuintoAndar covers, type 'Brasil' (do not leave this field empty — an omitted value is filled with the default, São Paulo). QuintoAndar itself lists about 99 cities, mostly in the South and Southeast.

## `neighbourhood` (type: `string`):

Optional. Restrict the search to one neighbourhood in the city above, for example Pinheiros or Copacabana.

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

Extra places to search in the same run. max_items is split between all searches.

## `search_url` (type: `string`):

Paste a search page from quintoandar.com.br with your filters already set. When you use URLs, the filters above are ignored. Listing URLs (/imovel/ID) are also accepted.

## `start_urls` (type: `array`):

Optional extra search or listing URLs from the same site. Leave empty to use the filters above.

## `min_price` (type: `integer`):

Minimum rent (for alugar) or sale price (for comprar), in Brazilian reais.

## `max_price` (type: `integer`):

Maximum rent (for alugar) or sale price (for comprar), in Brazilian reais.

## `min_m2` (type: `integer`):

Minimum area in square metres, for example 50. Leave empty for no minimum.

## `max_m2` (type: `integer`):

Maximum area in square metres, for example 150. Leave empty for no maximum.

## `min_bedrooms` (type: `integer`):

Minimum number of bedrooms, for example 2. Leave empty for no minimum.

## `min_bathrooms` (type: `integer`):

Minimum number of bathrooms, for example 1. Leave empty for no minimum.

## `min_parking` (type: `integer`):

Minimum number of parking spaces, for example 1. Leave empty for no minimum.

## `furnished` (type: `string`):

Only furnished or only unfurnished listings. Empty = both.

## `pets` (type: `string`):

Only listings that allow pets, when you choose Yes. Empty = both.

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

Order used on the QuintoAndar search (and again on the saved rows).

## `max_items` (type: `integer`):

Maximum listings to save (split between searches). The official search API returns up to 200 listings per request.

## `max_pages` (type: `integer`):

Maximum API pages to fetch per search (200 listings each). Leave empty to decide automatically from max_items.

## `compare_with_zone` (type: `boolean`):

Add a neighbourhood (or city) median, the % vs that median, and a cheap/fair/expensive deal label.

## `min_zone_peers` (type: `integer`):

A neighbourhood or city needs at least this many comparable listings before it is used as the median.

## `estimate_rental_yield` (type: `boolean`):

Compute annual gross yield. If a listing already has rent and a sale price, those are used. For sale listings without rent, the Actor samples rentals in the same neighbourhood.

## `yield_sample_pages` (type: `integer`):

How many rental API pages to read for sale searches (each has up to 200 rentals). 1 is enough for most runs.

## `stale_days` (type: `integer`):

When fetch_details is on, listings this many days old (or older) are flagged as stale. Search cards do not include a publication date.

## `fetch_details` (type: `boolean`):

Open each listing page to add the first and last publication dates, days on market, ZIP code, floor, construction year and condo name. Off by default because the search API already has prices, fees, area, photos and coordinates, and this option is slower.

## `include_description` (type: `boolean`):

Save the short description from the search card (and the long text when fetch_details is on).

## `include_images` (type: `boolean`):

Save all photo URLs. Turn off for a smaller dataset (the main image is always saved).

## `monitor_mode` (type: `boolean`):

Only save new and price-changed listings (and removed ones if you turn that on). Schedule the Actor to run regularly.

## `monitor_key` (type: `string`):

Name for this watch list (so different searches do not share history). Letters, numbers and hyphens.

## `emit_removed` (type: `boolean`):

In monitor mode, also save listings that disappeared. Only works when the run covers the whole search.

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

Optional. Not needed today. If QuintoAndar starts blocking, use Apify Proxy (RESIDENTIAL, country BR).

## Actor input object example

```json
{
  "operation": "alugar",
  "property_type": "all",
  "location": "São Paulo",
  "furnished": "",
  "pets": "",
  "sort": "relevance",
  "max_items": 42,
  "compare_with_zone": true,
  "min_zone_peers": 5,
  "estimate_rental_yield": true,
  "yield_sample_pages": 1,
  "stale_days": 90,
  "fetch_details": false,
  "include_description": true,
  "include_images": true,
  "monitor_mode": false,
  "emit_removed": false
}
```

# Actor output Schema

## `overview` (type: `string`):

Table view of scraped results using the dataset 'overview' view.

## `investor` (type: `string`):

No description

## `monitor` (type: `string`):

No description

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

All scraped results from the default dataset without view transformation.

## `marketReport` (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 = {
    "operation": "alugar",
    "property_type": "all",
    "location": "São Paulo",
    "max_items": 42
};

// Run the Actor and wait for it to finish
const run = await client.actor("kareninatech/quintoandar-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 = {
    "operation": "alugar",
    "property_type": "all",
    "location": "São Paulo",
    "max_items": 42,
}

# Run the Actor and wait for it to finish
run = client.actor("kareninatech/quintoandar-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 '{
  "operation": "alugar",
  "property_type": "all",
  "location": "São Paulo",
  "max_items": 42
}' |
apify call kareninatech/quintoandar-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,kareninatech/quintoandar-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/Ryl1ZeeBaHEzocbWp/builds/RT0OIcEtt1KIkw0wI/openapi.json
