# Metrocuadrado Scraper - Colombia Real Estate (`scrapedo/metrocuadrado-scraper`) Actor

Scrape sale and rental listings from Metrocuadrado.com (Colombia): price, price per m², area, rooms, estrato, neighborhood, GPS, photos, admin fee and agency. Paste a search URL or use filters.

- **URL**: https://apify.com/scrapedo/metrocuadrado-scraper.md
- **Developed by:** [scrapedo](https://apify.com/scrapedo) (community)
- **Stats:** 2 total users, 1 monthly users, 96.8% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## 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 Data

Extract sale and rental listings from [Metrocuadrado.com](https://www.metrocuadrado.com), one of Colombia's largest real estate portals. Get prices, price per m², area, bedrooms, bathrooms, parking, **estrato**, neighborhood, GPS coordinates, photos and, optionally, the admin fee (*administración*), building age, full amenity list and the listing agency.

Paste any Metrocuadrado search URL, or pick city, property type and filters in the input form. Results can be downloaded as JSON, CSV, Excel or HTML, or pulled through the Apify API.

**Powered by [Scrape.do](https://scrape.do/?utm_source=apify\&utm_medium=actor\&utm_campaign=metrocuadrado-scraper)** – every request goes through the Scrape.do web scraping API, so you don't manage proxies, retries or blocks.

**Free to try:** your first run works without any setup and returns up to 50 listings. After that, add your free Scrape.do API token to keep scraping, with every listing plus listing details.

### What you can do with it

- Track asking prices and price per m² by city, zone, neighborhood or estrato
- Build lead lists of listings and agencies (inmobiliarias, constructoras)
- Monitor new projects (*proyectos de vivienda*) with price ranges and delivery dates
- Feed valuation models, dashboards and investment analysis with fresh data

### How to use

**Option 1 – paste URLs.** Open Metrocuadrado, choose a city, property type and the filters that appear in the URL (for example `/apartamentos/venta/bogota/chico-norte/` or `/apartamentos/venta/bogota/3-habitaciones/estrato-4/`), copy the URL and add it to **Metrocuadrado URLs**. You can also add single listing pages (`/inmueble/...` or `/proyecto/...`).

**Option 2 – use the filters.** Leave the URL list empty and choose operation (sale / rent), property types, city, price, area, bedrooms, bathrooms, parking, estrato, new/used and keywords.

Set **Maximum listings** (0 = no limit) and switch on **Include listing details** if you need admin fee, building age, amenities, all photos and agency data. Both need your own Scrape.do token (see below).

#### Input example

```json
{
    "scrapeDoToken": "YOUR_SCRAPEDO_TOKEN",
    "operation": "venta",
    "propertyTypes": ["apartamento"],
    "city": "medellin",
    "minPrice": 300000000,
    "maxPrice": 900000000,
    "bedrooms": ["2", "3"],
    "stratum": ["4", "5"],
    "maxItems": 500,
    "includeDetails": true
}
```

### Output

Each listing is one item. Example (new project, with details):

```json
{
    "id": "21477-C0001-03",
    "url": "https://www.metrocuadrado.com/proyecto/dual-101/21477-C0001-03",
    "title": "Apartamento en Venta, RINCON DEL CHICO, Bogotá D.C.",
    "operation": "Venta",
    "propertyType": "Apartamento",
    "condition": "Nuevo",
    "isNewProject": true,
    "projectName": "DUAL 101",
    "salePrice": 1470000000,
    "rentPrice": null,
    "currency": "COP",
    "pricePerM2": 10652174,
    "area": 138,
    "builtArea": 138,
    "privateArea": 138,
    "bedrooms": 3,
    "bathrooms": 3,
    "parkingSpots": 1,
    "stratum": 6,
    "city": "Bogotá D.C.",
    "neighborhood": "RINCON DEL CHICO",
    "latitude": 4.6849184,
    "longitude": -74.04536,
    "description": "El proyecto Dual 101 House, es un proyecto de vivienda ...",
    "attributes": { "conCocinaIntegral": true, "nroBanos": 3, "nroCuartos": 3, "tipoCocina": "Lineal" },
    "ownerType": "Constructora",
    "housingType": "NOVIS",
    "contactPhone": "31XXXXXXXX",
    "imageUrl": "https://multimedia.metrocuadrado.com/21477-C0001-03/21477-C0001-03_1_V3_p.jpg",
    "images": ["https://multimedia.metrocuadrado.com/21477-C0001-03/21477-C0001-03_1_V3_x.jpg", "..."],
    "priceFrom": 882400000,
    "priceTo": 1470000000,
    "areaFrom": 85,
    "areaTo": 138,
    "buildingAge": "En Construcción",
    "deliveryDate": "28-02-2027",
    "agencyName": "DUAL GROUP S A S",
    "agencyUrl": "https://www.metrocuadrado.com/constructora/dual-group-s-a-s/12061",
    "amenities": { "Exteriores": ["..."], "Zonas comunes": ["..."], "Del sector": ["..."] },
    "detailsScraped": true,
    "scrapedAt": "2026-09-30T15:10:00.000Z"
}
```

#### Fields

| Field | Description |
|---|---|
| `id`, `url`, `title` | Metrocuadrado listing code, link and title |
| `operation`, `propertyType`, `condition` | Venta / Arriendo, property type, Nuevo / Usado |
| `salePrice`, `rentPrice`, `pricePerM2` | Prices in COP; price per m² is calculated for sale listings |
| `area`, `builtArea`, `privateArea` | Areas in m² |
| `bedrooms`, `bathrooms`, `parkingSpots`, `stratum` | Rooms, baths, garages and estrato |
| `city`, `zone`, `neighborhood`, `commonNeighborhood` | Location names |
| `latitude`, `longitude`, `isApproximateLocation` | GPS coordinates |
| `description`, `attributes` | Listing text and structured features |
| `ownerType`, `advertiserId`, `contactPhone`, `whatsapp` | Advertiser type and the contact shown on the listing |
| `imageUrl`, `images`, `nearbyPlaces` | Cover photo, gallery and nearby points of interest |
| `adminFee`, `buildingAge`, `amenities`, `videoUrl` | With details: admin fee, age, amenity groups, video |
| `agencyName`, `agencyUrl`, `agencyAddress`, `agencyLogo` | With details: agency or builder |
| `priceFrom`, `priceTo`, `areaFrom`, `areaTo`, `deliveryDate` | With details, for new projects |

### Pricing and your Scrape.do token

There is no per-result fee for this actor; Apify only bills its normal platform usage, which is a fraction of a cent for a typical run. Pages are fetched through the Scrape.do web scraping API:

1. **One free trial run, no token** – leave the **Scrape.do API token** field empty on your first run and you get up to 50 listings (listing details off). Good for checking the data before you sign up. Further runs need your own token.
2. **Your own Scrape.do token** – no listing limit, listing details available. Requests use your Scrape.do credits: a search uses about 1 credit per 50 listings, plus 1 credit per listing when details are on. [Create a free Scrape.do account](https://scrape.do/?utm_source=apify\&utm_medium=actor\&utm_campaign=metrocuadrado-scraper) to get a token.

### Tips

- **Large searches:** Metrocuadrado only serves the first 10,000 results of a search. When you ask for more, the actor splits the search into price bands automatically. Listings without a price may be skipped in that mode.
- **Speed:** raise **Parallel requests** if your Scrape.do plan allows more concurrency.
- **Residential proxies** are not needed for Metrocuadrado today; the option is there if that changes.

### FAQ

**Is scraping Metrocuadrado legal?** The actor collects publicly available listing data. Some listings include personal data such as a private owner's phone number. You are responsible for using the data in line with Metrocuadrado's terms and applicable law, including Colombia's personal data law (Ley 1581 de 2012) and GDPR where relevant.

**Something broke or a field is missing?** Open an issue in the Issues tab and we will look at it.

### En español

Extrae inmuebles en venta y arriendo de Metrocuadrado.com: precio, precio por m², área, habitaciones, baños, garajes, estrato, barrio, coordenadas y fotos; y opcionalmente administración, antigüedad, comodidades e inmobiliaria. Pega una URL de búsqueda de Metrocuadrado o usa los filtros. Sin token puedes probarlo gratis una vez (hasta 50 inmuebles). Con tu token gratuito de [Scrape.do](https://scrape.do/?utm_source=apify\&utm_medium=actor\&utm_campaign=metrocuadrado-scraper) obtienes todos los inmuebles y los detalles.

# Actor input Schema

## `scrapeDoToken` (type: `string`):

Optional for your first run: without a token you get one free trial run of up to 50 listings (listing details off). After that a token is required. Add your own Scrape.do token for unlimited listings and listing details; requests then use your Scrape.do credits (about 1 credit per 50 listings, plus 1 per listing with details). Get a free token at https://scrape.do/?utm_source=apify\&utm_medium=actor\&utm_campaign=metrocuadrado-scraper

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

Search result pages (for example https://www.metrocuadrado.com/apartamentos/venta/bogota/ or https://www.metrocuadrado.com/casas/arriendo/medellin/) and/or single listing pages (/inmueble/... or /proyecto/...). When you add URLs, the search filters below are ignored.

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

Sale (venta) or rent (arriendo).

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

One or more property types.

## `city` (type: `string`):

City name as it appears in Metrocuadrado URLs, for example bogota, medellin, cali, barranquilla, cartagena, envigado, santa-marta. Leave empty to search all of Colombia.

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

Sale price for 'venta', monthly rent for 'arriendo'.

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

Sale price for 'venta', monthly rent for 'arriendo'.

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

Built area in square meters.

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

Built area in square meters.

## `bedrooms` (type: `array`):

Exact number of bedrooms (habitaciones). Pick several to combine.

## `bathrooms` (type: `array`):

Exact number of bathrooms (baños).

## `parkingSpots` (type: `array`):

Exact number of parking spots (garajes).

## `stratum` (type: `array`):

Socio-economic stratum (estrato) 1 to 6.

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

New projects (nuevo), used properties (usado) or both.

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

Free-text search, for example 'piscina' or 'terraza'.

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

Stop after this many listings. Set 0 for no limit (searches above 10,000 results are split automatically by price). Without a Scrape.do token the limit is 50.

## `includeDetails` (type: `boolean`):

Also open each listing page to add the admin fee (administración), building age, full amenity list, all photos, video and agency details. Uses one extra request per listing. Requires your own Scrape.do token.

## `useResidentialProxy` (type: `boolean`):

Route requests through Scrape.do residential & mobile proxies (super=true). Normally not needed for Metrocuadrado and costs more credits.

## `maxConcurrency` (type: `integer`):

How many requests run at the same time. Keep it at or below your Scrape.do plan's concurrency.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.metrocuadrado.com/apartamentos/venta/bogota/"
    }
  ],
  "operation": "venta",
  "propertyTypes": [
    "apartamento"
  ],
  "city": "bogota",
  "condition": "any",
  "maxItems": 100,
  "includeDetails": false,
  "useResidentialProxy": false,
  "maxConcurrency": 5
}
```

# Actor output Schema

## `listings` (type: `string`):

No description

## `allFields` (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 = {
    "startUrls": [
        {
            "url": "https://www.metrocuadrado.com/apartamentos/venta/bogota/"
        }
    ],
    "city": "bogota"
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapedo/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 = {
    "startUrls": [{ "url": "https://www.metrocuadrado.com/apartamentos/venta/bogota/" }],
    "city": "bogota",
}

# Run the Actor and wait for it to finish
run = client.actor("scrapedo/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 '{
  "startUrls": [
    {
      "url": "https://www.metrocuadrado.com/apartamentos/venta/bogota/"
    }
  ],
  "city": "bogota"
}' |
apify call scrapedo/metrocuadrado-scraper --silent --output-dataset

```

## MCP server setup

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