# Metrocuadrado Scraper — Colombia Property Listings (`fabrikit/metrocuadrado-scraper`) Actor

Scrape property listings from Metrocuadrado.com (Colombia): price in COP, area, bedrooms, estrato, neighborhood, agency or builder and photos. Filter by city, type, price, area, rooms and estrato. From US$1.50 per 1,000 listings.

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

## Pricing

from $1.50 / 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

## Metrocuadrado Scraper - Colombian property listings

Extract property listings from **Metrocuadrado.com**, one of Colombia's two biggest real estate portals. Get clean, structured data for apartments, houses, offices, shops, plots and warehouses for sale or rent: price in COP, area, bedrooms, bathrooms, parking, estrato, neighborhood, photos, description, features and the agency or builder behind each listing.

No login, no API key. You choose the filters, the Actor does the paging (and automatically splits very large searches so you can go past the portal's 10,000-result window).

### What you can do with it

- Track asking prices and price per m2 by city, neighborhood and estrato.
- Build lead lists of agencies and builders (business name and business phone only).
- Feed a valuation model, a dashboard or an alert when new listings match your criteria.
- Compare sale vs rent yields across Colombian cities.

### Input

| Field | Description |
|---|---|
| `operation` | `sale` or `rent` |
| `cities` | One or more cities, e.g. `Bogotá`, `Medellín`, `Cali` (accents and capitals are ignored) |
| `propertyTypes` | apartamento, casa, oficina, local, lote, bodega, finca, consultorio, apartaestudio, casa-lote (empty = all) |
| `neighborhood` | Optional neighborhood / sector name |
| `minPrice`, `maxPrice` | In COP (sale price, or monthly rent) |
| `minArea`, `maxArea` | m2 |
| `minBedrooms`, `minBathrooms`, `minParking` | 1-5 (5 = five or more) |
| `stratums` | Estrato 1-6 |
| `condition` | all / new / used |
| `sellerType` | all / agency / private |
| `sort` | site default, price ascending, price descending |
| `maxItems` | Hard cap on listings (default 50) |
| `proxyConfiguration` | Apify proxy; the Actor escalates to Colombian residential IPs if the site blocks datacenter IPs |

Example:

```json
{
  "operation": "sale",
  "cities": ["Medellín"],
  "propertyTypes": ["apartamento"],
  "minBedrooms": 3,
  "stratums": ["4", "5", "6"],
  "maxItems": 500
}
```

### Output

One dataset item per listing:

```json
{
  "id": "2671-M6604148",
  "url": "https://www.metrocuadrado.com/inmueble/venta-casa-bogota-niza-3-habitaciones-3-banos-2-garajes/2671-M6604148",
  "title": "Casa en Venta, Niza, Bogotá D.C.",
  "operation": "sale",
  "propertyType": "Casa",
  "condition": "Usado",
  "isNewProject": false,
  "price": 1650000000,
  "currency": "COP",
  "pricePerM2": 12663,
  "adminFee": 475000,
  "areaBuilt": 130.3,
  "bedrooms": 3,
  "bathrooms": 3,
  "parking": 2,
  "stratum": 5,
  "city": "Bogotá D.C.",
  "neighborhood": "Niza",
  "latitude": 4.68711,
  "longitude": -74.04963,
  "coordinatesApproximate": false,
  "features": ["cerca parque", "con chimenea"],
  "photoCount": 20,
  "sellerType": "agency",
  "sellerName": "Engel & Völkers Pasadena",
  "scrapedAt": "2026-10-13T18:00:00.000Z"
}
```

Run totals (items, API calls, proxy tier used) are saved in the `SUMMARY` record of the key-value store.

### Privacy

Listings published by **private owners** come back without any seller name, phone or WhatsApp, and with coordinates rounded to about 1 km. For agencies and builders the Actor returns the business name (when the site shows a company name) and the business phone.

### Pricing

Pay per event: **US$1.50 per 1,000 listings** (`listing-result`) plus a tiny Actor-start fee. You stop paying the moment you reach your own max-charge limit; the Actor stops cleanly at that point.

### FAQ

**How many listings can I get?** Tens of thousands: large searches are automatically split into price bands.
**Why do I get fewer items than I asked for?** The filters returned fewer matches, or your max-charge limit was reached.
**Is the data live?** Yes, every run reads the portal at that moment.
**Are prices in COP?** Yes. `pricePerM2` is price divided by private (or built) area.

### En español

Extrae avisos de **Metrocuadrado.com** (Colombia): venta y arriendo de apartamentos, casas, oficinas, locales, lotes y bodegas, con precio en COP, áreas, habitaciones, estrato, barrio, fotos y la inmobiliaria o constructora. Filtra por ciudad, tipo, precio, área, habitaciones y estrato. Los avisos de particulares salen sin nombre ni teléfono y con coordenadas aproximadas (~1 km). Precio: US$1,50 por cada 1.000 avisos.

# Actor input Schema

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

Properties for sale or for rent.

## `cities` (type: `array`):

City names as used in Colombia, e.g. Bogotá, Medellín, Cali, Barranquilla, Cartagena, Bucaramanga. Accents and capitals do not matter.

## `propertyTypes` (type: `array`):

Leave empty for all types.

## `neighborhood` (type: `string`):

Neighborhood or sector name, e.g. El Poblado, Chicó, Usaquén.

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

Sale price, or monthly rent when renting. In Colombian pesos.

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

In Colombian pesos.

## `minArea` (type: `integer`):

Minimum area (m2).

## `maxArea` (type: `integer`):

Maximum area (m2).

## `minBedrooms` (type: `integer`):

1 to 5 (5 means 5 or more).

## `minBathrooms` (type: `integer`):

Minimum bathrooms.

## `minParking` (type: `integer`):

Minimum parking spots.

## `stratums` (type: `array`):

Leave empty for all strata.

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

Condition.

## `sellerType` (type: `string`):

Private owners are returned without any personal contact data.

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

Sort.

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

Stop after this many listings in total.

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

Starts with Apify datacenter proxy and switches to a Colombian residential proxy automatically if the site blocks it.

## Actor input object example

```json
{
  "operation": "sale",
  "cities": [
    "Medellín"
  ],
  "propertyTypes": [],
  "stratums": [],
  "condition": "all",
  "sellerType": "all",
  "sort": "relevance",
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

All items collected during the run

## `summary` (type: `string`):

Totals, pages fetched, proxy tier used and errors

# 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 = {
    "cities": [
        "Medellín"
    ],
    "maxItems": 50,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("fabrikit/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 = {
    "cities": ["Medellín"],
    "maxItems": 50,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("fabrikit/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 '{
  "cities": [
    "Medellín"
  ],
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call fabrikit/metrocuadrado-scraper --silent --output-dataset

```

## MCP server setup

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