# Brazil Real Estate Scraper - VivaReal & ZAP Imóveis (`jungle_synthesizer/brazil-vivareal-zap-imoveis-scraper`) Actor

Scrape Brazilian real estate listings from VivaReal and ZAP Imóveis. Extract sale and rental properties with price, IPTU, condo fee, area, bedrooms, address, lat/lon, amenities, and publisher contact.

- **URL**: https://apify.com/jungle\_synthesizer/brazil-vivareal-zap-imoveis-scraper.md
- **Developed by:** [BowTiedRaccoon](https://apify.com/jungle_synthesizer) (community)
- **Categories:** Real estate, Business, Other
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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

## Brazil Real Estate Scraper - VivaReal & ZAP Imóveis

Scrapes Brazilian real estate listings from [VivaReal](https://www.vivareal.com.br) and [ZAP Imóveis](https://www.zapimoveis.com.br), the two largest property portals in Brazil — both run by Grupo ZAP / OLX Brasil and sharing a single backend, which is convenient for everyone except their competitors. Returns ~3M active listings across all 26 states + Distrito Federal with price, IPTU, condominium fee, area, bedrooms, address, geo coordinates, amenities, photos, and licensed-agent contact.

---

### Brazil Real Estate Scraper Features

- Scrapes both portals — VivaReal and ZAP Imóveis — through one actor
- Filters by state (UF), city, business type (sale, rental, seasonal), and property type (apartment, house, land, commercial, farm, office)
- Returns 40+ fields per listing including IPTU and condominium fee, the holding-cost data investors actually need
- Includes publisher CRECI license number for agent verification
- Geo coordinates (lat/lon) on every listing — useful for map overlays, neighborhood scoring, or just satisfying your curiosity
- Cloudflare bypass and residential proxy handling are built in. You configure a state and city; the scraper does the rest

---

### Who Uses Brazil Real Estate Data?

- **PropTech startups** — Build comp pricing models, valuation engines, or rental yield analytics on Grupo ZAP's catalog
- **Foreign investors** — Screen Brazilian properties for sale by city, neighborhood, and price range without a local broker
- **Real estate agencies** — Track competitor inventory, pricing trends, and agent activity across both portals
- **Mortgage brokers** — Pull property metadata and IPTU into underwriting workflows. The IPTU number alone saves a phone call
- **Market analysts** — Aggregate listing volumes by region for monthly reports, or track price-per-square-meter shifts over time
- **Lead generation teams** — Extract verified agent contacts (CRECI, phone, email, website) for partnership outreach

---

### How Brazil Real Estate Scraper Works

1. Pick a portal (VivaReal, ZAP, or both), business type (sale or rental), state, and city.
2. The scraper clears Cloudflare once per portal using a managed-challenge solver and a Brazilian residential session, then paginates the underlying JSON endpoint that powers both sites.
3. Each listing is normalized into a flat record with consistent field names, snake_case, and predictable types — no nested arrays of unknown shape.
4. Output lands in the dataset, ready to export as JSON, CSV, Excel, or pipe into your warehouse.

---

### Input

```json
{
  "portal": "VIVAREAL",
  "business": "SALE",
  "propertyType": "",
  "state": "RJ",
  "city": "Rio de Janeiro",
  "maxItems": 15,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"],
    "apifyProxyCountry": "BR"
  }
}
````

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `portal` | string | `VIVAREAL` | Which portal to scrape: `VIVAREAL`, `ZAP`, or `BOTH`. Both portals share the same backend |
| `business` | string | `SALE` | `SALE`, `RENTAL`, or `VACATIONAL` (seasonal / short-term) |
| `propertyType` | string | `""` | Filter by type: `APARTMENT`, `HOME`, `ALLOTMENT_LAND`, `COMMERCIAL_BUILDING`, `COMMERCIAL_PROPERTY`, `FARM`, `OFFICE`. Blank = all types |
| `state` | string | `RJ` | Brazilian state UF code (`SP`, `RJ`, `MG`, `RS`, `PR`, etc.). All 26 states + DF supported |
| `city` | string | `Rio de Janeiro` | City name in Portuguese (e.g. `São Paulo`, `Belo Horizonte`). Leave blank for state-wide search |
| `maxItems` | integer | `15` | Maximum listings to return |
| `proxyConfiguration` | object | residential BR | Proxy settings. Residential Brazil is required — both portals sit behind Cloudflare |

#### Multi-Portal Example

To scrape both VivaReal and ZAP for rental apartments in São Paulo:

```json
{
  "portal": "BOTH",
  "business": "RENTAL",
  "propertyType": "APARTMENT",
  "state": "SP",
  "city": "São Paulo",
  "maxItems": 100
}
```

***

### Brazil Real Estate Scraper Output Fields

```json
{
  "listing_id": "2877823376",
  "portal": "VIVAREAL",
  "url": "https://www.vivareal.com.br/imovel/apartamento-2-quartos-copacabana-zona-sul-rio-de-janeiro-com-academia-50m2-venda-RS890000-id-2877823376/",
  "listing_type": "USED",
  "business": "SALE",
  "property_type": "APARTMENT",
  "title": "Apartamento à venda com 2 quartos com 1 suíte em Copacabana",
  "description": "Apartamento de 50 m² em Copacabana, próximo à praia, com vista parcial para o mar...",
  "price": 890000,
  "price_currency": "BRL",
  "rental_period": null,
  "condominium_fee": 950,
  "iptu": 2400,
  "area_total": 55,
  "area_useful": 50,
  "bedrooms": 2,
  "suites": 1,
  "bathrooms": 2,
  "parking_spaces": 1,
  "amenities": ["GYM", "POOL", "ELEVATOR", "PLAYGROUND", "SECURITY_24H"],
  "address_state": "Rio de Janeiro",
  "address_state_acronym": "RJ",
  "address_city": "Rio de Janeiro",
  "address_neighborhood": "Copacabana",
  "address_street": "Rua Barata Ribeiro",
  "address_number": null,
  "address_zipcode": "22040-001",
  "latitude": -22.9710,
  "longitude": -43.1822,
  "publisher_type": "REAL_ESTATE",
  "publisher_name": "Imobiliária Rio Sul",
  "publisher_creci": "J-12345",
  "publisher_phone": "+5521987654321",
  "publisher_email": "contato@riosulimoveis.com.br",
  "publisher_website": "https://www.riosulimoveis.com.br",
  "images": [
    "https://resizedimgs.vivareal.com/fit-in/870x653/named.images.sp/photo-1.jpg",
    "https://resizedimgs.vivareal.com/fit-in/870x653/named.images.sp/photo-2.jpg"
  ],
  "videos": [],
  "listed_at": "2025-12-12T14:30:00Z",
  "updated_at": "2026-04-21T09:15:00Z",
  "scraped_at": "2026-04-27T16:22:08.123Z"
}
```

| Field | Type | Description |
|-------|------|-------------|
| `listing_id` | string | Unique listing ID (Grupo ZAP backend, shared across both portals) |
| `portal` | string | Source portal: `VIVAREAL` or `ZAP` |
| `url` | string | Listing detail page URL |
| `listing_type` | string | `USED` or `DEVELOPMENT` |
| `business` | string | `SALE`, `RENTAL`, or `VACATIONAL` |
| `property_type` | string | Property unit type (e.g. `APARTMENT`, `HOME`, `ALLOTMENT_LAND`) |
| `title` | string | Listing headline |
| `description` | string | Listing body, truncated to 2000 characters |
| `price` | number | Listing price in BRL |
| `price_currency` | string | Always `BRL` |
| `rental_period` | string | `MONTHLY`, `WEEKLY`, or `DAILY` for rentals; null for sales |
| `condominium_fee` | number | Monthly condominium fee in BRL |
| `iptu` | number | Annual property tax (IPTU) in BRL |
| `area_total` | number | Total area in m² |
| `area_useful` | number | Useful (utility) area in m² |
| `bedrooms` | integer | Number of bedrooms |
| `suites` | integer | Number of en-suite bedrooms |
| `bathrooms` | integer | Number of bathrooms |
| `parking_spaces` | integer | Number of parking spaces |
| `amenities` | array | Listed amenities (e.g. `POOL`, `GYM`, `ELEVATOR`) |
| `address_state` | string | Brazilian state, full name (`Rio de Janeiro`) |
| `address_state_acronym` | string | Two-letter UF code (`RJ`) |
| `address_city` | string | City name |
| `address_neighborhood` | string | Neighborhood name |
| `address_street` | string | Street name |
| `address_number` | string | Street number — often null because Brazilian listings hide exact addresses |
| `address_zipcode` | string | Brazilian postal code (CEP) |
| `latitude` | number | Latitude in decimal degrees |
| `longitude` | number | Longitude in decimal degrees |
| `publisher_type` | string | `REAL_ESTATE`, `DEVELOPER`, or `OWNER` |
| `publisher_name` | string | Publisher / agent name |
| `publisher_creci` | string | Real estate license number (CRECI) — useful for agent verification |
| `publisher_phone` | string | Publisher phone number |
| `publisher_email` | string | Publisher email |
| `publisher_website` | string | Publisher website URL |
| `images` | array | Listing image URLs (resized to 870×653) |
| `videos` | array | Listing video URLs |
| `listed_at` | string | ISO 8601 date the listing was first published |
| `updated_at` | string | ISO 8601 date of last update |
| `scraped_at` | string | ISO 8601 timestamp of the scrape |

***

### FAQ

#### How do I scrape VivaReal and ZAP Imóveis?

Brazil Real Estate Scraper handles both portals through one input. Pick `VIVAREAL`, `ZAP`, or `BOTH`, set the state and city, and run. Both portals share the same backend, so the output schema is identical regardless of which portal a listing came from — only the `portal` and `url` fields differ.

#### How much does Brazil Real Estate Scraper cost to run?

The scraper is priced at $0.10 to start a run plus $0.002 per listing returned. 1,000 listings cost $2.10. 10,000 listings cost $20.10. The Cloudflare bypass and residential proxy are bundled into the per-record price, which keeps billing predictable.

#### What data can I get from VivaReal?

Brazil Real Estate Scraper extracts 40+ fields including price, IPTU, condominium fee, total and useful area, bedroom/bathroom/parking counts, amenities, full address (street, neighborhood, city, state, CEP), latitude/longitude, agent name and CRECI license, phone, email, website, photos, videos, and timestamps. The same fields are returned for ZAP Imóveis.

#### Can I filter by neighborhood or property type?

Brazil Real Estate Scraper filters by state, city, business type (sale/rental/seasonal), and property type. Neighborhood-level filtering happens client-side from the output — every listing returns its neighborhood field, so you can filter the dataset post-hoc.

#### Does Brazil Real Estate Scraper need proxies?

Brazil Real Estate Scraper requires Apify residential proxies pinned to Brazil. Both portals sit behind Cloudflare's managed challenge, and datacenter IPs get blocked at the edge. The default proxy configuration is set up correctly — you don't need to change anything unless you're routing through your own infrastructure.

#### Is the data fresh?

Brazil Real Estate Scraper hits the live source on every run, so listings reflect the current state of both portals at scrape time. There's no caching layer between you and the source. Active listings change daily — about 5-10% of inventory churns per day across the catalog.

***

### Need More Features?

Need different fields, a new region, or filters that aren't here? [File an issue](https://console.apify.com/actors/issues) or get in touch.

### Why Use Brazil Real Estate Scraper?

- **Two portals, one actor** — VivaReal and ZAP Imóveis through a single input. Most scrapers only cover one
- **IPTU and condo fee included** — These are the holding costs that determine whether a Brazilian property is actually a good investment, and most competing scrapers don't return them
- **Affordable** — ~$0.002 per listing, predictable PPE billing, no surprise residential bandwidth charges

# Actor input Schema

## `sp_intended_usage` (type: `string`):

Please describe how you plan to use the data extracted by this crawler.

## `sp_improvement_suggestions` (type: `string`):

Provide any feedback or suggestions for improvements.

## `sp_contact` (type: `string`):

Provide your email address so we can get in touch with you.

## `portal` (type: `string`):

Which portal to scrape. Both run by Grupo ZAP and share the same backend.

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

Sale, rental, or seasonal/vacation listings.

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

Filter by property type.

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

Brazilian state (two-letter UF code).

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

City name (Portuguese, e.g. 'Rio de Janeiro', 'São Paulo'). Leave blank for all cities in the state.

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

Maximum number of listings to scrape.

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

Residential proxies required — VivaReal and ZAP sit behind Cloudflare.

## Actor input object example

```json
{
  "sp_intended_usage": "Describe your intended use...",
  "sp_improvement_suggestions": "Share your suggestions here...",
  "sp_contact": "Share your email here...",
  "portal": "VIVAREAL",
  "business": "SALE",
  "propertyType": "",
  "state": "RJ",
  "city": "Rio de Janeiro",
  "maxItems": 15,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "BR"
  }
}
```

# 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 = {
    "sp_intended_usage": "Describe your intended use...",
    "sp_improvement_suggestions": "Share your suggestions here...",
    "sp_contact": "Share your email here...",
    "portal": "VIVAREAL",
    "business": "SALE",
    "propertyType": "",
    "state": "RJ",
    "city": "Rio de Janeiro",
    "maxItems": 15,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "BR"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("jungle_synthesizer/brazil-vivareal-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 = {
    "sp_intended_usage": "Describe your intended use...",
    "sp_improvement_suggestions": "Share your suggestions here...",
    "sp_contact": "Share your email here...",
    "portal": "VIVAREAL",
    "business": "SALE",
    "propertyType": "",
    "state": "RJ",
    "city": "Rio de Janeiro",
    "maxItems": 15,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "BR",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("jungle_synthesizer/brazil-vivareal-zap-imoveis-scraper").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "sp_intended_usage": "Describe your intended use...",
  "sp_improvement_suggestions": "Share your suggestions here...",
  "sp_contact": "Share your email here...",
  "portal": "VIVAREAL",
  "business": "SALE",
  "propertyType": "",
  "state": "RJ",
  "city": "Rio de Janeiro",
  "maxItems": 15,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "BR"
  }
}' |
apify call jungle_synthesizer/brazil-vivareal-zap-imoveis-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=jungle_synthesizer/brazil-vivareal-zap-imoveis-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Brazil Real Estate Scraper - VivaReal & ZAP Imóveis",
        "description": "Scrape Brazilian real estate listings from VivaReal and ZAP Imóveis. Extract sale and rental properties with price, IPTU, condo fee, area, bedrooms, address, lat/lon, amenities, and publisher contact.",
        "version": "1.0",
        "x-build-id": "PnbLJqfEOk7T12uk5"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/jungle_synthesizer~brazil-vivareal-zap-imoveis-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-jungle_synthesizer-brazil-vivareal-zap-imoveis-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/jungle_synthesizer~brazil-vivareal-zap-imoveis-scraper/runs": {
            "post": {
                "operationId": "runs-sync-jungle_synthesizer-brazil-vivareal-zap-imoveis-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/jungle_synthesizer~brazil-vivareal-zap-imoveis-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-jungle_synthesizer-brazil-vivareal-zap-imoveis-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "sp_intended_usage": {
                        "title": "What is the intended usage of this data?",
                        "minLength": 1,
                        "type": "string",
                        "description": "Please describe how you plan to use the data extracted by this crawler."
                    },
                    "sp_improvement_suggestions": {
                        "title": "How can we improve this crawler for you?",
                        "minLength": 1,
                        "type": "string",
                        "description": "Provide any feedback or suggestions for improvements."
                    },
                    "sp_contact": {
                        "title": "Contact Email",
                        "minLength": 1,
                        "type": "string",
                        "description": "Provide your email address so we can get in touch with you."
                    },
                    "portal": {
                        "title": "Portal",
                        "enum": [
                            "VIVAREAL",
                            "ZAP",
                            "BOTH"
                        ],
                        "type": "string",
                        "description": "Which portal to scrape. Both run by Grupo ZAP and share the same backend.",
                        "default": "VIVAREAL"
                    },
                    "business": {
                        "title": "Business Type",
                        "enum": [
                            "SALE",
                            "RENTAL",
                            "VACATIONAL"
                        ],
                        "type": "string",
                        "description": "Sale, rental, or seasonal/vacation listings.",
                        "default": "SALE"
                    },
                    "propertyType": {
                        "title": "Property Type",
                        "enum": [
                            "",
                            "APARTMENT",
                            "HOME",
                            "ALLOTMENT_LAND",
                            "COMMERCIAL_BUILDING",
                            "COMMERCIAL_PROPERTY",
                            "FARM",
                            "OFFICE"
                        ],
                        "type": "string",
                        "description": "Filter by property type.",
                        "default": ""
                    },
                    "state": {
                        "title": "State (UF)",
                        "enum": [
                            "SP",
                            "RJ",
                            "MG",
                            "RS",
                            "PR",
                            "SC",
                            "BA",
                            "DF",
                            "PE",
                            "CE",
                            "GO",
                            "ES",
                            "PA",
                            "AM",
                            "MT",
                            "MS",
                            "MA",
                            "PB",
                            "RN",
                            "AL",
                            "PI",
                            "SE",
                            "TO",
                            "RO",
                            "AC",
                            "AP",
                            "RR"
                        ],
                        "type": "string",
                        "description": "Brazilian state (two-letter UF code).",
                        "default": "RJ"
                    },
                    "city": {
                        "title": "City",
                        "type": "string",
                        "description": "City name (Portuguese, e.g. 'Rio de Janeiro', 'São Paulo'). Leave blank for all cities in the state.",
                        "default": "Rio de Janeiro"
                    },
                    "maxItems": {
                        "title": "Max Items",
                        "type": "integer",
                        "description": "Maximum number of listings to scrape.",
                        "default": 15
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Residential proxies required — VivaReal and ZAP sit behind Cloudflare."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
