# Lello Imóveis Scraper (`dadhalfdev/lello-imoveis-scraper`) Actor

Scrape homes for sale and rent from Lello Imóveis. Use the same city, neighborhood, purpose, type, bedroom, and price filters as the site, or paste a URL.

- **URL**: https://apify.com/dadhalfdev/lello-imoveis-scraper.md
- **Developed by:** [Marco Rodrigues](https://apify.com/dadhalfdev) (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.50 / 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

## 🏠 Lello Imóveis Scraper

Want [Lello Imóveis](https://www.lelloimoveis.com.br/venda/residencial/1-pagina/) homes in a spreadsheet? This scraper makes it easy.

Use **structured filters** (city, neighborhood, sale or rent, property type, bedrooms, price) — structured filters work better for AI agents — **or** paste an **`input_url`** from Lello once you've already filtered in the browser. When `input_url` is set it overrides the filters below.

Lello lists homes for sale and rent across São Paulo and nearby cities. Sale and rent share the same columns, so one search covers both. This actor returns up to 2000 rows per run.

### 💡 Perfect for...

- **Agents and relocators:** Export sale or rent ads with price, rooms, and area.
- **Dashboards:** Track São Paulo prices without paging the site.
- **Market research:** Slice by apartment, house, neighborhood, or price.
- **Data analysts:** Export structured listing rows with public Lello URLs.
- **🤖 AI Agents:** Power Claude, Cursor, Codex, the Hermes Agent, and OpenClaw workflows with live Lello results.
- **📚 RAG Systems:** Feed titles, locations, and prices into retrieval pipelines.
- **🔗 AI Workflows:** Plug into LangChain, AutoGPT, CrewAI, and similar stacks.

### ✨ Why you'll love this scraper

- 🔗 **Input URL or Filters:** Paste a property search URL (`input_url`) if you already filtered in the browser, or use structured filters (better for AI agents). `input_url` always wins when set.
- 🎯 **Website-Matched Filters:** Same city, neighborhood, purpose, property type, bedrooms, and price as Lello.
- 🌐 **Listing cards:** Price, rooms, area, address, photos, and the branch that published the ad.

### 📦 What's inside the data?

Every row includes the fields the Lello listing card actually fills: `id`, `url`, `title`, `price`, `currency`, `purpose`, `property_type`, `subtype`, `bedrooms`, `bathrooms`, `suites`, `area_m2`, `parking`, `address`, `neighborhood`, `region`, `zone`, `city`, `state`, `condominium`, `iptu`, `sale_price`, `rent_price`, `floor`, `latitude`, `longitude`, `branch`, `published`, `image`, `images`.

### 🚀 Quick start

**Option A — Input URL**

1. Open [Lello sale listings](https://www.lelloimoveis.com.br/venda/residencial/1-pagina/), apply filters, copy the URL.
2. Paste it into `input_url`.
3. Set `max_results` and click **Start**.

**Option B — Structured filters (better for AI agents)**

1. Leave `input_url` empty.
2. Type a city, For sale or For rent, and a property type such as Apartment.
3. Set `max_results` (up to 2000) and click **Start**.

***

#### Tech details for developers 🧑‍💻

**Input Example (filters):**

```json
{
  "city": "Sao Paulo",
  "neighborhood": "Pinheiros",
  "purpose": "For sale",
  "property_type": "Apartment",
  "bedrooms": "2",
  "price_max": "900000",
  "max_results": 100
}
```

**Input Example (URL override):**

```json
{
  "input_url": "https://www.lelloimoveis.com.br/venda/residencial/apartamento-tipos/pinheiros-sao_paulo-regioes/1-pagina/",
  "max_results": 50
}
```

**Output Example:**

```json
{
  "id": "19540",
  "url": "https://www.lelloimoveis.com.br/imovel/19540/",
  "title": "Apartamento à venda, 1 dormitório, 55 m², Vila Gomes Cardim, São Paulo",
  "price": 430000,
  "currency": "BRL",
  "purpose": "sale",
  "property_type": "Apartamento",
  "subtype": "Padrão",
  "bedrooms": 1,
  "bathrooms": 1,
  "suites": 0,
  "area_m2": 55,
  "parking": 1,
  "address": "Rua Euclides Pacheco",
  "neighborhood": "Vila Gomes Cardim",
  "region": "Tatuapé",
  "zone": "Leste",
  "city": "São Paulo",
  "state": "SP",
  "condominium": 709.26,
  "iptu": 0,
  "sale_price": 430000,
  "rent_price": null,
  "floor": 0,
  "latitude": -23.5473656,
  "longitude": -46.5644032,
  "branch": "Tatuapé",
  "published": "2003-07-25",
  "image": "https://d2wln4evk52tbc.cloudfront.net/16191/25910677.webp",
  "images": [
    "https://d2wln4evk52tbc.cloudfront.net/16191/25910677.webp"
  ]
}
```

**Output fields:**

| Field | Type | Description |
|-------|------|-------------|
| `id` | string | Listing number on Lello. |
| `url` | string | Public property page. |
| `title` | string | Type, purpose, size, neighborhood, and city. |
| `price` | number | Asking price for the selected purpose. |
| `currency` | string | Currency, BRL. |
| `purpose` | string | `sale` or `rent`. |
| `property_type` | string | Apartment, house, store, and the other types on the card. |
| `subtype` | string | Subtype shown on the card, such as Padrão. |
| `bedrooms` | integer | Bedroom count. |
| `bathrooms` | integer | Bathroom count. |
| `suites` | integer | Suite count. |
| `area_m2` | number | Area in square metres. |
| `parking` | integer | Parking spaces. |
| `address` | string | Street shown on the card. |
| `neighborhood` | string | Neighborhood. |
| `region` | string | Region, such as Tatuapé or Pinheiros. |
| `zone` | string | Zone, such as Leste. |
| `city` | string | City. |
| `state` | string | State abbreviation. |
| `condominium` | number | Estimated monthly condominium fee. |
| `iptu` | number | Estimated property tax. |
| `sale_price` | number | Sale price when the card shows one. |
| `rent_price` | number | Rent when the card shows one. |
| `floor` | integer | Floor shown on the card. |
| `latitude` | number | Map latitude. |
| `longitude` | number | Map longitude. |
| `branch` | string | Lello branch on the card. |
| `published` | string | Date the ad was registered. |
| `image` | string | First photo. |
| `images` | string | Photo list. Stored as a list of photo URLs. |

### 📋 Input reference (detailed)

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `input_url` | string | No | — | Paste a Lello property URL; overrides every filter when set. |
| `city` | string | No | — | Sao Paulo, Santo Andre, Guarulhos, and the other cities on Lello. |
| `neighborhood` | string | No | — | Neighborhood or region, such as Pinheiros or Moema. |
| `purpose` | string | No | For sale | For sale or For rent. |
| `property_type` | string | No | all | Apartment, House, Land, Store, Office, or Warehouse. |
| `bedrooms` | string | No | any | Minimum bedrooms, such as 2 or 2+. |
| `price_min` | string | No | — | Lowest price in reais. |
| `price_max` | string | No | — | Highest price in reais. |
| `max_results` | integer | No | `50` | Maximum rows (`1`–`2000`). |

#### Notes on filters

- City, purpose, and property type accept the names you would type, such as Sao Paulo, For sale, and Apartment.
- `input_url` always wins over the other filters when provided.
- Leave city empty to use the main residential sale area, which also includes nearby cities.

### 🔧 Custom scrapers and agents

If you need a custom web scraper, or custom AI agents and workflows, contact me through [tuik.ai](https://www.tuik.ai). We help businesses cut costs and time by up to 10x.

# Actor input Schema

## `input_url` (type: `string`):

Paste a Lello search URL after you filtered in the browser. Overrides every filter when set.

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

City on Lello, such as Sao Paulo, Santo Andre, or Guarulhos. Leave empty for the main sale area.

## `neighborhood` (type: `string`):

Neighborhood or region, such as Pinheiros, Moema, or Vila Mariana.

## `purpose` (type: `string`):

For sale or For rent.

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

Apartment, House, Land, Store, Office, or Warehouse. Leave empty for every type.

## `bedrooms` (type: `string`):

Minimum bedrooms, such as 2 or 2+.

## `price_min` (type: `string`):

Lowest price in Brazilian reais, such as 300000 or 300.000.

## `price_max` (type: `string`):

Highest price in Brazilian reais, such as 800000 or 800.000.

## `max_results` (type: `integer`):

How many rows to return (1–2000).

## Actor input object example

```json
{
  "purpose": "For sale",
  "max_results": 50
}
```

# Actor output Schema

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

Table view of scraped listings using the dataset overview view.

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

All scraped listings from the default dataset.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("dadhalfdev/lello-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("dadhalfdev/lello-imoveis-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 '{}' |
apify call dadhalfdev/lello-imoveis-scraper --silent --output-dataset

```

## MCP server setup

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