# Portal Inmobiliario Scraper & Listing Alerts (Chile) (`superslowsloth/portalinmobiliario`) Actor

Search portalinmobiliario.com, Chile's biggest property portal: one row per listing for any operation (sale, rent), property type and comuna, with price in CLP/UF, previous price, bedrooms, bathrooms, area, location, seller and photo. Newest first, for new-listing and price-drop watches.

- **URL**: https://apify.com/superslowsloth/portalinmobiliario.md
- **Developed by:** [Superslow Sloth](https://apify.com/superslowsloth) (community)
- **Categories:** Real estate, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 81.3% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.28 / 1,000 listing scrapeds

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

## Portal Inmobiliario scraper & listing alerts (Chile)

Search [portalinmobiliario.com](https://www.portalinmobiliario.com), Chile's main
property portal (a Mercado Libre site), and get one flat row per listing: **price
and currency** (pesos or UF), the **previous price** when the seller lowered it,
bedrooms, bathrooms, area, the place line, the agency or developer, delivery stage
for new-build projects, and the cover photo. Choose the operation (sale, rent,
holiday rent), the property type and one or more comunas, or paste any search URL
to use the site's filters. Run it on a schedule, newest first, to watch for new
listings and price drops.

No account, no API key, no login, no browser. One request returns 48 listings.

### Input

| Field | Notes |
|---|---|
| `operation` | `venta` (default), `arriendo` or `arriendo-de-temporada`. |
| `propertyType` | `departamento` (default), `casa`, `oficina`, `bodega`, `estacionamiento`, `comercial`, `industrial`, `agricola`, `parcela`, `sitio`, `terreno-en-construccion`, `loteo`, `lotes-cementerio`, `otros`, or `any`. The slugs are the site's own. |
| `locations` | One per line, as the site writes them in its address: comuna and region (`las-condes-metropolitana`, `vina-del-mar-valparaiso`) or a region (`metropolitana`, `valparaiso`). Accents and spaces are fixed for you. Empty = the whole country, unless you gave start URLs. |
| `startUrls` | Any search URL from your browser's address bar, for the site's filters (price range, bedrooms, projects only, used only). Filters are kept; its paging and sort are replaced. A listing's own page is refused. |
| `maxItems` | Listings to read **per location and per URL** (default 100, up to 100,000; the site serves about 2,000 of any search). |
| `sort` | `newest` (default; the site's Más recientes), `relevance`, `price-asc`, `price-desc`, or `as-in-url`. |
| `includeSponsored` | Off by default. The site repeats a few paid placements (mostly new-build projects) above the first page. In the three pages measured each one was also among the page's normal results, so leaving them out loses no listing; switching this on returns the paid copy at the top instead, with `is_sponsored` true. |
| `proxyConfiguration` | Residential proxy by default. If you choose another proxy, or none, the actor uses exactly that. |

Locations (with the operation and property type) and start URLs run together. A
listing that two searches both find is returned once, under the first.

#### Using it for new-listing and price-drop watches

Set `sort` to `newest`, run on a schedule and diff on `listing_id`: an id you have
not seen is a new listing, and a known id whose `price` is lower than last time is a
price drop (`previous_price` and `price_label` say so too when the seller marked it,
`BAJÓ DE PRECIO`). Set `maxItems` to 48 or 96 so a run reads one or two pages.

**There is no publication date on the card.** The site prints a badge on listings
published today or this week (`published_label`, `PUBLICADO HOY`), and nothing on
older ones, so a null label means older, not unknown. The newest sort is not strictly
by publication time: on the first pages of a big search, listings published today were
measured interleaved with older ones (18 of the first 48 carried the badge, scattered),
so the actor does not stop reading at the first unlabelled listing. Diff on `listing_id`.

### Output

Prices are numbers in the currency the seller chose; nothing is converted.

| Field | Notes |
|---|---|
| `query` | The search that first found this listing: `venta/departamento/las-condes-metropolitana`, or the start URL as you gave it. |
| `listing_id`, `url` | Mercado Libre's listing id (`MLC4665793360`, stable for the life of the listing: diff on it) and the `https://www.portalinmobiliario.com/MLC-...-_JM` link. |
| `title`, `kind` | The headline, and the card's own label (`Departamento en venta`). |
| `category_id`, `domain_id` | The site's category (`MLC157522`) and domain (`MLC-INDIVIDUAL_APARTMENTS_FOR_SALE`, `MLC-DEVELOPMENT_HOUSES_FOR_SALE`) ids. |
| `is_project`, `is_sponsored` | A new-build development rather than a single property; a paid placement. |
| `price`, `price_currency` | The ask and its currency: `CLP` (pesos), `CLF` (UF, the inflation-indexed unit most sales are quoted in) or whatever else the card states. A rental is the monthly rent. |
| `price_is_from` | True when the card says "Desde": a development's lowest price. |
| `previous_price`, `price_label`, `price_discount_percent` | The price before it was lowered, the tag beside it, and the percent discount the site prints on some projects. |
| `bedrooms_min`, `bedrooms_max`, `bathrooms_min`, `bathrooms_max` | A single property has min equal to max; a project has a range. A studio is 0 bedrooms. |
| `area_min_m2`, `area_max_m2`, `area_kind` | Floor area in m², and `útiles` (usable) or `totales` (total). |
| `attributes` | The card's attribute line exactly as printed, so nothing the parsed columns miss is lost. |
| `location` | The place line as shown: street, comuna and neighbourhood. |
| `seller_name`, `seller_is_official_store` | The agency or developer when the card names one; true for a Mercado Libre official store. |
| `delivery`, `available_units` | Projects: `Entrega inmediata`, `Venta en verde`; `8 unidades disponibles` as a number. |
| `published_label` | `PUBLICADO HOY` / `PUBLICADO ESTA SEMANA`, or null. |
| `has_virtual_tour`, `image_url` | A virtual tour is offered; the cover photo. |

One row, as the actor returns it:

```json
{
  "query": "venta/departamento/santiago-metropolitana",
  "listing_id": "MLC4665793360",
  "url": "https://www.portalinmobiliario.com/MLC-4665793360-venta-departamento-2d2b-estac-bodega-barrio-brasil-_JM",
  "title": "Venta Departamento 2d2b + Estac. + Bodega  Barrio Brasil",
  "kind": "Departamento en venta",
  "category_id": "MLC157522",
  "domain_id": "MLC-INDIVIDUAL_APARTMENTS_FOR_SALE",
  "is_project": false,
  "is_sponsored": false,
  "price": 98000000.0,
  "price_currency": "CLP",
  "price_is_from": false,
  "previous_price": 105000000.0,
  "price_discount_percent": null,
  "price_label": "BAJÓ DE PRECIO",
  "bedrooms_min": 2,
  "bedrooms_max": 2,
  "bathrooms_min": 2,
  "bathrooms_max": 2,
  "area_min_m2": 57.0,
  "area_max_m2": 57.0,
  "area_kind": "útiles",
  "attributes": [
    "2 dormitorios",
    "2 baños",
    "57 m² útiles"
  ],
  "location": "San Pablo 2000, Santiago, Chile, Barrio Brasil, Santiago",
  "seller_name": null,
  "seller_is_official_store": null,
  "delivery": null,
  "available_units": null,
  "published_label": null,
  "has_virtual_tour": false,
  "image_url": "https://http2.mlstatic.com/D_NQ_NP_2X_965126-MLC121016172165_112026-E-venta-departamento-2d2b-estac-bodega-barrio-brasil.webp"
}
```

#### Honest nulls

A field the card did not state is `null`, never `0` or `""`. A used property has
no `delivery`, `available_units` or `seller_name` on the card; a plot of land has no
bedrooms. A text the actor cannot read into a number stays in `attributes` and leaves
its parsed column null.

### Pricing

Pay per event:

- **$0.002** per run (`actor-start`), charged only after your input is validated, so a
  run that fails on bad input costs nothing.
- **$0.00028** per listing written (`listing-scraped`), i.e. $0.28 per 1,000
  listings. A row that is not written is not charged: a repeat of a listing already
  returned (a paid-placement copy of a listing counts as a repeat), a search that
  matches nothing and a search that fails are free.

### How it fetches

One GET per page of 48 listings, no browser:
`https://www.portalinmobiliario.com/venta/departamento/las-condes-metropolitana`, then
`.../_Desde_49_OrderId_BEGINS*DESC` for page 2, `_Desde_97` for page 3. The listings are
read from the JSON the page embeds for its own rendering (the
`__NORDIC_RENDERING_CTX__` script tag), not from the page's CSS classes.

Things worth knowing, all measured 2026-11-08:

- **Mercado Libre refuses non-residential addresses with a 200.** From inside the Apify
  platform, 10 requests each: the datacenter proxy and the platform's own address got
  listings 0 of 10 times, the residential proxy 8 of 10. A refused request is not an
  error status: the site redirects to `/gz/account-verification` and answers 200 with a
  24 KB page titled "Mercado Libre". The actor treats a 200 without the listings data
  as a refusal and retries from a fresh residential address (up to six tries a page).
  The actor presents a Chrome TLS fingerprint.
- **A search stops at about 2,000 results.** Any search that matches more serves 42
  pages of 48; the page after is a 404. The actor reads to that limit and logs that the
  search had more. Split a big search by comuna or add a filter.
- **A 404 is the site's "nothing here".** A search with no listings (plots, `parcela`, in
  Santiago) and every page past the last are HTTP 404 with a 239 KB page.
  A search with no results is reported, not failed.
- **An unknown location or property type is not an error on the site.** It answers 200
  with a wider search: `/venta/departamento/zzz-no-such-comuna` returns the whole
  country (69,000+ apartments), after a redirect. The actor reads the filters the page
  says it applied and fails that search, at no charge, when the place or type is missing.
  Copy the location from the address bar after choosing it on the site. Start URLs are
  not checked this way.
- **An unknown sort is rewritten too.** `_OrderId_BOGUS` was served as another order. The
  actor checks the sort the page reports and fails the search at no charge when it is
  not the one asked for.
- **Relevance order can be all new-build projects.** The first page of the default order
  for apartments for sale in Santiago was 50 projects of 50 (each with a "from" price);
  the first two pages of the newest order held none. An apartments-for-rent search in
  Providencia had 4 of 48. Use `newest` for single properties.
- **Counts move.** Listings are posted between requests, so a paged search can show a
  listing twice across a page boundary; it is returned once.
- **Not offered.** The listing's own page (full description, photo gallery, coordinates,
  agent contact details) is not fetched.

# Actor input Schema

## `operation` (type: `string`):

What kind of listing to search: for sale (venta), long-term rent (arriendo) or holiday rent (arriendo de temporada). Applies to every location below, not to the start URLs.

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

The kind of property, as the site's own Inmueble filter lists them. 'Any' searches every type. Applies to every location below, not to the start URLs.

## `locations` (type: `array`):

Where to search, one per line, written the way the site writes it in its address: a comuna followed by its region (las-condes-metropolitana, providencia-metropolitana, vina-del-mar-valparaiso), or just a region (metropolitana, valparaiso, biobio). Accents and spaces are fixed for you (Viña del Mar becomes vina-del-mar). Copy the slug from the address bar after choosing the place on the site. A slug the site does not know fails that search at no charge. Leave empty to search the whole country, or to search only the start URLs below.

## `startUrls` (type: `array`):

Any portalinmobiliario.com search URL copied from your browser's address bar, one per line, to use the site's filters: price range, bedrooms, new projects only, used only, official stores. Example: https://www.portalinmobiliario.com/venta/departamento/las-condes-metropolitana/2-dormitorios/\_PriceRange_0CLF-5000CLF. The filters in the URL are kept; its paging and sort are replaced by this actor's own (unless Sort is 'As in the URL'). Only search pages on portalinmobiliario.com are accepted, not a single listing's page.

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

Read at most this many listings for each location and each URL. A page holds 48. The site serves only the first 2,000 or so results of any search, so a larger number reads to that limit; narrow the search with a smaller location or a filter to see the rest.

## `sort` (type: `string`):

The order the site lists results in. 'Newest first' is the site's Más recientes and is the order to use for new-listing watches; it is not strictly by publication time (listings published today are interleaved with older ones on the first pages). 'Relevance' is the site's default order, which can be all new-build projects on a big sale search. 'As in the URL' keeps the sort of a start URL. The actor checks that the site really applied the sort asked for.

## `includeSponsored` (type: `boolean`):

The site repeats a few paid placements, mostly new-build projects, above the first page of results. In the three pages measured each one was also among the normal results, so they are left out by default without losing a listing. Switch this on to return the paid copy at the top instead, flagged as sponsored. Either way each listing is returned and charged once.

## `proxyConfiguration` (type: `object`):

Residential proxy by default, which is what the site needs: it answers Apify datacenter addresses, and some residential exits, with a verification page instead of results (the actor retries those from a fresh address). Choose a different group, switch the proxy off or supply your own proxies and the actor uses exactly that and nothing else.

## Actor input object example

```json
{
  "operation": "venta",
  "propertyType": "departamento",
  "locations": [
    "las-condes-metropolitana"
  ],
  "startUrls": [],
  "maxItems": 30,
  "sort": "newest",
  "includeSponsored": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `items` (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 = {
    "operation": "venta",
    "propertyType": "departamento",
    "locations": [
        "las-condes-metropolitana"
    ],
    "startUrls": [],
    "maxItems": 30,
    "sort": "newest",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("superslowsloth/portalinmobiliario").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 = {
    "operation": "venta",
    "propertyType": "departamento",
    "locations": ["las-condes-metropolitana"],
    "startUrls": [],
    "maxItems": 30,
    "sort": "newest",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("superslowsloth/portalinmobiliario").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 '{
  "operation": "venta",
  "propertyType": "departamento",
  "locations": [
    "las-condes-metropolitana"
  ],
  "startUrls": [],
  "maxItems": 30,
  "sort": "newest",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call superslowsloth/portalinmobiliario --silent --output-dataset

```

## MCP server setup

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

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/UteI0WA6qTplDBCa2/builds/6h3ltcMfC4Fd9oKn8/openapi.json
