# Imovelweb Scraper (`anyxsolutions/imovelweb-scraper`) Actor

Scrapes property listings from imovelweb.com.br, Brazil's real-estate portal: search results with price, area, bedrooms and bathrooms, plus full listing details with address, phone and photos.

- **URL**: https://apify.com/anyxsolutions/imovelweb-scraper.md
- **Developed by:** [Anyx Solutions](https://apify.com/anyxsolutions) (community)
- **Categories:**
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.99 / 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?

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

![banner](generated)

## Imovelweb Scraper

**Property listings from imovelweb.com.br — Brazil's largest real-estate portal — as clean JSON.**

Scrapes property listings from imovelweb.com.br, Brazil's real-estate portal: search results with
price, area, bedrooms and bathrooms, plus full listing details with address, phone and photos. Point
it at any imovelweb search (apartments for rent in São Paulo, houses for sale in Rio, filtered
results) or at individual property pages and get structured data back as JSON, CSV, or Excel. Built
for real-estate analysts, investors, proptech teams, and anyone tracking the Brazilian housing market.

### ⚡ Quick start

```json
{
  "startUrls": [
    {
      "url": "https://www.imovelweb.com.br/apartamentos-aluguel-sao-paulo-sp.html"
    }
  ],
  "maxItems": 5
}
```

### 🧩 Input

| Field                | Type    | Required | Default                                                                                     | Description                                                                                                                                                                             |
| -------------------- | ------- | -------- | ------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `startUrls`          | array   | yes      | —                                                                                           | imovelweb.com.br URLs to scrape. Search pages (e.g. `https://www.imovelweb.com.br/apartamentos-aluguel-sao-paulo-sp.html`) and property pages (`/propriedades/...`) are both supported. |
| `maxItems`           | integer | no       | `5`                                                                                         | Maximum number of listings to return per start URL. Search pages are paginated until this limit is reached.                                                                             |
| `proxyConfiguration` | object  | no       | `{ "useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"], "apifyProxyCountry": "BR" }` | Apify proxy settings. The site is protected by Cloudflare, so Brazilian residential proxies are used by default.                                                                        |

### 📤 Output

Every listing is one dataset row. The `itemType` field tells the two shapes apart: `search` for a
card from a results page (display strings as shown on the site) and `property` for a full listing
page (numeric fields, address, phone, and photo URLs).

#### Fields

| Field           | Type            | Description                                                                              |
| --------------- | --------------- | ---------------------------------------------------------------------------------------- |
| `itemType`      | string          | `search` or `property`.                                                                  |
| `url`           | string          | Listing URL on imovelweb.com.br.                                                         |
| `title`         | string          | Listing title. On search cards this is the card's description line.                      |
| `price`         | string / number | Search cards: price as displayed, e.g. `R$ 6.500`. Property pages: numeric price in BRL. |
| `area`          | string          | Area as displayed, e.g. `62 m² tot.` (search only).                                      |
| `bedrooms`      | string / number | Bedrooms — `2 quartos` on search cards, `2` on property pages.                           |
| `bathrooms`     | string / number | Bathrooms — `1 banheiro` on search cards, `1` on property pages.                         |
| `thumbnail`     | string          | Card photo URL (search only).                                                            |
| `currency`      | string          | Always `BRL` (property only).                                                            |
| `description`   | string          | Listing description (property only).                                                     |
| `area_m2`       | number          | Floor area in square metres (property only).                                             |
| `phone`         | string          | Advertiser phone number (property only).                                                 |
| `street`        | string          | Street address (property only).                                                          |
| `neighborhood`  | string          | Neighbourhood (property only).                                                           |
| `city`          | string          | City (property only).                                                                    |
| `state`         | string          | State (property only).                                                                   |
| `price_display` | string          | Price as displayed, e.g. `R$ 6.800` (property only).                                     |
| `images`        | array           | Photo URLs (property only).                                                              |

<details><summary>Example output</summary>

```json
{
  "itemType": "property",
  "url": "https://www.imovelweb.com.br/propriedades/apartamento-todo-mobiliado-02-quartos-02-banheiros-e-3035939777.html",
  "currency": "BRL",
  "description": "LINDO APARTAMENTO, TOTALMENTE MOBILIADO, SENDO SALA ESPAÇOSA PARA DOIS AMBIENTES...",
  "bedrooms": 2,
  "bathrooms": 1,
  "area_m2": 62,
  "phone": "55 11972973733",
  "street": "FREI CANECA 546",
  "neighborhood": "Consolação",
  "city": "São Paulo",
  "state": "São Paulo",
  "title": "APARTAMENTO TODO MOBILIADO, 02 QUARTOS, 02 BANHEIROS E 01 VAGA",
  "price_display": "R$ 6.800",
  "price": 6800,
  "images": [
    "https://imgbr.imovelwebcdn.com/avisos/resize/2/30/35/93/97/77/1200x1200/6724326336.jpg?isFirstImage=true",
    "https://imgbr.imovelwebcdn.com/avisos/2/30/35/93/97/77/360x266/6724325144.jpg"
  ]
}
```

</details>

### 💡 Use cases

- **Market monitoring** — track asking rents and sale prices per neighbourhood over time.
- **Investment screening** — filter listings by price per square metre and spot under-priced units.
- **Lead generation** — collect advertiser phone numbers for agencies and property managers.
- **Portfolio benchmarking** — compare your own listings against what competitors publish.

### ❓ FAQ

- **Do I need a proxy?** Yes. imovelweb.com.br is protected by Cloudflare, so the Actor defaults to Brazilian residential proxies; other settings are likely to be blocked.
- **How many results can I get?** `maxItems` caps results per start URL and the Actor pages through search results until it is reached. Add more start URLs (other cities, property types, or filters) to widen coverage.
- **Can I scrape a single property?** Yes — pass its `/propriedades/...` URL as a start URL to get the `property` shape with address, phone, and photos.
- **Why did a run return fewer items than expected?** The site may have changed its layout or tightened its protection. Open an issue and we will update the Actor.

### 🔗 More scrapers by Anyx

- [Homegate Scraper](https://apify.com/anyxsolutions/homegate-scraper)
- [ImmoScout24 Scraper](https://apify.com/anyxsolutions/immoscout24-scraper)
- [ImmobilienScout24 Scraper](https://apify.com/anyxsolutions/immobilienscout24-scraper)
- [Kleinanzeigen Scraper](https://apify.com/anyxsolutions/kleinanzeigen)
- [Google Play Scraper](https://apify.com/anyxsolutions/google-play-scraper)

### 🤝 Anyx Solutions

We build custom scrapers and data-extraction pipelines.

- Email: tantosthor@gmail.com

### 🖼 Image credit

Image credit: [imovelweb.com.br](https://www.imovelweb.com.br/)

# Actor input Schema

## `startUrls` (type: `array`):

imovelweb.com.br URLs to scrape. Search pages (for example https://www.imovelweb.com.br/apartamentos-aluguel-sao-paulo-sp.html) and property pages (https://www.imovelweb.com.br/propriedades/...) are both supported.

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

Maximum number of listings to return per start URL. Search pages are paginated until this limit is reached.

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

Apify proxy settings. The site is protected by Cloudflare, so Brazilian residential proxies are used by default.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.imovelweb.com.br/apartamentos-aluguel-sao-paulo-sp.html"
    }
  ],
  "maxItems": 5,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "BR"
  }
}
```

# Actor output Schema

## `overview` (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 = {
    "startUrls": [
        {
            "url": "https://www.imovelweb.com.br/apartamentos-aluguel-sao-paulo-sp.html"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("anyxsolutions/imovelweb-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 = { "startUrls": [{ "url": "https://www.imovelweb.com.br/apartamentos-aluguel-sao-paulo-sp.html" }] }

# Run the Actor and wait for it to finish
run = client.actor("anyxsolutions/imovelweb-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 '{
  "startUrls": [
    {
      "url": "https://www.imovelweb.com.br/apartamentos-aluguel-sao-paulo-sp.html"
    }
  ]
}' |
apify call anyxsolutions/imovelweb-scraper --silent --output-dataset

```

## MCP server setup

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