# Brazil Property Auctions Scraper — Leilão de Imóveis (`joao_crevellari/leiloes-imoveis`) Actor

Brazil real estate auctions (leilão de imóveis) from Mega Leilões: bank-owned homes from Santander, Itaú, Bradesco and court (judicial) auctions. Current bid, 1st and 2nd round dates and prices, discount, city and link. Filter by state, type, bank and discount; daily new-lot alerts.

- **URL**: https://apify.com/joao_crevellari/leiloes-imoveis.md
- **Developed by:** [João Crevellari](https://apify.com/joao_crevellari) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 87.5% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 property lots

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?

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

## Brazil Property Auctions — bank-owned and court auctions (Mega Leilões)

Get every **property in auction** listed on **Mega Leilões**, one of Brazil's largest auction houses: bank-owned homes from **Santander, Itaú, Bradesco and Sicoob** plus **court (judicial) auctions**, with opening bid, **1st and 2nd round dates and prices**, discount, city, state, area and link. Filter what matters and get **only new lots** on each scheduled run.

🇧🇷 [Leia em português](#português)

### Why this Actor

- **Full catalog in about 30 seconds**: the whole real-estate section (around 500 lots) in one run (set `maxResults` to 500; the default of 100 keeps the first try cheap).
- **Investor-ready fields**: current bid, 1st and 2nd round prices and dates, discount from the 1st to the 2nd round, number of bids and views (a demand signal).
- **Filters**: state, city (accents ignored), property type, judicial or bank-owned, bank, price range and minimum discount.
- **Daily alerts**: `onlyNew = true` delivers each lot once, so a daily schedule becomes a "new auctions" feed.
- **No personal data**: only the public listing card. Case parties, debtors and descriptions are never collected.
- **You pay only for delivered lots.**

### Who uses it

- Auction investors and flippers looking for discounts.
- Real-estate agents and auction consultancies (assessoria de leilão) serving clients.
- Credit, appraisal and market-research teams following bank-owned inventory.

### Input

| Field | What it does | Default |
|---|---|---|
| `states` | Brazilian states (UF). Empty = whole country. | — |
| `cities` | City names, e.g. `["São Paulo", "Campinas"]`. | — |
| `propertyTypes` | Apartamento, Casa, Terreno, Rural, Comercial, Galpão, Vaga de garagem, Outros. | — |
| `auctionTypes` | `judicial` and/or `extrajudicial` (bank-owned). | — |
| `banks` | Santander, Itaú, Bradesco, Sicoob… | — |
| `minPrice` / `maxPrice` | Current bid range in BRL. | — |
| `minDiscountPercent` | Minimum discount from the 1st to the 2nd round. | — |
| `onlyNew` + `monitorName` | Never deliver the same lot twice for this monitor. | `false` |
| `maxResults` | Stop after N lots (full catalog ≈ 500). | `100` |

Example — apartments in São Paulo state with at least 40% discount:

```json
{
  "states": ["SP"],
  "propertyTypes": ["Apartamento"],
  "minDiscountPercent": 40,
  "onlyNew": true,
  "monitorName": "sp-apartamentos"
}
```

### Output

Real example:

```json
{
  "id": "J129451",
  "title": "Direitos sobre Apartamento 53 m² (01 vaga) - Cooperativa - São Bernardo do Campo - SP",
  "propertyType": "Apartamento",
  "areaM2": 53,
  "city": "São Bernardo Do Campo",
  "state": "SP",
  "auctionType": "Judicial",
  "bank": null,
  "lotNumber": "1",
  "rounds": 2,
  "status": "Aberto para lances",
  "currentPrice": 96090.34,
  "firstRoundDate": "2026-10-26T11:00:00-03:00",
  "firstRoundPrice": 192180.67,
  "secondRoundDate": "2026-11-17T11:00:00-03:00",
  "secondRoundPrice": 96090.34,
  "discountPercent": 50,
  "views": 18146,
  "bids": 1,
  "url": "https://www.megaleiloes.com.br/imoveis/apartamentos/sp/sao-bernardo-do-campo/direitos-sobre-apartamento-53-m2-01-vaga-cooperativa-sao-bernardo-do-campo-sp-j129451",
  "imageUrl": "https://cdn1.megaleiloes.com.br/batches/129451/1d7ef04fcf99066e41ab9abda05c3c1b_320x240.jpg",
  "source": "Mega Leilões",
  "scrapedAt": "2026-11-16T21:40:37.359Z"
}
```

`discountPercent` exists only for lots with a 2nd round. Single-round bank sales show their price in `firstRoundPrice`. Always read the official notice (edital) on the lot page before bidding.

### Pricing

- **US$ 0.003 per lot delivered** (US$ 3 per 1,000).
- **US$ 0.001 per run.**

The full catalog (about 500 lots) costs about US$ 1.50; a daily "only new" alert usually costs a few cents.

### Legal

Public listing data only, no login, no personal data, `robots.txt` respected and one page every 2 seconds. Not affiliated with Mega Leilões.

***

### Português

#### Leilões de imóveis Brasil — bancos e judiciais (Mega Leilões)

Todos os **imóveis em leilão** do **Mega Leilões**, uma das maiores leiloeiras do Brasil: imóveis retomados por **Santander, Itaú, Bradesco e Sicoob** e **leilões judiciais**. Traz lance atual, **data e valor da 1ª e da 2ª praça**, desconto, cidade, UF, área e link. Filtre o que interessa e receba **só os lotes novos** a cada execução agendada.

**Por que usar**

- **Catálogo inteiro em cerca de 30 segundos** (uns 500 lotes).
- **Campos para investidor**: lance atual, valores e datas das praças, desconto da 1ª para a 2ª praça, número de lances e de visualizações.
- **Filtros**: UF, cidade (acento não importa), tipo de imóvel, judicial ou banco, banco, faixa de preço e desconto mínimo.
- **Alerta diário**: com `onlyNew = true`, cada lote chega uma vez só.
- **Sem dado pessoal**: só o cartão público do lote. Partes do processo, devedores e descrições nunca são coletados.
- **Você paga só pelos lotes entregues.**

**Para quem**: investidores de leilão, corretores e assessorias de leilão, equipes de crédito, avaliação e pesquisa de mercado.

**Preço**: US$ 0,003 por lote entregue + US$ 0,001 por execução. O catálogo inteiro sai por cerca de US$ 1,50; um alerta diário de novidades custa centavos.

**Atenção**: o desconto só existe para lotes com 2ª praça. Leia sempre o edital na página do lote antes de dar lance.

**Legal**: só dados públicos da lista, sem login, sem dado pessoal, robots.txt respeitado e uma página a cada 2 segundos. Sem vínculo com o Mega Leilões.

# Actor input Schema

## `states` (type: `array`):

Two-letter Brazilian state codes (UF), e.g. \["SP","MG"]. Empty = all of Brazil. / Siglas das UFs. Vazio = Brasil inteiro.

## `cities` (type: `array`):

Ex.: "São Paulo", "Campinas" (acento não importa). / Accents are ignored.

## `propertyTypes` (type: `array`):

Keep only these property types. Empty = all. / Só estes tipos de imóvel. Vazio = todos.

## `auctionTypes` (type: `array`):

Judicial (court) and/or extrajudicial (bank-owned). Empty = both. / Judicial e/ou extrajudicial (banco). Vazio = os dois.

## `banks` (type: `array`):

Keep only lots sold by these banks. Empty = any seller. / Só lotes destes bancos. Vazio = qualquer vendedor.

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

Minimum current bid in BRL. / Lance atual mínimo, em reais.

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

Maximum current bid in BRL. / Lance atual máximo, em reais.

## `minDiscountPercent` (type: `integer`):

Minimum discount from the 1st to the 2nd round, in %. Lots without a 2nd round are excluded when set. / Desconto mínimo da 1ª para a 2ª praça, em %. Lotes sem 2ª praça ficam de fora quando preenchido.

## `onlyNew` (type: `boolean`):

Não repete imóveis já entregues com o mesmo nome de monitor. / Skips lots already delivered for this monitor.

## `monitorName` (type: `string`):

Name of this alert. Each monitor remembers its own delivered lots when "only new" is on. / Nome deste alerta. Cada monitor lembra os próprios lotes já entregues no modo "só novidades".

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

Stop after N lots (the full catalog has about 500). You only pay for delivered lots (US$ 0.003 each). / Para depois de N imóveis. Você só paga pelos entregues.

## Actor input object example

```json
{
  "states": [
    "SP"
  ],
  "onlyNew": false,
  "monitorName": "padrao",
  "maxResults": 20
}
```

# Actor output Schema

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

One row per property lot: bid, 1st and 2nd round dates and prices, discount, city, state and link.

# 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 = {
    "states": [
        "SP"
    ],
    "maxResults": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("joao_crevellari/leiloes-imoveis").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 = {
    "states": ["SP"],
    "maxResults": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("joao_crevellari/leiloes-imoveis").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 '{
  "states": [
    "SP"
  ],
  "maxResults": 20
}' |
apify call joao_crevellari/leiloes-imoveis --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,joao_crevellari/leiloes-imoveis"
        }
    }
}
```

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/XIcbEDeVosWEJNEVc/builds/i5edKGovPEWBqjgND/openapi.json
