# Propiedades.com Scraper: Mexico Real Estate Listings API (`automatic/propiedades-mx-scraper`) Actor

Propiedades.com scraper for casas, departamentos, terrenos, oficinas and naves en venta y renta across Mexico, plus bank-auction remates. Up to 10,000 listings per run with price in MXN or USD, m², recámaras, baños, map coordinates, photos and optional full descriptions.

- **URL**: https://apify.com/automatic/propiedades-mx-scraper.md
- **Developed by:** [Philip Kirkbride](https://apify.com/automatic) (community)
- **Categories:** Real estate
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.10 / 1,000 listings

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## Propiedades.com Scraper: Mexico Real Estate Listings API

Get casas y departamentos en venta y renta across Mexico from Propiedades.com as clean rows ready for a spreadsheet, a CRM or a pricing model. Every property type the site lists (casas, departamentos, terrenos, oficinas, locales, bodegas, naves industriales, ranchos, desarrollos) in every colonia, city and state: price in pesos or dólares, m², recámaras, baños, estacionamientos, the map point, the main photo, amenities and how long each listing has been on the market. Add full details for the complete description and the whole photo gallery. Up to 10,000 listings per run, and any Propiedades.com search you paste keeps its filters.

**Start with the prefilled form or send `{}` for a quick sample:** 20 departamentos en venta in Ciudad de México in a few seconds.

### What you get

- **Whole cities in one run.** Up to 10,000 listings across up to 10 searches: Ciudad de México, Guadalajara, Monterrey, Querétaro, Mérida, Cancún or any colonia. Maximum listings is shared fairly between your searches, and what a small search does not use goes to the others. Listings are saved page by page, so a run that reaches its time limit keeps everything it found.
- **Type the place the way you say it.** "Roma Norte", "polanco", "Guadalajara", "CDMX" or "Querétaro" work as typed, accents or not. Each name is matched to the place the site itself uses, and the run's status message says which place every name became.
- **Paste the search you already use.** Set colonias, price, recámaras, baños, m², a feature such as alberca or the sort order on propiedades.com, copy the address, and every page of results keeps those filters.
- **Prices exactly as published.** Pesos or dólares as the listing shows them, never converted, plus the site's own peso figure for dollar listings and price per m².
- **Map points for nearly every listing.** Latitude and longitude as the advertiser placed them, with a flag when the site itself marks a point as unreliable.
- **Bank auctions on demand.** Leave remates bancarios out (the site's default), get only remates, or both.
- **Full details when you want them.** The complete listing description and every gallery photo at full size, in the listing's order.
- **The right place or nothing.** A name the site does not know is skipped with the site's own suggestions to pick from, never swapped for a neighbouring place. Your other searches still run, and you pay only for the listings saved.
- **Clean, stable rows.** One row per listing with a stable `listingKey`, duplicates across searches removed, missing values left empty. Export as JSON, CSV or Excel, or read through the Apify API.

### Use cases

- **Real estate agencies and brokers:** track competing listings, asking prices and time on market by colonia.
- **Investors and analysts:** build price-per-m² comparisons for CDMX, Guadalajara, Monterrey or any state, rentals versus sales.
- **Remate hunters:** list every bank-auction house in a city with its price, size and map point.
- **Proptech and data teams:** feed a valuation model or a listings dashboard on a schedule.
- **Full-market coverage:** pair it with our [Inmuebles24 Scraper](https://apify.com/automatic/inmuebles24-mx-scraper) and [Mercado Libre Inmuebles Scraper](https://apify.com/automatic/ml-inmuebles-scraper); the shared `listingKey` style makes the exports easy to combine.

### Output example

A real listing read from Propiedades.com on 15 November 2026 with full details (photos trimmed to three, description shortened):

```json
{
  "listingKey": "propiedades.com:31428089",
  "id": "31428089",
  "url": "https://propiedades.com/inmuebles/departamento-en-renta-av-pdte-masaryk-123planta-baja-chapultepec-morales-polanco-v-secc-miguel-hidalgo-11560-ciudad-123-polanco-v-seccion-df-31428089",
  "operation": "renta",
  "propertyType": "departamentos",
  "propertyTypeLabel": "Departamento",
  "category": "Residencial",
  "price": 52000,
  "currency": "MXN",
  "priceMxn": 52000,
  "pricePerM2": 787.88,
  "areaM2": 66.0,
  "bedrooms": 2,
  "bathrooms": 1,
  "parkingSpaces": null,
  "amenities": [
    "gym",
    "furnished",
    "laundry",
    "private-security",
    "elevator",
    "air-conditioning",
    "heating"
  ],
  "address": "Av. Pdte. Masaryk 123-Planta Baja, Chapultepec Morales, Polanco V Secc, Miguel Hidalgo, 11560 Ciudad #123, Col. Polanco V Sección C.P. 11560, Miguel Hidalgo",
  "street": "Av. Pdte. Masaryk 123-Planta Baja, Chapultepec Morales, Polanco V Secc, Miguel Hidalgo, 11560 Ciudad #123",
  "colony": "Polanco V Sección",
  "municipality": "Miguel Hidalgo",
  "state": "DF / CDMX",
  "postalCode": "11560",
  "latitude": 19.4317775,
  "longitude": -99.1866139,
  "coordinatesValid": true,
  "photo": "https://propiedadescom.s3.amazonaws.com/files/original/4d7a421c-602c-11f1-a54f-2d9c9cb69bc7.jpeg",
  "thumbnail": "https://propiedadescom.s3.amazonaws.com/files/292x200/4d7a421c-602c-11f1-a54f-2d9c9cb69bc7.jpeg",
  "photoCount": 15,
  "photos": [
    "https://propiedadescom.s3.amazonaws.com/files/original/4d7a421c-602c-11f1-a54f-2d9c9cb69bc7.jpeg",
    "https://propiedadescom.s3.amazonaws.com/files/original/4d7a619c-602c-11f1-9299-2d9c9cb69bc7.jpeg",
    "https://propiedadescom.s3.amazonaws.com/files/original/4d7a50b7-602c-11f1-9541-2d9c9cb69bc7.jpeg"
  ],
  "description": "Vive Polanco desde Masaryk 123 – Departamentos Amueblados\nUbicación privilegiada en una de las avenidas más icónicas de la CDMX.\nContratos flexibles desde 3 meses.\nEspacios diseñados para tu día a día:\n• 2 recámaras equipadas\n• 1 o 2 baños completos\n• Sala,…",
  "publishedAt": "2026-06-04T15:41:45",
  "modifiedAt": "2026-06-04",
  "timeOnSite": "5 meses en Propiedades.com",
  "isAuction": false,
  "isExclusive": false,
  "isFeatured": true,
  "isNewListing": false,
  "hasWhatsapp": true,
  "detailsIncluded": true,
  "searchLocation": "Zona Polanco, Ciudad de México / CDMX",
  "page": 1,
  "position": 3,
  "searchUrl": "https://propiedades.com/polanco/departamentos-renta",
  "collectedAt": "2026-11-15T19:40:12Z"
}
```

Without full details, `photos` and `description` are `null` and `detailsIncluded` is `false`. Three table views come with every run: **Listings**, **Prices and size**, and **Map points**.

### Inputs

| Field | Meaning |
| --- | --- |
| `locations` | Colonias, cities or states: `polanco`, `Roma Norte`, `guadalajara`, `monterrey`, `queretaro`, `df` (all of Ciudad de México)... One search per place. |
| `startUrls` | Up to 10 propiedades.com search pages, with any filters you set on the site. |
| `operation` | `venta` (default) or `renta`. |
| `propertyType` | `departamentos` (default), `casas`, `casas-en-condominio`, `terrenos-habitacionales`, `cuartos`, `ranchos`, `desarrollos`, `oficinas`, `locales`, `bodegas-comerciales`, `terrenos-comerciales`, `edificios`, `bodegas-industriales`, `terrenos-industriales`, `naves-industriales`, the groups `residencial`, `comercial`, `industrial`, or `todos`. |
| `maxResults` | Listings per run, 1 to 10,000 (default 100), shared equally between searches; a search with fewer listings leaves the rest to the others. |
| `includeDetails` | Complete description and the whole photo gallery for every listing (default off). |
| `priceMin`, `priceMax` | Price range in pesos (dollar listings are compared at the site's own peso figure). |
| `bedroomsMin`, `bedroomsMax`, `bathroomsMin`, `bathroomsMax` | Recámaras and baños. |
| `areaMinM2`, `areaMaxM2` | Listed area in m². |
| `feature` | `any` (default), `pool` (alberca), `garden` (jardín), `terrace` (terraza), `parking` (estacionamiento), `furnished` (amueblado), `pets-allowed` (mascotas), `fireplace` (chimenea), `laundry-area` (área de lavado), `basement` (sótano), `new-construction` (nuevo), `pre-owned` (usado). |
| `bankAuctions` | `exclude` (default), `only` or `include` remates bancarios. |
| `sort` | `relevance` (the site's order), `price-asc`, `price-desc`, `size-asc` or `size-desc`. |
| `maxPages` | Result pages per search, about 47 listings each. By default enough to reach `maxResults`. |

Filters apply to Places; pasted search URLs keep the filters in the URL. Every saved listing matches the filters you set. When you filter on a value a listing does not show (for example baños), that listing is left out.

### Examples

Two- and three-bedroom rentals in Polanco and Roma Norte up to $40,000 a month:

```json
{"locations": ["polanco", "Roma Norte"], "operation": "renta", "bedroomsMin": 2, "bedroomsMax": 3, "priceMax": 40000, "maxResults": 500}
```

Your own Propiedades.com search with its filters:

```json
{"startUrls": [{"url": "https://propiedades.com/df/casas-venta#precio-min=3000000&precio-max=5000000&recamaras=3"}], "maxResults": 1000}
```

Every bank-auction house in Ciudad de México, cheapest first, with full details:

```json
{"locations": ["df"], "propertyType": "casas", "bankAuctions": "only", "sort": "price-asc", "includeDetails": true, "maxResults": 300}
```

A state-wide export of industrial property (set the run timeout to about 5 minutes):

```json
{"locations": ["nuevo-leon"], "propertyType": "industrial", "maxResults": 5000}
```

Allow about 1 minute per 1,000 listings in the run timeout, or about 8 minutes per 1,000 with full details.

### Pricing

**$0.0015 per listing ($1.50 per 1,000), $0.001 more per listing with full details ($1.00 per 1,000), plus $0.005 per run start.** The start fee is charged per GB of memory; the default 512 MB run is one start event. Set **Maximum cost per run** to cap any run: the run stops cleanly at that amount and keeps the listings already saved, and full details are only read for listings that fit.

### Run summary (OUTPUT)

The `OUTPUT` record in the run's key-value store has `status` (`ok`, `partial`, `no_results` or `failed`), listings saved and how many have full details, `usedExample`, `stopReason`, each search with the place it matched, the site's total, the pages read and why it stopped (`search-share` when it reached its share of Maximum listings), filtered, duplicate and other-place counts, and any input fields that were not recognized. `skippedSearches` explains input problems and `failedSearches` explains source errors. If a source error occurs after any listings were saved, the run keeps those listings and reports `partial`.

### Limits

- The advertiser's name and phone number are not included: the site shows them only on the listing page or after a contact click.
- Coordinates are as the advertiser placed them; a few listings carry a point the site itself flags (`coordinatesValid: false`).
- A pasted URL keeps the price, m², recámaras, baños, feature, sort and remates settings. Any other setting in it is named in the run's warnings and not applied.
- One must-have feature per search, as on the site. For several, run one search per feature or filter the export.
- The site's own order puts featured listings first; with `maxResults` below a search's total, `sort` decides which listings you get.
- Prices, areas and features are as published by each advertiser and are not verified. Dollar listings keep their dollar price; `priceMxn` is the site's own peso figure.
- A short name several places share goes to the place the site's own address uses: `centro` is the municipio Centro, Tabasco, and `queretaro` is the whole state. Add the city (`centro queretaro`) or paste the site's search URL for one exact place; the status message always says which place was searched.
- The site sometimes shows a few cards of another place on a page. Cards from another state, municipio or (for a colonia search) colonia are left out; inside a named zone such as Polanco or Condesa, which the site does not split by colonia, a stray card from the same state can still appear. A listing found by more than one of your searches is saved once, under the first.
- Up to 10,000 listings and 10 searches per run (each colonia of a pasted URL counts as one search).

# Actor input Schema

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

Colonias, cities or states as you would type them in the site's search box, for example <code>polanco</code>, <code>Roma Norte</code>, <code>guadalajara</code>, <code>monterrey</code>, <code>queretaro</code> or <code>CDMX</code>. One search per place, up to 10. A place the site does not recognize is skipped (with the site's suggestions in the run summary) instead of searching somewhere else. Leave empty with no search URLs for a quick 20-listing sample from Ciudad de México.

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

Paste up to 10 search pages from propiedades.com with the filters you set on the site (several colonias, price, recámaras, baños, m², a feature such as alberca, sort order, remates). Every page keeps those filters. Example: <code>https://propiedades.com/polanco/departamentos-renta#precio-max=40000\&recamaras=2</code>. Runs together with Places.

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

Used with Places. Pasted search URLs keep their own operation.

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

Used with Places.

## `maxResults` (type: `integer`):

Listings per run, up to 10,000 (default 100), shared equally between your searches; a search with fewer listings leaves the rest to the others. Listings are saved as they are found, so a run that hits its time limit keeps everything collected. Allow about 1 minute per 1,000 listings in the run timeout (about 8 minutes per 1,000 with full details).

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

Add each listing's complete description and its whole photo gallery at full size. Charged per listing on top of the listing price, and slower (about 8 minutes per 1,000 listings).

## `priceMin` (type: `integer`):

Lowest price in pesos, for example 3000000. Listings priced in dólares are compared at the site's own peso equivalent.

## `priceMax` (type: `integer`):

Highest price in pesos, for example 5000000, or a monthly rent such as 25000.

## `bedroomsMin` (type: `integer`):

Fewest bedrooms.

## `bedroomsMax` (type: `integer`):

Most bedrooms.

## `bathroomsMin` (type: `integer`):

Fewest bathrooms.

## `bathroomsMax` (type: `integer`):

Most bathrooms.

## `areaMinM2` (type: `number`):

Smallest listed area in square metres.

## `areaMaxM2` (type: `number`):

Largest listed area in square metres.

## `feature` (type: `string`):

One feature, as the site's own search filter offers it.

## `bankAuctions` (type: `string`):

Remates bancarios are sales of repossessed homes, usually far below market price. Sales only.

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

The order listings are read in. With Maximum listings below the search's total, this decides which listings you get.

## `maxPages` (type: `integer`):

Result pages read per search (about 47 listings each). By default enough pages to reach Maximum listings.

## Actor input object example

```json
{
  "locations": [
    "df"
  ],
  "operation": "venta",
  "propertyType": "departamentos",
  "maxResults": 20,
  "includeDetails": false,
  "feature": "any",
  "bankAuctions": "exclude",
  "sort": "relevance"
}
```

# Actor output Schema

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

No description

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

OUTPUT record: status (ok, partial, no_results or failed), emitted, detailed, usedExample, stopReason, complete, each search with its place, total and pages, skippedSearches and failedSearches with reasons, filtered, duplicate and other-place counts, problems, unknownInputKeys and warnings.

# 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 = {
    "locations": [
        "df"
    ],
    "maxResults": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("automatic/propiedades-mx-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 = {
    "locations": ["df"],
    "maxResults": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("automatic/propiedades-mx-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 '{
  "locations": [
    "df"
  ],
  "maxResults": 20
}' |
apify call automatic/propiedades-mx-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,automatic/propiedades-mx-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/HF5oAxPhfBiMVtUSh/builds/c6EPfHXaaT98K1H5l/openapi.json
