# Inmuebles24 Property Listings Scraper (`codingfrontend/inmuebles24-property-listings-scraper`) Actor

Extract comprehensive property listings directly from Inmuebles24 Property Listings, including sale/rental prices, location coordinates, BHK configuration, amenities, agent contact information, and developer metadata. Perfect for real estate market research, housing price trends, and investment m...

- **URL**: https://apify.com/codingfrontend/inmuebles24-property-listings-scraper.md
- **Developed by:** [Coding Frontned](https://apify.com/codingfrontend) (community)
- **Categories:** Real estate, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.99 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#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 Property Listings Scraper

Extract comprehensive property listings from Inmuebles24 (inmuebles24.com), Mexico's largest real estate portal. Get sale and rental prices, addresses, property sizes, neighborhoods, agency details, and more. Perfect for real estate market research, housing price trends, and investment modeling.

### Features

- **Sale & rental listings** — scrape properties listed for sale or rent
- **Multiple property types** — houses, apartments, land, offices, commercial spaces
- **Location-based search** — filter by city slug (e.g. `ciudad-de-mexico`, `guadalajara`, `monterrey`)
- **Direct URL support** — supply your own Inmuebles24 listing page URLs via `startUrls`
- **Configurable result limit** — set exactly how many listings to collect per run
- **Cloud-ready** — runs on Apify with scheduling, proxy rotation, and webhook support

### Use Cases

- Real estate market analysis and price benchmarking across Mexican cities
- Investment opportunity discovery for residential and commercial properties
- Data collection for housing price trend reports
- Aggregating listings from multiple property types in one dataset
- Lead generation for real estate agents and developers

### How to Run

1. Open the actor on [Apify](https://apify.com/w3crawler/inmuebles24-property-listings-scraper)
2. Click **Try for free**
3. Set your inputs (listing type, property type, location)
4. Click **Start**
5. Download results from the **Dataset** tab when the run finishes

### Input

| Field | Type | Default | Required | Description |
|-------|------|---------|----------|-------------|
| `listingType` | string | `sale` | ✓ | Property listing type: `sale` (For Sale) or `rent` (For Rent). |
| `propertyType` | string | `casas` | ✓ | Type of property: `casas` (Houses), `departamentos` (Apartments), `terrenos` (Land), `oficinas` (Offices), `locales` (Commercial). |
| `location` | string | `ciudad-de-mexico` |  | City slug for the search location (e.g. `ciudad-de-mexico`, `guadalajara`, `monterrey`). |
| `maxItems` | integer | `30` |  | Maximum number of listings to scrape (1–500). |
| `startUrls` | array |  |  | Direct Inmuebles24 listing page URLs. When provided, overrides `listingType`, `propertyType`, and `location`. |
| `proxyConfiguration` | object | RESIDENTIAL MX |  | Proxy settings. **Mexican residential proxy is strongly recommended** to bypass Cloudflare. |

#### Example Input

```json
{
  "listingType": "sale",
  "propertyType": "departamentos",
  "location": "ciudad-de-mexico",
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"],
    "apifyProxyCountry": "MX"
  }
}
```

### Output

Each scraped listing includes:

| Field | Description |
|-------|-------------|
| `price` | Listed price (number) |
| `currency` | Currency code (e.g. `MXN`) |
| `propertyTitle` | Property type and size title |
| `description` | Full listing description |
| `address` | Full address string |
| `neighborhood` | Neighborhood / colonia name |
| `area` | Property area in m² |
| `url` | Direct URL to the listing on Inmuebles24 |
| `datePosted` | Date the listing was published (ISO 8601) |
| `scrapedAt` | ISO 8601 timestamp when this item was scraped |
| `agencyName` | Name of the real estate agency |
| `country` | Country code |

#### Sample Output

```json
{
  "price": 3500000,
  "currency": "MXN",
  "propertyTitle": "Casa · 185m² · 3 Recámaras",
  "description": "Hermosa casa en fraccionamiento privado...",
  "address": "Col. Polanco, Ciudad de México, CDMX",
  "neighborhood": "Polanco",
  "area": 185,
  "url": "https://www.inmuebles24.com/propiedades/casa-en-polanco-12345.html",
  "datePosted": "2026-05-18T00:00:00.000Z",
  "scrapedAt": "2026-05-20T10:30:00.000Z",
  "agencyName": "Inmuebles Plus",
  "country": "MX"
}
```

### Notes

- **Proxy**: Mexican residential proxy is required — set `proxyConfiguration: { useApifyProxy: true, apifyProxyGroups: ["RESIDENTIAL"], apifyProxyCountry: "MX" }`. Cloudflare JS challenge is bypassed automatically with real Chrome + residential proxy.
- **Prices**: Prices are rendered client-side after React hydration — the actor waits for `[data-qa="POSTING_CARD_PRICE"]` to appear before extracting.
- **Scheduling**: Use Apify Scheduler to monitor price changes on a recurring basis for a continuously updated dataset.
- **Location slugs**: Use Spanish city names in slug form (e.g. `ciudad-de-mexico`, `guadalajara`, `monterrey`, `puebla`, `queretaro`).

# Actor input Schema

## `listingType` (type: `string`):

Property listing type

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

Type of property

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

City slug (e.g. ciudad-de-mexico, guadalajara, monterrey)

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

Max listings to scrape

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

Direct Inmuebles24 listing page URLs

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

RESIDENTIAL MX proxy recommended

## Actor input object example

```json
{
  "listingType": "sale",
  "propertyType": "casas",
  "location": "ciudad-de-mexico",
  "maxItems": 30,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "MX"
  }
}
```

# 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 = {
    "location": "ciudad-de-mexico",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "MX"
    }
};

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

# Run the Actor and wait for it to finish
run = client.actor("codingfrontend/inmuebles24-property-listings-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "location": "ciudad-de-mexico",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "MX"
  }
}' |
apify call codingfrontend/inmuebles24-property-listings-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=codingfrontend/inmuebles24-property-listings-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/NbXUxNCz3Xqi4SoM8/builds/1LH8eO6KWiA5ZPpS7/openapi.json
