# Portal Inmobiliario Chile Scraper (`sheshinmcfly/portal-inmobiliario-scraper`) Actor

Extract real estate listings from PortalInmobiliario.com � Chile's largest property marketplace. Get price, location, size, bedrooms, bathrooms, and direct listing URL. Covers apartments, houses, land, and commercial properties across all Chilean regions.

- **URL**: https://apify.com/sheshinmcfly/portal-inmobiliario-scraper.md
- **Developed by:** [Sheshinmcfly](https://apify.com/sheshinmcfly) (community)
- **Categories:** Real estate, Lead generation, Automation
- **Stats:** 2 total users, 0 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 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.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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

## Portal Inmobiliario Chile Scraper - Chile Real Estate Data

Extract real estate listings data from [portalinmobiliario.com](https://www.portalinmobiliario.com) — **Chile's largest property portal** with millions of listings for houses, apartments, offices, and more.

This actor lets you scrape property listings for **rent or sale** across all regions of Chile, extracting structured data including prices in CLP and UF, surface area, number of rooms, location, and more.

---

### What data does it extract?

| Field | Description | Example |
|---|---|---|
| `title` | Listing title | "Departamento en arriendo Las Condes" |
| `operationType` | Rent or sale | `arriendo` / `venta` |
| `propertyType` | Property type | `departamento`, `casa`, `oficina` |
| `price` | Price as shown | "UF 15.000" |
| `priceClp` | Price in Chilean pesos | `15000000` |
| `priceUf` | Price in UF | `2500` |
| `surfaceTotal` | Total surface in m² | "75 m²" |
| `surfaceUseful` | Useful surface in m² | "68 m²" |
| `bedrooms` | Number of bedrooms | `3` |
| `bathrooms` | Number of bathrooms | `2` |
| `parkings` | Parking spaces | `1` |
| `address` | Full address | "Las Condes, Santiago" |
| `commune` | Commune | "Las Condes" |
| `region` | Region | "santiago-metropolitana" |
| `publishedBy` | Real estate agency or owner | "Inmobiliaria XYZ" |
| `publishedAt` | Publication date | "Publicado hace 3 días" |
| `publicationCode` | Listing ID | "MLC123456" |
| `latitude` | Latitude coordinate | `-33.418` |
| `longitude` | Longitude coordinate | `-70.606` |
| `url` | Direct listing URL | "https://..." |
| `scrapedAt` | Extraction timestamp | "2026-04-21T12:00:00Z" |

---

### Use cases

- **Real estate market research**: Analyze price trends by commune or region in Chile
- **Investment analysis**: Compare prices per m² across different areas
- **Price monitoring**: Track how listing prices evolve over time
- **Lead generation for real estate agencies**: Identify properties listed by private sellers
- **Academic research**: Housing affordability studies in Chilean cities
- **Business intelligence**: Market intelligence for construction and real estate companies

---

### How to use

1. Open the actor and click **Try for free**
2. Configure the inputs:
   - **Tipo de operación**: `arriendo` (rent) or `venta` (sale)
   - **Tipo de propiedad**: `departamento`, `casa`, `oficina`, `bodega`, or `terreno`
   - **Región**: Region slug (e.g. `santiago-metropolitana`, `valparaiso`, `biobio`)
   - **Comuna** (optional): Commune slug (e.g. `providencia`, `las-condes`, `maipu`)
   - **Máximo de resultados**: How many listings to extract (default: 100)
3. Click **Start** and wait for the run to complete
4. Download results as JSON, CSV, Excel, or XML from the **Dataset** tab

---

### Example output (JSON)

```json
{
  "title": "Departamento 3D 2B con estacionamiento en Las Condes",
  "operationType": "arriendo",
  "propertyType": "departamento",
  "price": "$ 1.200.000",
  "priceClp": 1200000,
  "priceUf": null,
  "surfaceTotal": "75 m²",
  "surfaceUseful": "68 m²",
  "bedrooms": 3,
  "bathrooms": 2,
  "parkings": 1,
  "address": "Av. Apoquindo, Las Condes, Santiago",
  "commune": "Las Condes",
  "region": "santiago-metropolitana",
  "url": "https://www.portalinmobiliario.com/MLC-123456",
  "publicationCode": "MLC123456",
  "publishedBy": "Inmobiliaria Central",
  "publishedAt": "Publicado hace 2 días",
  "latitude": -33.418,
  "longitude": -70.606,
  "scrapedAt": "2026-04-21T12:00:00.000Z"
}
````

***

### Region slugs reference

| Region | Slug |
|---|---|
| Metropolitana de Santiago | `santiago-metropolitana` |
| Valparaíso | `valparaiso` |
| Biobío | `biobio` |
| La Araucanía | `la-araucania` |
| Los Lagos | `los-lagos` |
| Coquimbo | `coquimbo` |
| Maule | `maule` |
| O'Higgins | `ohiggins` |
| Antofagasta | `antofagasta` |

***

### Pricing & rate limits

This actor respects Portal Inmobiliario's servers by adding **2–3 second delays between requests** and uses a maximum of 2 concurrent connections. It only scrapes publicly accessible data (no login required).

***

### Keywords

Chile real estate scraper, Portal Inmobiliario data, precios propiedades Chile, scraper inmobiliario Chile, Chilean housing market data, arriendo Santiago scraper, venta departamentos Chile, real estate data extraction Chile, MercadoLibre inmobiliario scraper

***

### Legal Disclaimer

This actor is designed to extract **publicly available commercial data only** from Portal Inmobiliario (portalinmobiliario.com), in full compliance with Chilean Law 19.628 on the Protection of Private Life (*Ley 19.628 sobre Protección de la Vida Privada*).

**What this actor does NOT collect:**

- Names of natural persons (private individuals)
- National ID numbers (RUT)
- Personal email addresses or private phone numbers
- Any data that could identify or profile a specific private individual

**What this actor collects:**

- Property listing prices and characteristics (commercial data)
- Published addresses and geographic coordinates of listed properties
- Publication codes and dates (public metadata)
- Real estate agency names (commercial entities)

The data extracted is identical to what any user can view freely by browsing the website without logging in. Users of this actor are solely responsible for ensuring their own use of the extracted data complies with applicable laws and regulations in their jurisdiction.

# Actor input Schema

## `operationType` (type: `string`):

Buscar arriendos o ventas

## `propertyType` (type: `string`):

Tipo de inmueble a buscar

## `region` (type: `string`):

Slug de la región. Ejemplo: santiago-metropolitana, valparaiso, biobio

## `commune` (type: `string`):

Slug de la comuna. Ejemplo: providencia, las-condes, maipu

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

Precio mínimo en pesos chilenos

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

Precio máximo en pesos chilenos

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

Número máximo de propiedades a extraer

## Actor input object example

```json
{
  "operationType": "arriendo",
  "propertyType": "departamento",
  "region": "santiago-metropolitana",
  "maxResults": 100
}
```

# Actor output Schema

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

All scraped property listings stored in 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("sheshinmcfly/portal-inmobiliario-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("sheshinmcfly/portal-inmobiliario-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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 sheshinmcfly/portal-inmobiliario-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=sheshinmcfly/portal-inmobiliario-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Portal Inmobiliario Chile Scraper",
        "description": "Extract real estate listings from PortalInmobiliario.com � Chile's largest property marketplace. Get price, location, size, bedrooms, bathrooms, and direct listing URL. Covers apartments, houses, land, and commercial properties across all Chilean regions.",
        "version": "0.1",
        "x-build-id": "RiVwPaeMTPbw5HeE6"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/sheshinmcfly~portal-inmobiliario-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-sheshinmcfly-portal-inmobiliario-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/sheshinmcfly~portal-inmobiliario-scraper/runs": {
            "post": {
                "operationId": "runs-sync-sheshinmcfly-portal-inmobiliario-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/sheshinmcfly~portal-inmobiliario-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-sheshinmcfly-portal-inmobiliario-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "operationType",
                    "propertyType",
                    "region"
                ],
                "properties": {
                    "operationType": {
                        "title": "Tipo de operación",
                        "enum": [
                            "arriendo",
                            "venta"
                        ],
                        "type": "string",
                        "description": "Buscar arriendos o ventas",
                        "default": "arriendo"
                    },
                    "propertyType": {
                        "title": "Tipo de propiedad",
                        "enum": [
                            "departamento",
                            "casa",
                            "oficina",
                            "bodega",
                            "terreno"
                        ],
                        "type": "string",
                        "description": "Tipo de inmueble a buscar",
                        "default": "departamento"
                    },
                    "region": {
                        "title": "Región",
                        "type": "string",
                        "description": "Slug de la región. Ejemplo: santiago-metropolitana, valparaiso, biobio",
                        "default": "santiago-metropolitana"
                    },
                    "commune": {
                        "title": "Comuna (opcional)",
                        "type": "string",
                        "description": "Slug de la comuna. Ejemplo: providencia, las-condes, maipu"
                    },
                    "minPrice": {
                        "title": "Precio mínimo (CLP, opcional)",
                        "type": "integer",
                        "description": "Precio mínimo en pesos chilenos"
                    },
                    "maxPrice": {
                        "title": "Precio máximo (CLP, opcional)",
                        "type": "integer",
                        "description": "Precio máximo en pesos chilenos"
                    },
                    "maxResults": {
                        "title": "Máximo de resultados",
                        "minimum": 1,
                        "maximum": 5000,
                        "type": "integer",
                        "description": "Número máximo de propiedades a extraer",
                        "default": 100
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
