# TocToc Scraper: Chile Real Estate Listings (`kareninatech/toctoc-scraper`) Actor

Scrape TocToc Chile real estate (propiedades) without a browser. Type Santiago, Providencia or Las Condes. Extract UF, CLP and USD prices, price/m² vs comuna, cheap/fair/expensive labels, rental yield, gastos comunes, days on market, a MARKET_REPORT, and monitor mode. Export JSON, CSV or Excel.

- **URL**: https://apify.com/kareninatech/toctoc-scraper.md
- **Developed by:** [Karen Gisela Gallegos Aguilar](https://apify.com/kareninatech) (community)
- **Categories:** Real estate, Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

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

## TocToc Scraper: Chile real estate API with market analytics

Use this TocToc API alternative to scrape Chile property listings (propiedades en venta y arriendo, precios en UF y CLP) and export JSON, CSV or Excel.

Scrape property listings from [TocToc](https://www.toctoc.com), one of Chile's main real estate portals, and get **market analytics in every row**: price per m² compared with the same **comuna**, a **cheap / fair / expensive** deal label, a **gross rental yield** estimate, **gastos comunes** (common expenses) when the listing states them, **days on market** with a **stale listing** flag, and a **MARKET_REPORT** with medians per comuna. Prices come in **UF, CLP and USD**. **Monitor mode** tells you what is new, what changed price and what was removed.

Just type a place such as **Santiago**, **Providencia**, **Las Condes**, **Ñuñoa** or **Viña del Mar**. Type **Chile** for the whole country. No URL building needed (but you can paste TocToc search URLs too).

### Fast and cheap: no browser

This Actor downloads the public search page and reads the listing data already embedded in it (`__NEXT_DATA__`). There is **no browser** and, today, **no proxy**. Each page can include up to **260 listings**, so a typical run finishes in seconds.

### What can this TocToc scraper do?

- 🏙️ **Simple input**: operation (venta / arriendo), property type, place name, price (UF or CLP), area, bedrooms, bathrooms, seller type and new vs used.
- 📊 **Price per m² vs the same comuna**: each used listing is compared with similar listings in the **same comuna** (or the region if there are not enough). New projects are left out of this comparison, because their price is a starting price for a range of units.
- 🏷️ **Deal label**: `cheap` (10%+ below the zone median), `fair`, or `expensive` (10%+ above).
- 💰 **Rental yield**: for sale listings it reads a rental page of the same search and estimates monthly rent and **gross yield %**.
- 🧾 **Gastos comunes**: monthly common expenses, when the description states a clear amount, as a % of the price and of the estimated rent.
- ⏳ **Days on market + stale flag**: days since publication (from the hours TocToc shows) and `stale_listing = true` after 90 days (you can change it).
- 🔔 **Monitor mode**: schedule the Actor and get only **new** and **price-changed** listings, plus **removed** listings when the run covers the whole search.
- 💵 **UF, CLP and USD**: TocToc already shows UF and CLP on almost every card. USD uses the official daily rate from the Banco Central de Chile ([mindicador.cl](https://mindicador.cl)). The UF rate prefers the listing's own UF/CLP pair, and falls back to the official daily UF.
- 🧑‍💼 **Seller type**: `particular` (private owner), `corredora` (agency) or `inmobiliaria` (developer), only when TocToc shows it. We never guess. Names of private owners are left out.
- 🏗️ **New projects**: flagged with `is_project`, including the size and bedroom range when the card shows one.
- 📍 Coordinates, photos and description, straight from the search results.

### What data can you get from TocToc?

| Field | Example |
|---|---|
| title, url | Departamento en Venta en Santiago |
| price_uf, price_clp, price_usd | 3,400 UF · 140,451,246 CLP · 147,843 USD |
| area_m2, price_per_m2_uf | 65 m² · 52.3 UF/m² |
| comuna, region | Santiago · Metropolitana |
| zone_median_price_per_m2_clp, price_vs_zone_pct, deal_label | 2,500,000 · -12.4% · cheap |
| est_monthly_rent_clp, gross_rental_yield_pct | 975,000 · 8.33% |
| gastos_comunes_clp, gastos_comunes_pct_of_est_rent | 80,000 · 8.2% |
| days_on_market, stale_listing | 48 · false |
| seller_type, seller_name | corredora · Example Propiedades |
| bedrooms, bathrooms, is_project | 3 · 2 · false |
| latitude, longitude, main_image, images | -33.45, -70.65, … |
| monitor_status (monitor mode) | new / changed / removed |

### How to scrape TocToc

1. Choose **Operation** (venta or arriendo) and **Property type**.
2. Type a **Location**: `Santiago`, `Providencia`, `Las Condes`, `Ñuñoa`, `Viña del Mar`, or `Metropolitana` for the whole region. Type **`Chile`** for the whole country (do not leave the field empty — an omitted value becomes Santiago).
3. Add filters if you want (price in UF or CLP, m², bedrooms, bathrooms, seller type, new or used).
4. Set **Max listings** and click **Start**.
5. Open the **Investor view** in the output, and the **MARKET_REPORT** in the key-value store.

Or paste a TocToc search URL (with filters already set on the site) in **TocToc search URL**. When you use URLs, the filters in the form are not applied.

#### Input example

```json
{
    "operation": "venta",
    "property_type": "departamento",
    "location": "Santiago",
    "min_bedrooms": 2,
    "price_unit": "uf",
    "max_price": 5000,
    "max_items": 200
}
```

#### Monitor mode (alerts)

Turn on **Monitor mode**, give the search a **Monitor name**, and schedule the Actor (for example daily). The first run saves everything. Next runs save only:

- `new`: listings not seen before
- `changed`: the price changed (`monitor_price_drop_pct` is positive when the price went down)
- `removed`: listings that disappeared. Turn on **Report removed listings**. This only works when the run covers the whole search, so set **Max listings** higher than the search total.

### Market report

Every run saves `MARKET_REPORT` in the key-value store with medians **overall, by property type, by region and by comuna**: price (UF, CLP, USD), price per m², area, gastos comunes, gross yield, days on market, stale share, new-project share, and the share of private owners vs agencies vs developers.

### How much does it cost to scrape TocToc?

This Actor uses pay per event: you pay per listing saved, plus a tiny fee per run. Platform compute is included. A run of 1,000 listings usually takes well under a minute.

### How the analytics work (honest data)

- **Price per m²** uses useful area (superficie útil). For new projects it uses the minimum size in the range, because the price is a starting price ("desde"). If the area is missing, 0, or the result is impossible, price per m² and the deal label stay empty.
- **Zone median** uses listings from the same run with the same operation and property type. New projects are excluded. A zone needs at least 5 listings (you can change it). Levels: barrio (when present) → comuna → region. `zone_level` and `zone_sample_size` tell you which one was used. TocToc search cards usually have no barrio, so the comparison is almost always at comuna level.
- **Rental yield** = (median rent per m² in the zone × area × 12) / price. Rents are asking rents as listed. Values outside 0.5–30% are dropped.
- **Gastos comunes** are only filled when the description states a clear amount (for example "Gastos comunes: $80.000" or "GGCC UF 2.5"). A monthly fee above 1% of the sale price (or above the rent) is ignored.
- **Days on market** comes from the hours TocToc shows (`horasPublicado`), in full days. Agencies sometimes republish listings, which resets this.
- **UF**: when a listing shows both UF and CLP, we use that pair (it matches the official daily UF). Otherwise we use the official UF published by the Banco Central de Chile through [mindicador.cl](https://mindicador.cl). **USD** uses the official observed dollar from the same source, with a public fallback if needed.
- **Seller names** are given only for agencies and developers. Names of private owners are left out.
- **More than 260 listings**: each public TocToc search page includes up to 260 results. To go further, the Actor also reads public facet pages of the same search (by bedrooms, used homes, and UF price caps) and dedupes by listing id. It does not open a browser or solve a captcha.

### Tips

- Bigger samples give better zone medians. 200+ listings per comuna works well.
- To cover more places in one run, add them to **More locations**.
- If a place name is not recognised, the search is skipped with a warning (it would otherwise return all of Chile). Try the comuna name, type `Chile` for the whole country, or paste a search URL.
- TocToc often shows new buildings first. Unless you filter for new projects only, this Actor keeps a smaller share of those so used homes (and price comparisons) are included.

### Input and output details

**Output Example:**

```json
{
  "title": "Departamento en Santiago",
  "url": "https://www.toctoc.com/venta/departamento/metropolitana/santiago/o_abc123",
  "operation": "venta",
  "comuna": "Santiago",
  "price_uf": 3400,
  "price_clp": 140451246,
  "area_m2": 65,
  "price_per_m2_uf": 52.31,
  "deal_label": "cheap",
  "days_on_market": 7,
  "seller_type": "corredora",
  "id": "a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0",
  "scraped_at": "2026-11-11T12:00:00.000Z"
}
```

### Input reference

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `operation` | string | No | `venta` | Buy (venta) or rent (arriendo). |
| `property_type` | string | No | `departamento` | Type of property, for example apartment, house or land. Leave empty for all types. |
| `location` | string | No | `Santiago` | A place name as you would type it: Santiago, Providencia, Las Condes, Ñuñoa, Viña del Mar, Valparaíso, Concepción… For the whole Metropolitan Region type 'Metropolitana'. For the whole country type 'Chile' (do not lea... |
| `locations` | array | No | — | Extra places to search in the same run. max_items is split between all searches. |
| `search_url` | string | No | — | Paste a search page from toctoc.com with your filters already set. When you use URLs, the filters above are ignored. |
| `start_urls` | array | No | — | Optional extra search or listing URLs from the same site. Leave empty to use the filters above. |
| `price_unit` | string | No | `uf` | Unit for the min/max price filters. Sale prices in Chile are usually in UF; rents are often in CLP. |
| `min_price` | integer | No | — | Minimum price in the unit chosen above (UF or CLP), for example 2000. Leave empty for no minimum. |
| `max_price` | integer | No | — | Maximum price in the unit chosen above. When the unit is UF, this is also applied on the site as a 'hasta X UF' search when possible. |
| `min_m2` | integer | No | — | Minimum useful area (minimum size for new projects). |
| `max_m2` | integer | No | — | Maximum useful area in square metres, for example 150. Leave empty for no maximum. |
| `min_bedrooms` | integer | No | — | At least this many bedrooms. Use 0 for a studio. |
| `min_bathrooms` | integer | No | — | Minimum number of bathrooms, for example 1. Leave empty for no minimum. |
| `seller_type` | string | No | — | Only private owners, agencies (corredoras) or developers (inmobiliarias). Listings where TocToc does not show the advertiser type are excluded when you choose one. |
| `condition` | string | No | — | New projects (Venta Nuevo) or used homes (Venta Usado). Empty = both. |
| `sort` | string | No | — | Order of the saved rows (applied after download). Public TocToc pages always return the site's default order first; this only sorts what was collected. |
| `max_items` | integer | No | `42` | Maximum listings to save (split between searches). Each public results page has up to 260 listings. For more than 260, the Actor also reads public bedroom, used and price-cap pages of the same search. |
| `max_pages` | integer | No | — | Maximum public pages to fetch per search (the first page plus facet pages). Leave empty to decide automatically from max_items. |
| `compare_with_zone` | boolean | No | `True` | Add a zone median, the % vs that median, and a cheap/fair/expensive deal label. New projects are left out of the comparison because their price is a starting price. |
| `min_zone_peers` | integer | No | `5` | A barrio, comuna or region needs at least this many comparable listings before it is used as the median. |
| `estimate_rental_yield` | boolean | No | `True` | For sale listings, read a rental page of the same search and estimate monthly rent and gross yield. |
| `yield_sample_pages` | integer | No | `1` | How many rental pages to read (each has up to 260 rentals). 1 is enough for most runs. |
| `stale_days` | integer | No | `90` | Listings this many days old (or older) are flagged as stale. |
| `include_description` | boolean | No | `True` | Save the listing description. Turn off for a smaller dataset. |
| `include_images` | boolean | No | `True` | Save all photo URLs. Turn off for a smaller dataset (the main image is always saved). |
| `monitor_mode` | boolean | No | `False` | Only save new and price-changed listings (and removed ones if you turn that on). Schedule the Actor to run regularly. |
| `monitor_key` | string | No | — | Name for this watch list (so different searches do not share history). Letters, numbers and hyphens. |
| `emit_removed` | boolean | No | `False` | In monitor mode, also save listings that disappeared. Only works when the run covers the whole search. |
| `proxyConfiguration` | object | No | — | Optional. Not needed today. If TocToc starts blocking, use Apify Proxy (RESIDENTIAL, country CL). |

### Output fields

| Field | Description |
|-------|-------------|
| `title` | Listing title. |
| `url` | Public listing URL. |
| `operation` | venta or arriendo. |
| `comuna` | Comuna (municipality). |
| `price_uf` | Price in UF. |
| `price_clp` | Price in Chilean pesos. |
| `area_m2` | Useful area in m² (minimum size for a new project). |
| `price_per_m2_uf` | Price per m² in UF. |
| `deal_label` | cheap (10%+ below the median), fair, or expensive (10%+ above). |
| `days_on_market` | Days since publication (hours_published / 24). |
| `seller_type` | particular, corredora or inmobiliaria, only when TocToc shows it. Never guessed. |
| `id` | Unique TocToc listing hash. |
| `monitor_status` | new, changed, unchanged or removed (monitor mode). |
| `scraped_at` | When this run collected the row (ISO 8601). |

The dataset also includes 56 further fields. Open the Output tab in the Actor for the full list.

### FAQ

**Is scraping TocToc legal?** This Actor collects publicly visible listing data. Do not collect personal data you are not allowed to use, and follow the site's terms and your local laws (including Chile's data protection law, Ley 19.628).

**Does it need a proxy?** Not today. If TocToc starts blocking, turn on Apify Proxy (RESIDENTIAL, country CL).

**Other sites?** This version is TocToc Chile only. Portal Inmobiliario is a different site.

**Found a problem?** Open an issue in the Issues tab and we will fix it.

### Related Actors

More data extractors by [kareninatech](https://apify.com/kareninatech):

- [Argenprop Scraper — Argentina and Uruguay listings](https://apify.com/kareninatech/argenprop-scraper)
- [Fincaraiz Scraper — Colombia property listings](https://apify.com/kareninatech/fincaraiz-scraper)
- [MercadoLibre Inmuebles Scraper — Mexico listings](https://apify.com/kareninatech/mercadolibre-inmuebles-scraper)
- [QuintoAndar Scraper — Brazil property data](https://apify.com/kareninatech/quintoandar-scraper)
- [Chaves na Mão Scraper — Brazil property data](https://apify.com/kareninatech/chavesnamao-scraper)
- [Fotocasa Scraper — Spain property listings](https://apify.com/kareninatech/fotocasa-scraper)
- [Habitaclia Scraper — Spain property listings](https://apify.com/kareninatech/habitaclia-scraper)

# Actor input Schema

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

Buy (venta) or rent (arriendo).

## `property_type` (type: `string`):

Type of property, for example apartment, house or land. Leave empty for all types.

## `location` (type: `string`):

A place name as you would type it: Santiago, Providencia, Las Condes, Ñuñoa, Viña del Mar, Valparaíso, Concepción… For the whole Metropolitan Region type 'Metropolitana'. For the whole country type 'Chile' (do not leave this field empty — an omitted value is filled with the default, Santiago).

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

Extra places to search in the same run. max_items is split between all searches.

## `search_url` (type: `string`):

Paste a search page from toctoc.com with your filters already set. When you use URLs, the filters above are ignored.

## `start_urls` (type: `array`):

Optional extra search or listing URLs from the same site. Leave empty to use the filters above.

## `price_unit` (type: `string`):

Unit for the min/max price filters. Sale prices in Chile are usually in UF; rents are often in CLP.

## `min_price` (type: `integer`):

Minimum price in the unit chosen above (UF or CLP), for example 2000. Leave empty for no minimum.

## `max_price` (type: `integer`):

Maximum price in the unit chosen above. When the unit is UF, this is also applied on the site as a 'hasta X UF' search when possible.

## `min_m2` (type: `integer`):

Minimum useful area (minimum size for new projects).

## `max_m2` (type: `integer`):

Maximum useful area in square metres, for example 150. Leave empty for no maximum.

## `min_bedrooms` (type: `integer`):

At least this many bedrooms. Use 0 for a studio.

## `min_bathrooms` (type: `integer`):

Minimum number of bathrooms, for example 1. Leave empty for no minimum.

## `seller_type` (type: `string`):

Only private owners, agencies (corredoras) or developers (inmobiliarias). Listings where TocToc does not show the advertiser type are excluded when you choose one.

## `condition` (type: `string`):

New projects (Venta Nuevo) or used homes (Venta Usado). Empty = both.

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

Order of the saved rows (applied after download). Public TocToc pages always return the site's default order first; this only sorts what was collected.

## `max_items` (type: `integer`):

Maximum listings to save (split between searches). Each public results page has up to 260 listings. For more than 260, the Actor also reads public bedroom, used and price-cap pages of the same search.

## `max_pages` (type: `integer`):

Maximum public pages to fetch per search (the first page plus facet pages). Leave empty to decide automatically from max_items.

## `compare_with_zone` (type: `boolean`):

Add a zone median, the % vs that median, and a cheap/fair/expensive deal label. New projects are left out of the comparison because their price is a starting price.

## `min_zone_peers` (type: `integer`):

A barrio, comuna or region needs at least this many comparable listings before it is used as the median.

## `estimate_rental_yield` (type: `boolean`):

For sale listings, read a rental page of the same search and estimate monthly rent and gross yield.

## `yield_sample_pages` (type: `integer`):

How many rental pages to read (each has up to 260 rentals). 1 is enough for most runs.

## `stale_days` (type: `integer`):

Listings this many days old (or older) are flagged as stale.

## `include_description` (type: `boolean`):

Save the listing description. Turn off for a smaller dataset.

## `include_images` (type: `boolean`):

Save all photo URLs. Turn off for a smaller dataset (the main image is always saved).

## `monitor_mode` (type: `boolean`):

Only save new and price-changed listings (and removed ones if you turn that on). Schedule the Actor to run regularly.

## `monitor_key` (type: `string`):

Name for this watch list (so different searches do not share history). Letters, numbers and hyphens.

## `emit_removed` (type: `boolean`):

In monitor mode, also save listings that disappeared. Only works when the run covers the whole search.

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

Optional. Not needed today. If TocToc starts blocking, use Apify Proxy (RESIDENTIAL, country CL).

## Actor input object example

```json
{
  "operation": "venta",
  "property_type": "departamento",
  "location": "Santiago",
  "price_unit": "uf",
  "seller_type": "",
  "condition": "",
  "sort": "",
  "max_items": 42,
  "compare_with_zone": true,
  "min_zone_peers": 5,
  "estimate_rental_yield": true,
  "yield_sample_pages": 1,
  "stale_days": 90,
  "include_description": true,
  "include_images": true,
  "monitor_mode": false,
  "emit_removed": false
}
```

# Actor output Schema

## `overview` (type: `string`):

Table view of scraped results using the dataset 'overview' view.

## `investor` (type: `string`):

No description

## `monitor` (type: `string`):

No description

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

All scraped results from the default dataset without view transformation.

## `marketReport` (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",
    "property_type": "departamento",
    "location": "Santiago",
    "max_items": 42
};

// Run the Actor and wait for it to finish
const run = await client.actor("kareninatech/toctoc-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 = {
    "operation": "venta",
    "property_type": "departamento",
    "location": "Santiago",
    "max_items": 42,
}

# Run the Actor and wait for it to finish
run = client.actor("kareninatech/toctoc-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 '{
  "operation": "venta",
  "property_type": "departamento",
  "location": "Santiago",
  "max_items": 42
}' |
apify call kareninatech/toctoc-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,kareninatech/toctoc-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/9B2nkLpI5svhJCUj9/builds/yUKJWWUIF17zN46Ve/openapi.json
