# Lugarcerto Properties and Details Scraper (`realestateapi/lugarcerto-properties-and-details-scraper`) Actor

Lugarcerto property details Actor. Collection is disabled by default pending written authorization; only validated property listings enter the dataset, and failures are reported in OUTPUT.

- **URL**: https://apify.com/realestateapi/lugarcerto-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, 95.0% 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

## Lugarcerto Properties and Details Scraper

This Actor extracts property details from Lugarcerto.com.br listing pages. Collection is enabled by default under the operator's 2026-11-16 written-permission attestation (no reference ID supplied), recorded in `AGENTS.md`. That attestation is an operator record, not a grant of rights by this repository; do not run the Actor where the source's own Terms prohibit the intended use. `authorizationConfirmed` defaults to `true` and may be set to `false` to skip all source requests.

For an authorized run, provide `listingUrls` or a `searchUrl`; `maxItems` bounds the number of unique pages processed. `includeDescription` and `includeImages` control whether those public fields are included. The Actor uses direct HTTPS requests to Lugarcerto hosts, refuses redirects, and does not use a proxy, third-party reader, or alternate route. It does not log in or submit contact forms.

### Output

The dataset contains validated property listings only. Rows may include the listing identifier and property code, title, property and transaction types, BRL price, area, bedrooms, bathrooms, parking, address and location, postal code, coordinates, fees, description, features, image URLs, and public advertiser fields when present. Source, parse, and storage failures are counted in the `OUTPUT` summary and never written as diagnostic or placeholder dataset rows.

The JSON below is a synthetic schema example, not a live Lugarcerto result. A default run attempts source requests and emits validated listings on success; setting `authorizationConfirmed: false` makes a run with zero source requests and no dataset rows, reporting `SUCCEEDED` / `SKIPPED_POLICY`.

```json
{
  "recordType": "lugarcerto-property",
  "listingId": "synthetic-property-0001",
  "listingCode": "EXAMPLE-0001",
  "title": "Fictional Apartment in Example Neighborhood",
  "propertyType": "Apartamento",
  "category": "Residencial",
  "listingType": "sale",
  "price": 350000,
  "currency": "BRL",
  "priceText": "R$ 350.000",
  "areaSqm": 80,
  "bedrooms": 2,
  "bathrooms": 1,
  "garageSpaces": 1,
  "address": "Rua Exemplo",
  "addressNumber": "100",
  "neighborhood": "Bairro Exemplo",
  "city": "Cidade Exemplo",
  "state": "EX",
  "location": "Bairro Exemplo, Cidade Exemplo - EX",
  "postalCode": "00000-000",
  "condominiumFee": 450,
  "propertyTax": 100,
  "features": ["Example feature"],
  "description": "Illustrative description for a fictional property.",
  "images": [],
  "listingUrl": "https://www.lugarcerto.com.br/imovel/apartamento-exemplo-id-000000000",
  "sourceUrl": "https://www.lugarcerto.com.br/imovel/apartamento-exemplo-id-000000000",
  "sourceTransport": "direct",
  "sourceStatus": 200,
  "scrapedAt": "2026-10-05T12:00:00.000Z"
}
```

If failures occur before a real listing is saved, the run is `FAILED`; if at least one real listing was saved before a later failure, the Actor status remains `SUCCEEDED` with `runStatus: PARTIAL`.

# Actor input Schema

## `listingUrls` (type: `array`):

Public Lugarcerto property URLs such as https://www.lugarcerto.com.br/imovel/apartamento-3-quartos-pedro-ludovico-goiania-140m2-compra-e-venda-rs1250000-id-351252017.

## `authorizationConfirmed` (type: `boolean`):

Defaults to true under the operator's 2026-11-16 written-permission attestation. Set to false to skip all source requests. This field is an operator attestation, not a grant of rights.

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

Optional public Lugarcerto search or home page from which property URLs are discovered.

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

Maximum number of unique public property pages to process.

## `includeDescription` (type: `boolean`):

Include the public property description and bullet features.

## `includeImages` (type: `boolean`):

Include public image URLs exposed in the page data.

## `requestTimeoutSecs` (type: `integer`):

Timeout for each public page request.

## Actor input object example

```json
{
  "authorizationConfirmed": true,
  "maxItems": 5,
  "includeDescription": true,
  "includeImages": true,
  "requestTimeoutSecs": 45
}
```

# 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/lugarcerto-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/lugarcerto-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/lugarcerto-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/lugarcerto-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/6j8d8YJkmuwsN5Ffn/builds/elLjx0SIfyP5vdBYg/openapi.json
