# Metrocuadrado Scraper: Colombia Property Listings (`kareninatech/metrocuadrado-scraper`) Actor

Scrape Metrocuadrado Colombia real estate (venta and arriendo) by city, barrio or URL. Get COP+USD prices, price/m² vs barrio and estrato, cheap/fair/expensive deal labels, rental yield, admin fee, price-drop tags, market report and monitor mode.

- **URL**: https://apify.com/kareninatech/metrocuadrado-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

## Metrocuadrado Scraper: Colombia real estate API with market analytics

Use this Metrocuadrado API alternative to scrape Colombia property listings (inmuebles en venta y arriendo) and export JSON, CSV or Excel.

Scrape property listings from [Metrocuadrado](https://www.metrocuadrado.com) (metrocuadrado.com, M2), one of Colombia's biggest real estate portals, and get **market analytics in every row**: price per m² compared with the same **barrio and estrato**, a **cheap / fair / expensive** deal label, a **gross rental yield** estimate, the **administración (admin fee) burden**, the site's **"Bajó de precio" (price reduced)** tag, and a **MARKET_REPORT** with medians per barrio and estrato. Prices come in **COP and USD**. **Monitor mode** tells you what is new, what changed price and what was removed.

Just type a place such as **Bogotá**, **Medellín**, **Cali**, **Barranquilla**, **Cartagena**, **Chapinero**, **Usaquén**, **El Poblado** or a department like **Antioquia**. No URL building needed (but you can paste Metrocuadrado search URLs too).

### What can this Metrocuadrado scraper do?

- 🏙️ **Simple input**: operation (venta / arriendo), property type, place name, price, area, bedrooms, bathrooms, estrato, seller type, new or used, site tags and keywords.
- 📊 **Price per m² vs barrio + estrato**: in Colombia the estrato (1–6) changes prices a lot, so each listing is compared with similar listings in the **same barrio and estrato**. If there are not enough, it falls back to the barrio, then the zone (Norte, Centro…), then the city.
- 🏷️ **Deal label**: `cheap` (10%+ below the zone median), `fair`, or `expensive` (10%+ above).
- 💰 **Rental yield**: for sale listings it reads rental listings of the same place and type and estimates monthly rent and **gross yield %**.
- 🧾 **Admin fee burden**: monthly administración as a % of the price, per year, and as a % of the estimated rent (or of the rent, for rentals).
- 📉 **Price reduced**: `price_reduced_tag = true` when Metrocuadrado shows "Bajó de precio". You can also search only those listings (**Site tags**).
- 🔔 **Monitor mode**: schedule the Actor and get only **new** and **price-changed** listings, plus **removed** listings when the run covers the whole search.
- 💵 **COP and USD**: the COP price from the site, plus USD at a live exchange rate.
- 🧑‍💼 **Seller type**: `particular` (private owner), `inmobiliaria` (agency) or `desarrollador` (constructora / developer), as Metrocuadrado shows it.
- 🏗️ **New projects**: `is_project`, `project_name` and `condition` (Nuevo / Usado).
- 📍 Coordinates, photos, description, amenities, floor, parking, building age, straight from the search results.
- 🔎 **Optional listing pages**: turn on **Open each listing page** to add the agency name, amenities by group and the full description.
- ⚡ Fast and cheap: Metrocuadrado's own JSON search, plain HTTP, no browser, no proxy needed today. About 1,500 listings in under 10 seconds.

### What data can you get from Metrocuadrado?

| Field | Example |
|---|---|
| title, url | Apartamento en Venta, SANTA BARBARA OCCIDENTAL, Bogotá D.C. |
| price_cop, price_usd | 821,300,000 COP · 247,366 USD |
| area_m2, price_per_m2_cop | 71 m² · 11,567,606 COP/m² |
| estrato, barrio, zone, city | 5 · Santa Barbara Occidental · Norte · Bogotá D.C. |
| zone_median_price_per_m2_cop, price_vs_zone_pct, deal_label | 7,145,570 · 61.9% · expensive |
| est_monthly_rent_cop, gross_rental_yield_pct | 4,254,000 · 6.22% |
| admin_fee_cop, admin_fee_pct_of_price, admin_fee_pct_of_est_rent | 618,900 · 0.075% · 14.5% |
| price_reduced_tag, tags | false · \[] |
| seller_type, is_project, condition | particular · false · Usado |
| bedrooms, bathrooms, parking_spots, floor, age | 1 · 2 · 1 · 7 · Entre 0 y 5 años |
| latitude, longitude, main_image, images, amenities | 4.701, -74.051, … |
| monitor_status (monitor mode) | new / changed / removed |

### How to scrape Metrocuadrado

1. Choose **Operation** (venta or arriendo) and **Property type**.
2. Type a **Location**: `Bogotá`, `Medellín`, `Chapinero`, `El Poblado`, `Antioquia`, or `Medellín, Laureles` for a barrio in a city.
3. Add filters if you want (price in COP, m², bedrooms, bathrooms, estrato, seller type, new or used, tags).
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 Metrocuadrado search URL (with filters already set on the site) in **Metrocuadrado search URL**, for example `https://www.metrocuadrado.com/apartamentos/arriendo/bogota/chapinero/`. When you use URLs, the filters in the form are not applied.

#### Input example

```json
{
    "operation": "venta",
    "property_type": "apartamentos",
    "location": "Bogotá",
    "estratos": ["4", "5"],
    "min_bedrooms": 2,
    "max_items": 500
}
```

#### 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 reaches the last page of the search, so set **Max listings** higher than the search total.

Monitor mode sorts by newest by default, so pages stay stable.

### Market report

Every run saves `MARKET_REPORT` in the key-value store with medians **overall, by property type, by city, by estrato, by barrio, and by barrio + estrato**: price (COP, USD), price per m², area, admin fee, gross yield, the share of "price reduced" listings, and the share of private owners vs agencies vs developers.

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

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 takes a few seconds.

### How the analytics work (honest data)

- **Price per m²** uses built area (área construida), or private area when built area is missing. Lots and farms use land area. If the area is missing or the result is impossible (for example a typo), price per m² and the deal label stay empty and `area_flag` explains why.
- **Zone median** uses listings from the same run with the same operation and property type. New projects are left out of the medians. A zone needs at least 5 listings (you can change it). Levels: barrio + estrato → barrio → zone + estrato → zone → city + estrato → city. `zone_level` and `zone_sample_size` tell you which one was used.
- **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.
- **Admin fee**: a monthly fee above 1% of the sale price (or above the rent) is clearly a typo, so it is ignored and flagged (`admin_fee_flag`). Obvious price typos get `price_flag`.
- **Sale and rent at once**: some listings are offered for both. `listed_for_sale_and_rent = true`, `sale_price_cop` and `rent_price_cop` show both prices, and `price_cop` uses the one that matches your search.
- **USD**: Metrocuadrado shows prices in COP only. USD uses a live exchange rate (open.er-api.com), saved in `cop_per_usd`.
- **No days on market**: Metrocuadrado does not show a publication date, so this Actor does not invent one. Use monitor mode to track how long a listing stays online.
- **Personal data**: phone numbers and private owners' names are not collected. The agency name is added only for agencies and developers (with **Open each listing page**).

### Tips

- Bigger samples give better zone medians. 200+ listings per city works well.
- Metrocuadrado shows at most 10,000 listings per search. For all of Bogotá, split by estrato, price or barrio (add them as **More locations** or separate runs).
- If a place name is not recognised, the search is skipped with a warning (it would otherwise return all of Colombia). Try the city name or paste a search URL.

### Input and output details

**Output Example:**

```json
{
  "main_image": "Example",
  "title": "Example listing title",
  "price_cop": 150000,
  "price_usd": 150000,
  "area_m2": 80,
  "price_per_m2_cop": 80,
  "bedrooms": 2,
  "bathrooms": 1,
  "estrato": 2,
  "barrio": "Example",
  "city": "Example City",
  "seller_type": "Example",
  "url": "https://www.example.com/item/12345678",
  "id": "12345678",
  "scraped_at": "2026-01-15T12:00:00.000Z"
}
```

### Input reference

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `operation` | string | No | `venta` | Buy (venta) or rent (arriendo). |
| `property_type` | string | No | `apartamentos` | Type of property. 'All property types' searches every type at once. |
| `location` | string | No | `Bogotá` | A place name as you would type it: Bogotá, Medellín, Cali, Barranquilla, Cartagena, Chapinero, Usaquén, El Poblado, Laureles, or a department like Antioquia. For a barrio in a specific city use 'Medellín, Laureles'. L... |
| `locations` | array | No | — | Extra places to search in the same run. max_items is split between all searches. |
| `search_url` | string | No | — | Paste a results page from metrocuadrado.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. |
| `min_price` | integer | No | — | Minimum price in Colombian pesos, for example 200000000. Leave empty for no minimum. |
| `max_price` | integer | No | — | Maximum price in Colombian pesos, for example 800000000. Leave empty for no maximum. |
| `min_m2` | integer | No | — | Minimum built area (land area for lots and farms). |
| `max_m2` | integer | No | — | Maximum built area (land area for lots and farms). |
| `min_bedrooms` | integer | No | — | At least this many bedrooms. 5 means 5 or more. |
| `min_bathrooms` | integer | No | — | At least this many bathrooms. 5 means 5 or more. |
| `estratos` | array | No | — | Only these estratos (1 to 6). Leave empty for all estratos. |
| `seller_type` | string | No | — | Only private owners, agencies or developers (constructoras). |
| `condition` | string | No | — | Only new (projects from developers) or used properties. |
| `tags` | array | No | — | Only listings with these Metrocuadrado tags (for example 'Bajó de precio' = price reduced). |
| `keywords` | string | No | — | Optional words to search in listings, like 'piscina' or 'terraza'. |
| `sort` | string | No | — | Order of results. Monitor mode uses 'Newest' when this is empty. |
| `max_items` | integer | No | `50` | Maximum listings to save (split between searches). Each results page has about 50 listings. Metrocuadrado shows up to 10,000 per search. |
| `max_pages` | integer | No | — | Optional limit of result pages per search. Empty = as many as needed for max listings. |
| `compare_with_zone` | boolean | No | `True` | Adds the zone median price per m², the % difference and a cheap / fair / expensive label. Uses listings from this run: same barrio and estrato first, then barrio, zone and city. |
| `min_zone_peers` | integer | No | `5` | A zone needs at least this many listings with price per m² before it is used for comparison. |
| `estimate_rental_yield` | boolean | No | `True` | For sale listings, reads a few rental pages of the same search to estimate monthly rent and gross yield. |
| `yield_sample_pages` | integer | No | — | How many rental result pages (about 50 each) to read per sale search for the yield estimate. Empty = automatic: 2 pages, or more for big runs (1 page per 250 listings, up to 10). |
| `include_details` | boolean | No | `False` | Slower: also opens every listing page to add the agency name, building age, amenities by group and the full description. Off = search results only (already very complete). |
| `include_description` | boolean | No | `True` | Also save the full listing description text. Off by default because descriptions make each row larger. |
| `include_images` | boolean | No | `True` | Add the list of all photo URLs (the main photo is always included). |
| `monitor_mode` | boolean | No | `False` | Remember listings between runs and save only new or price-changed ones. Schedule the Actor to get alerts. |
| `monitor_key` | string | No | — | Use a different name for each saved search you monitor. |
| `emit_removed` | boolean | No | `False` | In monitor mode, also save listings that disappeared. Only works when the run covers the whole search (raise max listings). |
| `proxyConfiguration` | object | No | `{"useApifyProxy": false}` | Not needed today. Turn on Apify Proxy if Metrocuadrado starts blocking. |

### Output fields

| Field | Description |
|-------|-------------|
| `main_image` | Main image URL. |
| `title` | Title as published on the source site. |
| `price_cop` | Listed price in Colombian pesos. |
| `price_usd` | Listed price converted to US dollars. |
| `area_m2` | Area in square metres. |
| `price_per_m2_cop` | Price per square metre in Colombian pesos. |
| `bedrooms` | Number of bedrooms. |
| `bathrooms` | Number of bathrooms. |
| `estrato` | Socioeconomic estrato, when published (Colombia). |
| `barrio` | Barrio or neighbourhood. |
| `city` | City. |
| `seller_type` | Seller type, for example agency or private. |
| `url` | Public listing URL on Metrocuadrado. |
| `id` | Metrocuadrado listing id. |
| `monitor_status` | In monitor mode: new, changed, unchanged or removed. |
| `scraped_at` | Time this row was collected, in UTC. |

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

### FAQ

**Is there an official Metrocuadrado API?** No public one. This Actor works as a Metrocuadrado API: it returns clean JSON from the same search the website uses.

**Is scraping Metrocuadrado 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 Colombia's data protection law, Ley 1581).

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

**Can I get Fincaraíz too?** Yes, use the [Fincaraiz Scraper](https://apify.com/kareninatech/fincaraiz-scraper). Both have the same output style, so you can compare the two portals.

**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):

- [Fincaraiz Scraper — Colombia property listings](https://apify.com/kareninatech/fincaraiz-scraper)
- [elempleo Scraper — Colombia jobs and salaries](https://apify.com/kareninatech/elempleo-scraper)
- [MercadoLibre Inmuebles Scraper — Mexico listings](https://apify.com/kareninatech/mercadolibre-inmuebles-scraper)
- [Argenprop Scraper — Argentina and Uruguay listings](https://apify.com/kareninatech/argenprop-scraper)
- [TocToc Scraper — Chile property listings](https://apify.com/kareninatech/toctoc-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)

# Actor input Schema

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

Buy (venta) or rent (arriendo).

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

Type of property. 'All property types' searches every type at once.

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

A place name as you would type it: Bogotá, Medellín, Cali, Barranquilla, Cartagena, Chapinero, Usaquén, El Poblado, Laureles, or a department like Antioquia. For a barrio in a specific city use 'Medellín, Laureles'. Leave empty for all of Colombia.

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

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

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

Paste a results page from metrocuadrado.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.

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

Minimum price in Colombian pesos, for example 200000000. Leave empty for no minimum.

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

Maximum price in Colombian pesos, for example 800000000. Leave empty for no maximum.

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

Minimum built area (land area for lots and farms).

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

Maximum built area (land area for lots and farms).

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

At least this many bedrooms. 5 means 5 or more.

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

At least this many bathrooms. 5 means 5 or more.

## `estratos` (type: `array`):

Only these estratos (1 to 6). Leave empty for all estratos.

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

Only private owners, agencies or developers (constructoras).

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

Only new (projects from developers) or used properties.

## `tags` (type: `array`):

Only listings with these Metrocuadrado tags (for example 'Bajó de precio' = price reduced).

## `keywords` (type: `string`):

Optional words to search in listings, like 'piscina' or 'terraza'.

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

Order of results. Monitor mode uses 'Newest' when this is empty.

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

Maximum listings to save (split between searches). Each results page has about 50 listings. Metrocuadrado shows up to 10,000 per search.

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

Optional limit of result pages per search. Empty = as many as needed for max listings.

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

Adds the zone median price per m², the % difference and a cheap / fair / expensive label. Uses listings from this run: same barrio and estrato first, then barrio, zone and city.

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

A zone needs at least this many listings with price per m² before it is used for comparison.

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

For sale listings, reads a few rental pages of the same search to estimate monthly rent and gross yield.

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

How many rental result pages (about 50 each) to read per sale search for the yield estimate. Empty = automatic: 2 pages, or more for big runs (1 page per 250 listings, up to 10).

## `include_details` (type: `boolean`):

Slower: also opens every listing page to add the agency name, building age, amenities by group and the full description. Off = search results only (already very complete).

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

Also save the full listing description text. Off by default because descriptions make each row larger.

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

Add the list of all photo URLs (the main photo is always included).

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

Remember listings between runs and save only new or price-changed ones. Schedule the Actor to get alerts.

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

Use a different name for each saved search you monitor.

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

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

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

Not needed today. Turn on Apify Proxy if Metrocuadrado starts blocking.

## Actor input object example

```json
{
  "operation": "venta",
  "property_type": "apartamentos",
  "location": "Bogotá",
  "seller_type": "",
  "condition": "",
  "sort": "",
  "max_items": 50,
  "compare_with_zone": true,
  "min_zone_peers": 5,
  "estimate_rental_yield": true,
  "include_details": false,
  "include_description": true,
  "include_images": true,
  "monitor_mode": false,
  "emit_removed": false,
  "proxyConfiguration": {
    "useApifyProxy": 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": "apartamentos",
    "location": "Bogotá",
    "max_items": 50,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("kareninatech/metrocuadrado-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": "apartamentos",
    "location": "Bogotá",
    "max_items": 50,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("kareninatech/metrocuadrado-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": "apartamentos",
  "location": "Bogotá",
  "max_items": 50,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call kareninatech/metrocuadrado-scraper --silent --output-dataset

```

## MCP server setup

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