# Quinto Andar - $1.0/1K (`gio21/quintoandar-scraper`) Actor

Scrape property listings from Quinto Andar (quintoandar.com.br). Apartments, houses, condos for rent or sale. Filter by city, price, bedrooms, bathrooms, area. Extracts prices, addresses, amenities, photos. Ideal for real estate market research in Brazil.

- **URL**: https://apify.com/gio21/quintoandar-scraper.md
- **Developed by:** [Gio](https://apify.com/gio21) (community)
- **Categories:** Real estate
- **Stats:** 46 total users, 7 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $1.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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Quinto Andar Scraper

Extract property listings from [Quinto Andar](https://www.quintoandar.com.br), one of Brazil's largest real estate platforms for buying and renting properties.

This actor uses a real browser to access Quinto Andar's internal API, returning clean, structured property data with full filter support and proper pagination.

### ðŸ”‘ Key Features

- **Full filter support** â€” area, price, bedrooms, bathrooms, parking, furnished, pets, subway proximity
- **Rent & Sale** â€” works for both `alugar` and `comprar` searches
- **Proper pagination** â€” fetches all results up to your limit, not just the first page
- **Cloudflare bypass** â€” uses a real browser fingerprint; no proxy required
- **Pay Per Property** â€” only pay for what you get ($0.001 per property = $1 per 1,000)

### ðŸ’° Pricing

| Event | Price |
|-------|-------|
| Property scraped | $0.001 |
| Actor start | $0.00005 |

**Example:** 500 properties = ~$0.50

### ðŸ“‹ Input

#### Required

| Field | Type | Description |
|-------|------|-------------|
| `location` | string | City name **or** Quinto Andar search URL |
| `searchType` | `"rent"` / `"buy"` | Type of search (default: `"rent"`) |

**Location examples:**

- City name: `SÃ£o Paulo` / `Rio de Janeiro` / `Belo Horizonte`
- URL: `https://www.quintoandar.com.br/alugar/imovel/sao-paulo-sp-brasil`

#### Optional Filters

| Field | Default | Description |
|-------|---------|-------------|
| `maxItems` | 100 | Max properties to return |
| `apartments` | `true` | Include apartments |
| `houses` | `true` | Include houses |
| `condominiumHouses` | `true` | Include condominium houses |
| `studioApartments` | `true` | Include studios |
| `minArea` | 20 | Min area (mÂ²) |
| `maxArea` | 10000 | Max area (mÂ²) |
| `minPrice` | 0 | Min price (R$) |
| `maxPrice` | 20000000 | Max price (R$) |
| `rentValueType` | `"total"` | `"total"` (rent+condo+IPTU) or `"rentOnly"` |
| `minCondoPrice` | â€” | Min condo fee R$ *(buy only)* |
| `maxCondoPrice` | â€” | Max condo fee R$ *(buy only)* |
| `minBedrooms` | â€” | Min bedrooms (1 = 1+, 2 = 2+, etc.) |
| `minBathrooms` | â€” | Min bathrooms (1â€“4) |
| `minGarages` | â€” | Min parking spaces |
| `minSuits` | â€” | Min suites |
| `furnished` | both | `"yes"` / `"no"` / null |
| `closeToSubway` | both | `"yes"` / `"no"` / null |
| `acceptPets` | both | `"yes"` / `"no"` / null |
| `availability` | both | `"available"` / `"unavailable"` / null |
| `neighborhoods` | â€” | Array of neighborhood names to filter by (e.g. `["Pinheiros", "Vila Madalena"]`) |
| `maxDaysOld` | â€” | Only return properties listed within the last N days |

#### Example Input (JSON)

```json
{
    "location": "SÃ£o Paulo",
    "searchType": "rent",
    "maxItems": 200,
    "minBedrooms": 2,
    "maxPrice": 4000,
    "furnished": "yes",
    "acceptPets": "yes",
    "closeToSubway": "yes",
    "neighborhoods": ["Pinheiros", "Vila Madalena", "Moema"]
}
```

### ðŸ“¦ Output

Each property is returned as a JSON object:

```json
{
    "id": "abc123",
    "title": "Apartamento 2 quartos - Pinheiros",
    "address": "Rua Aspicuelta, 123 - Pinheiros, SÃ£o Paulo",
    "neighborhood": "Pinheiros",
    "city": "SÃ£o Paulo",
    "state": "SP",
    "propertyType": "APARTMENT",
    "area": 65,
    "bedrooms": 2,
    "bathrooms": 1,
    "parkingSpaces": 1,
    "suites": 1,
    "floor": 3,
    "rent": 2800,
    "condoFee": 450,
    "iptu": 120,
    "totalCost": 3370,
    "salePrice": null,
    "furnished": true,
    "acceptPets": true,
    "closeToSubway": true,
    "availability": "available",
    "listedAt": "2026-02-15T10:30:00Z",
    "coverImage": "https://media.quintoandar.com.br/mobi/media/abc123/extra_large/",
    "url": "https://www.quintoandar.com.br/imovel/abc123"
}
```

### ðŸ���™ï¸��� Supported Cities

SÃ£o Paulo, Rio de Janeiro, Belo Horizonte, Porto Alegre, BrasÃ­lia, Curitiba, GoiÃ¢nia, Campinas, FlorianÃ³polis, Salvador, Fortaleza, Recife, Manaus, BelÃ©m, Guarulhos, NiterÃ³i, Osasco, Santo AndrÃ©, SÃ£o Bernardo do Campo, SÃ£o JosÃ© dos Campos, Santos, RibeirÃ£o Preto, Sorocaba, UberlÃ¢ndia, Contagem, Betim, and 50+ more.

### âš™ï¸��� Technical Details

- **Stack:** Node.js + [puppeteer-real-browser](https://github.com/zfcsoftware/puppeteer-real-browser)
- **Anti-bot bypass:** Real Chrome fingerprint (no proxy needed)
- **Pagination:** Intercepts Quinto Andar's internal search API and replays paginated requests
- **Runtime:** ~60â€“120 seconds per run depending on the number of properties requested

### ðŸ“��� Notes

- Quinto Andar requires JavaScript â€” this actor uses a real browser, not a simple HTTP client
- Run times may vary based on Quinto Andar's server load and anti-bot measures
- If the actor is marked as "under maintenance", it means Quinto Andar changed their frontend. Please [open an issue](https://github.com/apify/apify-actor-issues) and we'll fix it promptly.

# Actor input Schema

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

City name (e.g. 'SÃ£o Paulo') or a Quinto Andar search URL (e.g. https://www.quintoandar.com.br/alugar/imovel/sao-paulo-sp-brasil)

## `searchType` (type: `string`):

Search for rental or sale properties

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

Maximum number of properties to scrape. Each scraped property is charged per the pricing config.

## `deepScrape` (type: `boolean`):

Enrich each property with 70+ deep fields: amenities, installations, photos with subtitles, places nearby, listings history, condo type, room-by-room details. Adds ~10-20s per 500 items but greatly improves data quality. Default: true.

## `apartments` (type: `boolean`):

Include apartment listings

## `houses` (type: `boolean`):

Include house listings

## `condominiumHouses` (type: `boolean`):

Include condominium house listings

## `studioApartments` (type: `boolean`):

Include studio apartment listings

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

Minimum property area in square meters. Defaults to 20 mÂ² if not specified.

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

Maximum property area in square meters. Defaults to 10,000 mÂ² if not specified.

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

Minimum price in Brazilian Reais. For rent: monthly amount. For buy: total sale price.

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

Maximum price in Brazilian Reais. For rent: monthly amount. For buy: total sale price.

## `rentValueType` (type: `string`):

Type of rent value to filter. Only applies for rent searches.

## `minCondoPrice` (type: `integer`):

Minimum condominium fee + IPTU. Only applies for buy searches.

## `maxCondoPrice` (type: `integer`):

Maximum condominium fee + IPTU. Only applies for buy searches.

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

Minimum number of bedrooms. Setting to 2 means 2+ bedrooms, etc.

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

Minimum number of bathrooms (1 to 4).

## `minGarages` (type: `integer`):

Minimum number of parking spaces.

## `minSuits` (type: `integer`):

Minimum number of suites.

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

Filter by furnished status. Leave empty for both.

## `closeToSubway` (type: `string`):

Filter by proximity to subway stations.

## `acceptPets` (type: `string`):

Filter by pet policy.

## `availability` (type: `string`):

Filter by availability status.

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

Filter by neighborhood names (case-insensitive). Leave empty to include all. Example: \["Pinheiros", "Vila Madalena"]

## `maxDaysOld` (type: `integer`):

Only include listings published within the last N days. Helps filter out stale/inactive listings. Leave empty to include all. Note: only works when the listing date is available in the data (not always returned by the API).

## Actor input object example

```json
{
  "location": "SÃ£o Paulo",
  "searchType": "rent",
  "maxItems": 10,
  "deepScrape": true,
  "apartments": true,
  "houses": true,
  "condominiumHouses": true,
  "studioApartments": true,
  "rentValueType": "total"
}
```

# Actor output Schema

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

All scraped property listings from Quinto Andar â€” includes address, price, area, bedrooms, bathrooms, parking, furnished status, and more.

# 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": "SÃ£o Paulo",
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("gio21/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 = {
    "location": "SÃ£o Paulo",
    "maxItems": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("gio21/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 '{
  "location": "SÃ£o Paulo",
  "maxItems": 10
}' |
apify call gio21/quintoandar-scraper --silent --output-dataset

```

## MCP server setup

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