# Chaves na Mão Property Scraper (`scrapingmonkey/chavesnamao-br-property-scraper`) Actor

Scrape Chaves na Mão property listings and details. Collect available prices, locations, descriptions and property features. Export to Excel, CSV or JSON.

- **URL**: https://apify.com/scrapingmonkey/chavesnamao-br-property-scraper.md
- **Developed by:** [ScrapingMonkey](https://apify.com/scrapingmonkey) (community)
- **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.
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

## Chaves na Mão Property Scraper 🏠

**Chaves na Mão Property Scraper** collects public real estate listings from Chaves na Mão and exports the available property information to Excel, CSV or JSON. Use it to compare advertised properties, maintain listing datasets and prepare property-market reports.

Search using property type, then set how many results you need. Each property is saved as one row, with its source link and the information available in the selected mode.

### Chaves na Mão Scraper at a glance ✨

| Feature | What you get |
|---|---|
| Input | Search filters and property listing links |
| Output | One row per property, plus failed input outcomes |
| Result limit | `maxResults` applies to each search or supplied link; minimum 1 |
| Pagination | Automatic, until the result limit or end of results |
| Login | No website account or login cookies required |
| Export | Excel, CSV, JSON and Apify integrations |

### What can you collect from Chaves na Mão? 📋

| Collection mode | What it returns |
|---|---|
| Property Search | Matching listing records with the fields published in the search results. |
| Property Details | The property description, specifications and other available information from each listing. |

Available coverage:

- Only Sao Paulo, Brazil and listed filter options are implemented.
- Contact forms, login-only information and contact unlocking are excluded.

### How to scrape Chaves na Mão 🚀

1. Choose what to collect.
2. Complete the fields for that mode.
3. Set **Maximum results per search or link** and start the Actor.
4. Open the results table or export the dataset.

### Chaves na Mão input examples ⚙️

#### Property Search

```json
{
  "mode": "search",
  "propertyType": "All properties",
  "maxResults": 50
}
```

#### Property Details

```json
{
  "mode": "details",
  "propertyUrls": [
    "https://www.chavesnamao.com.br/imovel/predio-a-venda-com-garagem-sp-sao-paulo-sapopemba-808m2-RS4000000/id-17551989/"
  ],
  "maxResults": 1
}
```

`maxResults` limits saved rows separately for each search or supplied link. A detail lookup normally returns one property. The website may publish fewer matching properties than the requested limit.

### Chaves na Mão output data 📊

All returned fields are included in **one results table**. A property stays in one row; photos, amenities and other lists do not create extra rows. Fields unavailable for a particular listing or mode remain empty.

| Field | Meaning |
|---|---|
| `result_type` | Result type, when published. |
| `input` | Input, when published. |
| `status` | Whether this property was collected successfully. |
| `error_code` | Error code, when published. |
| `error_message` | Error message, when published. |
| `mode` | The selected search or property detail mode. |
| `property_id` | Stable identifier for this property on the source website. |
| `url` | Public page for this property. |
| `source` | Name of the property website. |
| `title` | Property name or listing headline. |
| `card_text` | Visible text from this property’s search result card. |
| `area` | Advertised floor area or lowest available floor area. |
| `price_text` | Price as displayed by the website, including qualifiers. |
| `price` | Advertised asking price or lowest advertised rent; see price_text and currency. |
| `currency` | Currency or indexed unit used by the asking price. |
| `area_unit` | Unit used for floor area. |
| `photos` | Public property photo links. |
| `bedrooms` | Advertised number of bedrooms or minimum for available units. |
| `bathrooms` | Advertised number of bathrooms or minimum for available units. |
| `additional_fields.name` | Additional fields / name, when published. |
| `additional_fields.value` | Additional fields / value, when published. |
| `description` | Public description supplied with the property. |
| `rooms` | Total room count, when the website provides it. |
| `pets_allowed` | Published pet policy. |
| `address.@type` | Public property address, including its component fields when available. |
| `address.streetAddress` | Public property address, including its component fields when available. |
| `address.addressLocality` | Public property address, including its component fields when available. |
| `address.addressRegion` | Public property address, including its component fields when available. |
| `address.addressCountry` | Public property address, including its component fields when available. |
| `address.postalCode` | Public property address, including its component fields when available. |
| `location` | Public location label for the property. |
| `latitude` | Latitude published by the website. |
| `longitude` | Longitude published by the website. |
| `features.@type` | Public amenities and property features. |
| `features.name` | Public amenities and property features. |
| `features.value` | Public amenities and property features. |
| `details_text` | Visible text from the property content section. |

### Complete Chaves na Mão output examples 📦

#### Property Search result

```json
{
  "result_type": "search",
  "input": "{\"propertyType\": \"All properties\"}",
  "status": "success",
  "mode": "search",
  "property_id": "17551989",
  "url": "https://www.chavesnamao.com.br/imovel/predio-a-venda-com-garagem-sp-sao-paulo-sapopemba-808m2-RS4000000/id-17551989/",
  "source": "Chaves na Mão",
  "title": "Prédio à venda, 590 m² por R$ 4.000.000,00 - Sapopemba - São Paulo/SP",
  "card_text": "Imóveis à venda SP São Paulo 941.793 Imóveis à venda em São Paulo - SP Criar alerta Prédio à venda, 590 m² por R$ 4.000.000,00 - Sapopemba - São Paulo/SP Rua Sapopemba, 3978 Sapopemba, São Paulo/SP 590 m² 12 R$ 4.000.000",
  "area": 590,
  "price_text": "R$ 4.000.000",
  "price": 4000000,
  "currency": "BRL",
  "area_unit": "m²",
  "photos": [
    "https://www.chavesnamao.com.br/imn/0400X0262/N/60/imoveis/40865/17551989/sp-sao-paulo-sapopemba-rua-sapopemba-predio-a-venda-653dbf80-1.jpg"
  ],
  "bedrooms": null,
  "bathrooms": null,
  "additional_fields.name": [],
  "additional_fields.value": []
}
```

#### Property Details result

```json
{
  "result_type": "details",
  "input": "https://www.chavesnamao.com.br/imovel/predio-a-venda-com-garagem-sp-sao-paulo-sapopemba-808m2-RS4000000/id-17551989/",
  "status": "success",
  "mode": "details",
  "property_id": "17551989",
  "url": "https://www.chavesnamao.com.br/imovel/predio-a-venda-com-garagem-sp-sao-paulo-sapopemba-808m2-RS4000000/id-17551989/",
  "source": "Chaves na Mão",
  "title": "Prédio na Rua Sapopemba, 3978, Sapopemba, São Paulo - SP",
  "description": "Comprar Prédio na Rua sapopemba, 3978, Sapopemba em São Paulo por R$ 4000000 com 12 garagens e com 590m². Falar com IMOBILIÁRIA MONTE SIÃO, ref: do imóvel: PR0071.",
  "photos": [
    "https://www.chavesnamao.com.br/imn/1200x0800/N/70/imoveis/40865/17551989/sp-sao-paulo-sapopemba-rua-sapopemba-predio-a-venda-653dbf80-1.jpg",
    "https://www.chavesnamao.com.br/imn/1200x0800/N/70/imoveis/40865/17551989/sp-sao-paulo-sapopemba-rua-sapopemba-predio-a-venda-653dbf80-2.jpg",
    "https://www.chavesnamao.com.br/imn/1200x0800/N/70/imoveis/40865/17551989/sp-sao-paulo-sapopemba-rua-sapopemba-predio-a-venda-653dbf80-3.jpg",
    "https://www.chavesnamao.com.br/imn/1200x0800/N/70/imoveis/40865/17551989/sp-sao-paulo-sapopemba-rua-sapopemba-predio-a-venda-653dbf80-4.jpg",
    "https://www.chavesnamao.com.br/imn/1200x0800/N/70/imoveis/40865/17551989/sp-sao-paulo-sapopemba-rua-sapopemba-predio-a-venda-653dbf80-5.jpg",
    "https://www.chavesnamao.com.br/imn/1200x0800/N/70/imoveis/40865/17551989/sp-sao-paulo-sapopemba-rua-sapopemba-predio-a-venda-653dbf80-6.jpg",
    "https://www.chavesnamao.com.br/imn/1200x0800/N/70/imoveis/40865/17551989/sp-sao-paulo-sapopemba-rua-sapopemba-predio-a-venda-653dbf80-7.jpg",
    "https://www.chavesnamao.com.br/imn/1200x0800/N/70/imoveis/40865/17551989/sp-sao-paulo-sapopemba-rua-sapopemba-predio-a-venda-653dbf80-8.jpg",
    "https://www.chavesnamao.com.br/imn/1200x0800/N/70/imoveis/40865/17551989/sp-sao-paulo-sapopemba-rua-sapopemba-predio-a-venda-653dbf80-9.jpg"
  ],
  "price": 4000000,
  "currency": "BRL",
  "bedrooms": "0",
  "rooms": "0",
  "bathrooms": "0",
  "pets_allowed": false,
  "area": 590,
  "area_unit": "MTK",
  "address.@type": "PostalAddress",
  "address.streetAddress": "Rua Sapopemba, 3978",
  "address.addressLocality": "Sapopemba, São Paulo",
  "address.addressRegion": "SP",
  "address.addressCountry": "BR",
  "address.postalCode": "03345-001",
  "location": "Rua Sapopemba, 3978, Sapopemba, São Paulo, SP, 03345-001",
  "latitude": -2357611,
  "longitude": -465512,
  "features.@type": [
    "LocationFeatureSpecification",
    "LocationFeatureSpecification",
    "LocationFeatureSpecification"
  ],
  "features.name": [
    "Garagem coberta",
    "Piso de cerâmica",
    "Vaga(s) de garagem"
  ],
  "features.value": [
    true,
    true,
    true
  ],
  "details_text": "Area útil/total: Quartos: Suites: Garagens: Banheiros:",
  "additional_fields.name": [],
  "additional_fields.value": []
}
```

Values are real examples from validation and can change as listings are edited or removed. Optional information varies by property.

### Chaves na Mão input settings 🧩

| Setting | What to enter |
|---|---|
| **What to collect** (`mode`) | Choose the information you need. |
| **Maximum results per search or link** (`maxResults`) | Collect up to this many saved results for each search or property link. Minimum: 1. |
| **Property type** (`propertyType`) | Choose the type of property to include. |
| **Property listing links** (`propertyUrls`) | Paste one property listing link per line. For Property Details. |

### Chaves na Mão scraping use cases 🎯

#### Compare advertised property prices

Group Chaves na Mão listings by the available location, property type and size to compare asking prices. Asking prices are not completed-sale prices.

#### Build a property shortlist

Export matching Chaves na Mão properties with their source links so a team can review the original listings.

#### Track listing changes

Save repeated exports and compare stable listing IDs, prices and available specifications.

#### Prepare real estate market reports

Combine the published Chaves na Mão fields into a spreadsheet or reporting workflow, keeping the source URL for each property.

### Pricing and saved-result behavior 💰

See the Actor’s **Pricing** tab for the active pricing model and current rate. Store settings may change, so this README does not claim a fixed cost.

Under dataset-item pricing:

- Each property saved in the dataset is one result.
- Images and specifications attached to a property do not add rows.
- Retry attempts do not create extra dataset rows.
- A saved `failed` row is also one billable dataset item, including invalid inputs, unavailable items, no results or exhausted retries. At most one failed row is saved per input.
- `maxResults` caps all saved rows for each input, including its failed row. Repeated copies of the same input are processed once.

### Chaves na Mão scraper API and integrations 🔌

Replace `$ACTOR_ID` with the ID shown in the Actor API tab and `$APIFY_TOKEN` with your token.

```bash
curl -X POST "https://api.apify.com/v2/acts/$ACTOR_ID/runs?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"mode":"search","propertyType":"All properties","maxResults":50}'
```

Use schedules for recurring exports, webhooks for completion notifications, and Apify integrations for Google Sheets, Make, Zapier, cloud storage or your own application.

### Reliability, retries, and public-data limits ⚠️

Temporary request failures are retried up to five total attempts. Invalid inputs save a failed row without an HTTP request; confirmed unavailable properties save a failed row without unnecessary retries. Results already collected remain available if a later request fails. Normal pagination completion adds no error row. Collection also stops after two consecutive pages add no new results. Failures while initializing the Actor, saving data or scheduling requests stop the run.

Chaves na Mão controls which property information is public. Removed or restricted listings may be unavailable, and optional values remain empty when the site does not provide them.

### Frequently asked questions ❓

#### Do I need a Chaves na Mão account?

No. The Actor collects public property information without requiring website login details.

#### How does maxResults work?

It limits the total saved rows for each search or supplied link. The minimum is 1. Detail mode normally returns one record per property URL.

#### Why are some fields empty?

The website may not publish that value, or it may be available only in another collection mode. Missing values are not guessed.

#### Can I export every returned field?

Yes. Every returned field is represented in the same dataset view and is available for export.

### Support and responsible use 🛟

For a reproducible issue, share the run ID, selected mode, result limit and a safe public example through the support channel. Do not disclose tokens, passwords or proxy credentials.

Use public Chaves na Mão information responsibly and follow the requirements that apply to your use of the data.

# Actor input Schema

## `mode` (type: `string`):

Choose the information you need.

## `maxResults` (type: `integer`):

Collect up to this many saved results for each search or property link. Minimum: 1.

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

Choose the type of property to include.

## `propertyUrls` (type: `array`):

Paste one property listing link per line. For Property Details.

## Actor input object example

```json
{
  "mode": "search",
  "maxResults": 10,
  "propertyType": "All properties",
  "propertyUrls": [
    "https://www.chavesnamao.com.br/imovel/predio-a-venda-com-garagem-sp-sao-paulo-sapopemba-808m2-RS4000000/id-17551989/"
  ]
}
```

# Actor output Schema

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

Property results and failed input outcomes, with all returned fields.

# 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 = {
    "mode": "search",
    "maxResults": 10,
    "propertyUrls": [
        "https://www.chavesnamao.com.br/imovel/predio-a-venda-com-garagem-sp-sao-paulo-sapopemba-808m2-RS4000000/id-17551989/"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapingmonkey/chavesnamao-br-property-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 = {
    "mode": "search",
    "maxResults": 10,
    "propertyUrls": ["https://www.chavesnamao.com.br/imovel/predio-a-venda-com-garagem-sp-sao-paulo-sapopemba-808m2-RS4000000/id-17551989/"],
}

# Run the Actor and wait for it to finish
run = client.actor("scrapingmonkey/chavesnamao-br-property-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 '{
  "mode": "search",
  "maxResults": 10,
  "propertyUrls": [
    "https://www.chavesnamao.com.br/imovel/predio-a-venda-com-garagem-sp-sao-paulo-sapopemba-808m2-RS4000000/id-17551989/"
  ]
}' |
apify call scrapingmonkey/chavesnamao-br-property-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapingmonkey/chavesnamao-br-property-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/h5Re6xNbankKlYU9M/builds/zeI5Y6KOYuyp7LSMx/openapi.json
