# Leilão Imóvel Properties and Details Scraper (`realestateapi/leilaoimovel-properties-and-details-scraper`) Actor

Permission-gated Brazilian auction-property scraper for Leilão Imóvel. Default runs make zero source requests; access-boundary responses are recorded without retries or alternate routes.

- **URL**: https://apify.com/realestateapi/leilaoimovel-properties-and-details-scraper.md
- **Developed by:** [Real Estate API](https://apify.com/realestateapi) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 90.5% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.99 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## Leilão Imóvel Properties and Details Scraper

This Actor can parse auction-property cards from an explicitly supplied Leilão Imóvel search page. A bounded 2026-11-16 live probe still returned HTTP 403, so the source remains access-blocked; no bypass, proxy, or alternate route is used and blocked responses stop the run without retries. Source collection is enabled under the workspace operator's recorded 2026-11-16 written-permission attestation (provenance only; it does not grant rights or override source Terms). See `AGENTS.md` and `BROWSER_REVIEW.md`.

### Authorization and input

Use automated collection only when current written authorization covers the source, access method, and intended data use. Provide an exact official HTTPS search URL; the Actor does not generate a default search. It refuses redirects and stops after HTTP 401, 403, or 429 responses. It does not log in, use proxies, or bypass challenges. Requests carry a fixed, transparent identification string; the user agent is not caller-configurable.

- `sourceAccessConfirmed`: default `true` under the 2026-11-16 attestation; set `false` to disable all source requests. It is an operator attestation, not a permission grant.
- `searchUrl`: explicit official HTTPS search page.
- `maxItems`: maximum property records.
- `includeDetails`: whether to request public detail pages.
- `timeoutSecs`: per-request timeout.

### Output

The dataset contains validated auction-property rows only. Records may include title, address, city/state slugs, auction prices, discount, closing date, category, image, and grouped auction, property, media, and provenance details. Diagnostics are never dataset rows. Clean empty results complete successfully; failures before any property row are reported as failed; a later failure after saving a property row is reported as partial success. The default policy gate emits no rows.

This JSON is a synthetic schema illustration only and is not a live Leilão Imóvel result.

```json
{
  "recordType": "leilaoimovel-property",
  "recordId": "leilaoimovel:000000000000000000000001",
  "actorRank": 647,
  "actorName": "Leilão Imóvel Properties and Details Scraper",
  "actorSlug": "leilaoimovel-properties-and-details-scraper",
  "sourceActorName": "Leilão Imóvel Scraper",
  "sourceActorSlug": "gio21/leilaoimovel-scraper",
  "sourceActorUrl": "https://apify.com/gio21/leilaoimovel-scraper",
  "status": "success",
  "dataAvailable": true,
  "source": "https://www.leilaoimovel.com.br",
  "sourceUrl": "https://www.leilaoimovel.com.br/",
  "sourceDomain": "www.leilaoimovel.com.br",
  "sourceWebsite": "leilaoimovel.com.br",
  "propertyUrl": "https://www.leilaoimovel.com.br/imovel/example-state/example-city/apartamento-exemplo-001/",
  "propertyId": "example-001",
  "title": "Illustrative apartment at auction",
  "address": "1 Example Street, Example City, Example State",
  "addressDetails": {
    "fullAddress": "1 Example Street, Example City, Example State",
    "state": "EX",
    "citySlug": "example-city"
  },
  "location": {
    "state": "EX",
    "citySlug": "example-city"
  },
  "category": ["Residential"],
  "image": "https://www.leilaoimovel.com.br/images/example-property.jpg",
  "prices": {
    "current": {"amountBrl": 150000, "currency": "BRL"},
    "firstAuction": {"amountBrl": 200000, "currency": "BRL"},
    "secondAuction": {"amountBrl": 160000, "currency": "BRL"}
  },
  "discountPercent": 25,
  "closingDate": "2026-02-01",
  "auctionDetails": {
    "current": {"amountBrl": 150000, "currency": "BRL"},
    "firstAuction": {"amountBrl": 200000, "currency": "BRL"},
    "secondAuction": {"amountBrl": 160000, "currency": "BRL"},
    "discountPercent": 25,
    "closingDate": "2026-02-01"
  },
  "propertyDetails": {
    "title": "Illustrative apartment at auction",
    "address": "1 Example Street, Example City, Example State",
    "category": ["Residential"]
  },
  "media": {
    "imageUrls": ["https://www.leilaoimovel.com.br/images/example-property.jpg"],
    "imageCount": 1
  },
  "provenance": {
    "sourceUrl": "https://www.leilaoimovel.com.br/",
    "propertyUrl": "https://www.leilaoimovel.com.br/imovel/example-state/example-city/apartamento-exemplo-001/",
    "sourceWebsite": "leilaoimovel.com.br",
    "extractionMethod": "html-listing-card",
    "collectedAt": "2026-01-15T12:00:00.000Z"
  },
  "extractionMethod": "html-listing-card",
  "collectedAt": "2026-01-15T12:00:00.000Z"
}
```

# Actor input Schema

## `sourceAccessConfirmed` (type: `boolean`):

Default true under the recorded 2026-11-16 written-permission attestation. Set false to disable all source requests. The attestation is provenance only and does not grant permission or override source Terms. HTTP 401/403/429 and redirects still stop the run without retries.

## `searchUrl` (type: `string`):

Explicit official HTTPS listing/search URL covered by the authorization. No homepage URL is fetched by default.

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

Maximum auction records emitted.

## `includeDetails` (type: `boolean`):

Request detail pages only when explicitly authorized. Any access-boundary response is preserved and stops further requests.

## `timeoutSecs` (type: `integer`):

Timeout for each official page request.

## Actor input object example

```json
{
  "sourceAccessConfirmed": true,
  "maxItems": 10,
  "includeDetails": false,
  "timeoutSecs": 30
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

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

// Run the Actor and wait for it to finish
const run = await client.actor("realestateapi/leilaoimovel-properties-and-details-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("realestateapi/leilaoimovel-properties-and-details-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 realestateapi/leilaoimovel-properties-and-details-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,realestateapi/leilaoimovel-properties-and-details-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/jyt0NRUTY56CpmduC/builds/84Iv8845EiNrChOfg/openapi.json
