# Inmuebles24 Scraper — Mexico Real Estate Listings (`datamx/inmuebles24-scraper`) Actor

Extract Inmuebles24 property listings with GPS coordinates and agency WhatsApp numbers: prices, locations, street address, bedrooms, bathrooms, m² and images. Search by URL or filters. Fast HTTP scraping, no browser. Export to JSON, CSV or Excel.

- **URL**: https://apify.com/datamx/inmuebles24-scraper.md
- **Developed by:** [Alvaro](https://apify.com/datamx) (community)
- **Categories:** Real estate, Lead generation, E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Inmuebles24 Scraper — Mexico Real Estate Data

Extract clean, structured property listings from **Inmuebles24.com**, Mexico's largest real estate portal — including **GPS coordinates** and **agency WhatsApp numbers** that other scrapers miss.

**No browser, no fuss:** fast plain-HTTP scraping, which makes this one of the cheapest and fastest Inmuebles24 scrapers available. A single request returns 30 fully-populated listings.

### What you get on every listing

| | |
|---|---|
| 💰 **Price** | amount + currency, normalized to MXN |
| 📍 **Location** | full hierarchy (colonia → alcaldía → city) **plus street address** |
| 🗺️ **GPS coordinates** | real latitude/longitude — map it, cluster it, compute distances |
| 🏠 **Property details** | bedrooms, bathrooms, m² total and covered, parking |
| 🏢 **Agency** | real agency name **and** publisher ID |
| 📱 **WhatsApp** | the agency's contact number, straight from the listing |
| 🖼️ **Images** | ~8 photo URLs per listing (up to 30 in full-detail mode) |
| 🔖 **Type & operation** | sale vs rent, apartment / house / land / commercial |

### What can you do with it?

- **Market research** — track asking prices per neighborhood (Polanco, Roma Norte, San Pedro Garza García) over time
- **Investment analysis** — find under-priced properties by comparing price per m² across colonias
- **Geo analysis** — every listing carries coordinates, so you can map inventory, build heatmaps or measure distance to metro, schools and offices
- **Lead generation** — agency names and WhatsApp numbers on every record
- **Appraisal & valuation** — build comparables datasets for AVMs
- **Competitive monitoring** — watch competitor inventory and price changes

### Input

The simplest way: paste any Inmuebles24 **search URL** (apply your filters on the site, copy the URL):

```json
{
    "startUrls": [{ "url": "https://www.inmuebles24.com/departamentos-en-venta-en-ciudad-de-mexico.html" }],
    "maxItems": 200
}
```

Or use the built-in filters, no URL needed:

```json
{
    "operation": "venta",
    "propertyType": "casas",
    "location": "monterrey",
    "maxItems": 100,
    "fetchDetails": true
}
```

| Field | Description |
|---|---|
| `startUrls` | Any Inmuebles24 search result URLs. Overrides the filters below. |
| `operation` | `venta` (sale) or `renta` (rent) |
| `propertyType` | `departamentos`, `casas`, `terrenos`, `oficinas-comerciales`, `locales-comerciales`, `bodegas-comerciales`, `inmuebles` (all) |
| `location` | City, neighborhood or state slug, e.g. `ciudad-de-mexico`, `guadalajara`, `polanco` |
| `maxItems` | Stop after N listings |
| `fetchDetails` | Also visit each listing page for the full description, all photos, amenities and phone number |

### Output

One JSON object per listing:

```json
{
    "id": "150385314",
    "url": "https://www.inmuebles24.com/propiedades/clasificado/...html",
    "title": "Departamento en Venta en Jardines del Pedregal",
    "priceAmount": 6890000,
    "priceCurrency": "MXN",
    "operation": "venta",
    "propertyType": "departamento",
    "location": "Jardines del Pedregal, Álvaro Obregón, Ciudad de México",
    "address": "Av. Patriotismo 63",
    "latitude": 19.4032487,
    "longitude": -99.1784447,
    "bedrooms": 2,
    "bathrooms": 3,
    "totalAreaM2": 167,
    "coveredAreaM2": 150,
    "parkingSpaces": 1,
    "images": ["https://img10.naventcdn.com/..."],
    "publisher": "CONFIHABIT",
    "publisherId": "103100933",
    "whatsapp": "52 5539938526",
    "scrapedAt": "2026-08-21T20:41:29.000Z"
}
```

Download as **JSON, CSV, Excel or XML**, or pull through the [Apify API](https://docs.apify.com/api/v2) and integrations — Google Sheets, Make, Zapier, webhooks.

> Note: new developments (*desarrollos*) advertise ranges rather than a single unit, so `bedrooms` / `bathrooms` / `totalAreaM2` may be `null` on those records. Price, location, coordinates and agency are always populated.

### Pricing

Pay only for what you get: **$1.00 per 1,000 listings** plus a $0.001 run start fee. No platform surcharges — the price you see is the price you pay. Full-detail mode costs the same per listing.

### Tips

- Start with `maxItems: 20` to validate your search before large runs
- Use `id` as the deduplication key when scheduling recurring runs
- Schedule daily or weekly runs plus a Google Sheets export for a zero-code price monitor
- Search mode already returns coordinates, agency and WhatsApp — you only need `fetchDetails` for the full description and complete photo gallery

### Is this legal?

This Actor extracts **publicly visible listing data** — the same information any visitor sees, including the business contact details that agencies publish specifically so buyers can reach them. It does not access anything behind a login. You are responsible for using the data in compliance with applicable laws (including data-protection rules on contacting businesses) and the target site's terms.

### Support

Found an issue or need an extra field? Open an issue in the **Issues** tab — response within 24 hours.

# Actor input Schema

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

One or more Inmuebles24 search result URLs. Apply your filters on inmuebles24.com and paste the URL here. If left empty, the filters below are used.

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

Buy or rent. Used only when no Search URLs are given.

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

Used only when no Search URLs are given.

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

City, neighborhood or state as it appears in Inmuebles24 URLs (e.g. ciudad-de-mexico, monterrey, guadalajara, polanco, queretaro). Used only when no Search URLs are given.

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

Stop after this many listings (across all search URLs).

## `fetchDetails` (type: `boolean`):

Also visit each listing page for the full description, all images, coordinates and amenities. Slower, and charged at a higher rate per item.

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

Proxies to use. Mexican residential proxies are strongly recommended.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.inmuebles24.com/departamentos-en-venta-en-ciudad-de-mexico.html"
    }
  ],
  "operation": "venta",
  "propertyType": "departamentos",
  "location": "ciudad-de-mexico",
  "maxItems": 100,
  "fetchDetails": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "MX"
  }
}
```

# Actor output Schema

## `results` (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.inmuebles24.com/departamentos-en-venta-en-ciudad-de-mexico.html"
        }
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "MX"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("datamx/inmuebles24-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.inmuebles24.com/departamentos-en-venta-en-ciudad-de-mexico.html" }],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "MX",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("datamx/inmuebles24-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.inmuebles24.com/departamentos-en-venta-en-ciudad-de-mexico.html"
    }
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "MX"
  }
}' |
apify call datamx/inmuebles24-scraper --silent --output-dataset

```

## MCP server setup

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