# Inmuebles24 Scraper - Mexico Real Estate Listings (`nice_dev/inmuebles24-listings-scraper`) Actor

Scrape Inmuebles24 (Mexico) real estate listings for sale or rent: price, m², rooms, GPS, photos, with optional full page (amenities, agency rating) and agency phone and email. Many searches per run, no 20,000 cap. JSON, CSV, Excel.

- **URL**: https://apify.com/nice_dev/inmuebles24-listings-scraper.md
- **Developed by:** [Nice Dev](https://apify.com/nice_dev) (community)
- **Categories:** Real estate, Lead generation, MCP servers
- **Features:** Limited permissions
- **Stats:** 1 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

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

### 🏠 What is Inmuebles24 Scraper?

**Inmuebles24 Scraper** extracts **real estate listings from [Inmuebles24](https://www.inmuebles24.com)**, Mexico's largest property portal: **price, m², bedrooms, bathrooms, parking, city, GPS and photos** — and, if you want, **the full listing page (every photo, amenities, the agency and its rating)** and **the agency's phone number, WhatsApp and email**. For sale, for rent, short-term rentals and new developments, anywhere in Mexico.

Pick an operation and a property type, type a place (`Polanco`, `Guadalajara`, `Quintana Roo`) or paste any Inmuebles24 search URL, click **Start**, and download the listings in JSON, CSV or Excel. No login, nothing to set up: **about 1,000 listings in 6 to 7 minutes with their full page, 1,000 in 45 seconds with the search fields only**.&#x20;

### 📋 What data can you extract from Inmuebles24?

One item per listing, 85 fields:

| Category | What you get |
| --- | --- |
| 🏷️ **Listing** | title, link, the site's id, sale or rent, property type — `Departamento en renta en Polanco` |
| 💰 **Price** | price and currency, price per m², monthly maintenance fee — `MN 83,000`, `488 per m²` |
| 📐 **Property** | bedrooms, bathrooms, parking spaces, built and total area, floor, age, condition, furnished, pets allowed |
| ✨ **Amenities** | pool, gym, elevator, security, terrace, roof garden… grouped as on the listing page |
| 📍 **Location** | street, neighbourhood, city, state, postal code, GPS point |
| 🖼️ **Media** | every photo in full size, floor plans, 360° tours |
| 🏢 **Agency** | name, logo, type (agency, owner, developer), users' rating out of 5, premier plan |
| 📞 **Contacts** | phone numbers, WhatsApp, email and contact name of the agency (option) |
| 🏗️ **New developments** | number of units, area and bedroom range of the units |
| 🕒 **Dates and visibility** | publication dates, number of views, the agency's reference, paid visibility tier |

Every field, with an example, is listed in the **Output** section below.

Fields from the listing page (full description, neighbourhood and location line, agency name and rating, all photos, floor plans, tours, views, condition, amenities by category) are filled when **Extract details** is on (off by default); the city and the state come with the search card too. The contact fields are filled when **Agency phone & email** is on.

### ✅ Why use Inmuebles24 Scraper?

- 🧩 **Every listing of a big search**: Inmuebles24 shows about 20,000 listings per search at most. With **Get every listing of large searches** (on by default) a bigger search is cut into price ranges automatically — nothing is left out, nothing comes twice.
- 🗂️ **Many searches in one run**: property types × places (up to 500 searches per run), with a cap per search.
- 🎛️ **All the site's filters**: price and currency, bedrooms, bathrooms, parking, total and built area, maintenance fee, publication date, private owner or agency, video / 360° tour / floor plans, new-development stage — plus the building's age, keywords to include or exclude and exact dates, applied by the Actor.
- 📞 **Agency phone, WhatsApp and email** in the same run, when you want them.
- ⭐ **More than the listing**: the agency's rating by users, the number of views, amenities by category, every photo in full size, floor plans and tours, price per m².
- 🔔 **Monitoring built in**: tick **Only new listings**, schedule the Actor, and each run returns (and charges) only what it has never delivered before.
- 🔌 API, scheduling, integrations (Make, Zapier, n8n, Google Sheets…) and JSON/CSV/Excel export via the Apify platform.

### 🚀 How to scrape Inmuebles24

1. Create a free Apify account.
2. Open **Inmuebles24 Scraper**, choose the **Operation** (for sale, for rent…) and the **Property types**, and type a **Location** (e.g. `Polanco`).
3. Or paste your own Inmuebles24 URLs into **Start URLs**: any search results page or single listing pages.
4. Set **Max listings** (100 by default, 0 = no limit) — and **Max listings per search** when you run several searches — then click **Start**.
5. Download the dataset in JSON, CSV, Excel or via API.

### 💰 How much does it cost to scrape Inmuebles24?

This Actor uses **pay per event** pricing: you pay for each listing, and for each option only when you turn it on. Higher Apify plans pay less per listing:

| Price per 1,000 listings | Free | Bronze | Silver | Gold and above |
| --- | --- | --- | --- | --- |
| Listing (every row of the dataset) | **$0.36** | $0.35 | $0.34 | $0.33 |
| + its full listing page (**Extract details**, off by default) | **+$0.89** | +$0.81 | +$0.72 | +$0.63 |
| + the agency's phone or email (**Agency phone & email**) | **+$0.45** | +$0.44 | +$0.43 | +$0.42 |

- **Run start**: $0.01 per run ($1 per 100 runs), every plan.
- A listing whose contact card gives no phone and no email is not charged for it.
- Filters the site does not offer (keywords, exact dates, building age) are applied by the Actor on every listing it reads; a listing they drop is charged **$0.048 per 1,000 listings dropped** on the Free plan ($0.038 Bronze, $0.028 Silver, $0.018 Gold and above) when the search card is enough to decide, **$0.19 per 1,000** ($0.18 / $0.17 / $0.16) when a keyword is looked for in the full description (the listing page is read for it). A listing they keep pays its own price only.
- Inmuebles24 limits how many listing pages and contact cards one IP address may open per hour; past that limit the Actor goes on through extra addresses it pays for, at no extra charge.
- Platform usage (compute, proxy) is included in the price.

Examples on the Free plan: **10,000 listings with Extract details on** = 10 × ($0.36 + $0.89) + $0.01 = **$12.51**; **1,000 listings with the agency's phone or email, details off** = $0.36 + $0.45 + $0.01 = **$0.82** at most.

### ⚙️ Input

```json
{
    "operation": "rent",
    "propertyTypes": ["apartment"],
    "location": "Polanco",
    "maxItems": 200
}
```

Several places and types, a cap per search, filters of the site, the agency's contacts, only the listings not delivered before:

```json
{
    "operation": "sale",
    "propertyTypes": ["apartment", "house"],
    "locations": ["Guadalajara", "Zapopan"],
    "maxItemsPerQuery": 100,
    "minPrice": 2000000,
    "maxPrice": 6000000,
    "minBedrooms": 2,
    "fetchContacts": true,
    "onlyNew": true,
    "stateKey": "gdl-sale"
}
```

Or with your own URLs:

```json
{
    "startUrls": [
        { "url": "https://www.inmuebles24.com/casas-en-venta-en-juriquilla.html" },
        { "url": "https://www.inmuebles24.com/propiedades/clasificado/alclapin-casa-en-renta-en-polanco-149909777.html" }
    ],
    "maxItems": 500
}
```

| Field | Notes |
| --- | --- |
| `operation` | `sale` (default), `rent`, `temporary_rent` (short-term / holiday), `transfer` (traspaso). |
| `propertyTypes` | One search per type: `apartment`, `house`, `condo_house`, `land`, `office`, `commercial_space`, `commercial_warehouse`, `building`, `vertical_development` and 14 more in the form. Empty = every type in one search. |
| `location`, `locations` | A state, city, municipality or neighbourhood (`Ciudad de México`, `Jalisco`, `Guadalajara`, `Condesa`), its state after a comma if you like (`Monterrey, NL`); `locations` adds more places. Every type is searched in every location (max 500 searches per run). The run log says how Inmuebles24 read each place. |
| `address` | Text searched in the listing's address (`Lope de Vega`); only the part before a comma is searched, the neighbourhood goes in `location`. |
| `startUrls` | Inmuebles24 search results pages (operation, type, place and price written in the URL are kept; pagination is automatic) or single listing pages. The search fields above are then ignored. |
| `maxItems` | Stop after this many listings for the whole run (`0` = unlimited). |
| `maxItemsPerQuery` | Cap for EACH search (type × location, or search URL). `0` = no per-search cap. |
| `splitLargeSearches` | Cut a search of more than about 20,000 listings into price ranges so that none is left out (default on). |
| `extractDetails` | Open each listing for the full description, the agency and its rating, every photo, plans and tours (default off). |
| `fetchContacts` | Add the agency's phone numbers, WhatsApp and email (default off). |
| `currency`, `minPrice`, `maxPrice` | Price range, in `MXN` (default) or `USD`. |
| `minBedrooms`, `maxBedrooms`, `minBathrooms`, `maxBathrooms`, `minParking`, `maxParking` | Counts, 0 to 20. |
| `minArea`, `maxArea`, `minCoveredArea`, `maxCoveredArea`, `minExpenses`, `maxExpenses` | Total and built area in m², monthly maintenance fee in pesos. |
| `publicationDate` | The site's own filter: `today`, `since_yesterday`, `last_week`, `last_15_days`, `last_30_days`, `last_45_days`. |
| `publisherType` | `private` (trato directo) or `agency`; `any` by default. |
| `multimedia` | Only listings with this media: `video`, `photos`, `virtual_tour` or `floor_plans`; `any` by default. |
| `projectStage` | New developments: `presale` (not built yet) or `ready`; `any` by default. |
| `postedAfter`, `postedBefore` | Publication date range: `2026-09-01`, or a period before now (`7 days`, `2 weeks`, `1 month`, `24 hours`). |
| `excludeKeywords` | Drop the listings whose title or description contains one of these WHOLE words (`preventa` drops "Preventa torre"; `venta` keeps "Preventa"; case and accents ignored). |
| `includeKeywords` | Keep only the listings whose title or description contains one of these words (`alberca`, `roof garden`). |
| `propertyAge` | Age the listing states: `under_construction`, `brand_new`, `up_to_5_years`, `5_to_10_years`, `10_to_20_years`, `20_to_50_years`, `over_50_years`; `any` by default. |
| `requirePhone` | Keep only the listings whose agency shows a phone number (needs `fetchContacts`). |
| `onlyNew`, `stateKey`, `resetState` | Monitoring: only the listings never delivered under this memory key; `resetState` forgets the memory. |
| Advanced | `proxyConfiguration` (Apify proxy by default, included in the price; the residential proxy is not available), `maxConcurrency`, `maxRequestsPerMinute`, `minRequestIntervalMs`, `maxRequestRetries`, `debugLog`. |

### 📦 Output

A real item of a test run (description and lists shortened, contact details replaced by examples):

```json
{
    "id": "150683847",
    "url": "https://www.inmuebles24.com/propiedades/clasificado/alclapin-renta-departamento-en-polanco-150683847.html",
    "title": "RENTA DEPARTAMENTO EN POLANCO",
    "description": "¿Y si tu próximo hogar en Polanco ya estuviera listo… con todo incluido y sin complicaciones? …",
    "descriptionIsComplete": true,
    "operation": "rent",
    "operationLabel": "Alquiler",
    "propertyType": "Departamento",
    "propertyTypeId": "2",
    "propertySubtype": null,
    "propertyCategory": "Residencial",
    "postingType": "property",
    "price": 83000,
    "currency": "MXN",
    "priceText": "MN 83,000",
    "priceOnRequest": false,
    "prices": [
        {
            "operation": "rent",
            "price": 83000,
            "currency": "MXN"
        }
    ],
    "pricePerSqm": 488.24,
    "expenses": 7200,
    "expensesCurrency": "MXN",
    "bedrooms": 2,
    "bathrooms": 2,
    "halfBathrooms": 2,
    "parkingSpaces": 3,
    "totalAreaM2": 170,
    "coveredAreaM2": 170,
    "ageYears": 18,
    "underConstruction": false,
    "floor": 5,
    "condition": "Bueno",
    "furnished": false,
    "petsAllowed": true,
    "amenities": [
        "Elevador",
        "Bodega",
        "Gimnasio",
        "Línea blanca",
        "Alberca",
        "Seguridad privada"
    ],
    "amenitiesByCategory": {
        "Características generales": [
            "Elevador: 1",
            "Alberca",
            "Escuelas cercanas"
        ],
        "Servicios": [
            "Gimnasio",
            "Línea blanca",
            "Seguridad privada"
        ]
    },
    "address": "Goldsmith",
    "neighborhood": "Polanco",
    "city": "Miguel Hidalgo",
    "state": "Ciudad de México",
    "locationText": "Polanco III Sección, Polanco, Miguel Hidalgo, Ciudad de México",
    "postalCode": "11540",
    "country": "MX",
    "latitude": 19.4340853,
    "longitude": -99.2005112,
    "addressVisibility": "exact",
    "imageUrl": "https://img10.naventcdn.com/avisos/18/01/50/68/38/47/1200x1200/1623332866.jpg",
    "images": [
        "https://img10.naventcdn.com/avisos/18/01/50/68/38/47/1200x1200/1623332866.jpg",
        "https://img10.naventcdn.com/avisos/18/01/50/68/38/47/1200x1200/1623332868.jpg"
    ],
    "imageCount": 15,
    "floorPlans": [],
    "hasPlans": false,
    "hasTour": false,
    "virtualTours": [],
    "publisherId": "51317",
    "publisherName": "Cattori Inmobiliaria",
    "publisherType": "agency",
    "publisherLogo": "https://img10.naventcdn.com/empresas/18/00/00/05/13/17/130x70/51317.jpg",
    "publisherPremier": true,
    "publisherVerified": false,
    "publisherRating": 4.7,
    "publisherRatingDetails": {
        "Atención": 4.8,
        "Tiempo de respuesta": 4.7,
        "Recomendación": 4.6
    },
    "publisherScore": 4,
    "publisherIsNew": false,
    "publishedAt": "2026-09-15T21:55:22.000Z",
    "firstPublishedAt": "2026-07-31T04:00:00.000Z",
    "views": 66,
    "advertiserCode": "EB-WO5330",
    "listingTier": "SUPERHIGHLIGHTED",
    "premier": true,
    "tags": [
        "Video"
    ],
    "status": "ONLINE",
    "hasWhatsapp": true,
    "whatsApp": "+525512345678",
    "phone": "+525512345678",
    "phones": [
        {
            "number": "55 1234 5678",
            "international": "+525512345678",
            "type": "phone",
            "valid": true
        },
        {
            "number": "55 1234 5678",
            "international": "+525512345678",
            "type": "whatsapp",
            "valid": true
        }
    ],
    "email": "ventas@agencia-ejemplo.mx",
    "emails": [
        "ventas@agencia-ejemplo.mx"
    ],
    "contactName": "Cattori Inmobiliaria",
    "contactsFetched": true,
    "developmentUnits": null,
    "unitsAreaRange": "170 m2",
    "unitsBedroomsRange": "2 rec.",
    "unitsBathroomsRange": "2 baños",
    "unitsParkingRange": "3 estac.",
    "searchQuery": "rent · apartment · Polanco",
    "searchUrl": null,
    "scrapedAt": "2026-09-25T13:36:24.868Z"
}
```

You can download the dataset in various formats such as JSON, HTML, CSV or Excel.

#### All 85 fields

| Fields | What you get |
| --- | --- |
| `id`, `url`, `title` | `150683847`, the listing's page on inmuebles24.com, `RENTA DEPARTAMENTO EN POLANCO` |
| `description`, `descriptionIsComplete` | the full text with **Extract details**, otherwise its first 150 characters (`false`) |
| `operation`, `operationLabel` | `rent`, `Alquiler` |
| `propertyType`, `propertyTypeId`, `propertySubtype`, `propertyCategory`, `postingType` | `Departamento`, `2`, subtype when given, `Residencial`, `property` or `development` |
| `price`, `currency`, `priceText`, `priceOnRequest`, `prices`, `pricePerSqm` | `83000`, `MXN`, `MN 83,000`, `false`, every operation and price of the listing, `488.24` |
| `expenses`, `expensesCurrency` | monthly maintenance fee: `7200`, `MXN` |
| `bedrooms`, `bathrooms`, `halfBathrooms`, `parkingSpaces` | `2`, `2`, `2`, `3` |
| `totalAreaM2`, `coveredAreaM2`, `ageYears`, `underConstruction`, `floor`, `condition` | `170`, `170`, `18`, `false`, `5`, `Bueno` |
| `furnished`, `petsAllowed`, `amenities`, `amenitiesByCategory` | `false`, `true`, pool, gym, elevator, terrace… and the same grouped as on the page |
| `address`, `neighborhood`, `city`, `state`, `locationText`, `postalCode`, `country` | `Goldsmith`, `Polanco` (with `extractDetails`), `Miguel Hidalgo`, `Ciudad de México`, the place as one line (with `extractDetails`), postal code, `MX` |
| `latitude`, `longitude`, `addressVisibility` | GPS point, `exact` or `zone` (approximate pin; with `extractDetails`) |
| `imageUrl`, `images`, `imageCount` | main photo, every photo in full size, their number |
| `floorPlans`, `hasPlans`, `virtualTours`, `hasTour` | floor plans and 360° tours (links) |
| `publisherId`, `publisherName`, `publisherType`, `publisherLogo`, `publisherPremier`, `publisherVerified` | the agency or owner: id, name, `agency` / `private` / `developer`, logo, premier plan, verified |
| `publisherRating`, `publisherRatingDetails`, `publisherScore`, `publisherIsNew` | users' rating of the agency: `4.7`, per criterion (service, response time, recommendation), score, new agency |
| `publishedAt`, `firstPublishedAt`, `views`, `advertiserCode` | publication dates (what the date filters read), view count, the agency's own reference |
| `listingTier`, `premier`, `tags`, `status` | paid visibility (`SUPERHIGHLIGHTED`…), premier badge, tags, `ONLINE` |
| `hasWhatsapp`, `whatsApp`, `phone`, `phones`, `email`, `emails`, `contactName`, `contactsFetched` | the advertiser's WhatsApp, phone numbers and emails, contact name (**Agency phone & email**) |
| `developmentUnits`, `unitsAreaRange`, `unitsBedroomsRange`, `unitsBathroomsRange`, `unitsParkingRange` | new developments: number of units, `42 a 71 m2`, `2 a 3 rec.`… |
| `searchQuery`, `searchUrl`, `scrapedAt` | the search that found it (`rent · apartment · Polanco`), the start URL you pasted, ISO timestamp |

### 💡 Tips

#### How to get more results

Set `maxItems` to `0` and keep **Get every listing of large searches** on: a search bigger than what Inmuebles24 shows (about 20,000 listings) is cut into price ranges, each read to the end. The very few listings without a price (about 1 in 69,000) are in no price range: they come only with a search that stays under 20,000 listings.

#### How to reduce costs

The price is per listing, so the levers are `maxItems`, `maxItemsPerQuery`, the filters of the site (they narrow the search itself and cost nothing), and `onlyNew` for recurring runs (you never pay twice for the same listing). Leave **Extract details** off (the default) if the search-card fields are enough: runs are much faster and the listing-page price is not charged.

#### Several searches in one run

Choose several **Property types** and / or fill `locations`: the Actor runs one search per type × location (3 types × 4 places = 12 searches, up to 500 per run). A listing found by several searches is saved — and charged — once. Set `maxItemsPerQuery` to give every search its own cap: without it the first searches can use up the whole `maxItems` budget. You can also paste several search URLs into `startUrls`: each one is a search of its own, with the same cap.

#### Monitoring: only the new listings

Tick **Only new listings** (`onlyNew`) and schedule the Actor. The first run returns everything; each later run skips the listings already delivered: they are not saved, not charged, and their page is not even opened. The memory lives in a named key-value store of your account (`inmuebles24-listings-scraper-seen`, up to 150,000 listings per key) and is only updated with listings that really reached the dataset, so a failed run never hides anything. Give each schedule its own `stateKey` (two schedules sharing a key would hide each other's listings), and tick `resetState` once to start over. Inmuebles24 does not sort a search by date, so each run reads the search page by page and a search stops once 20 results pages in a row (2,000 listings) hold only listings you already have; one new listing on a page starts that count again, and a new listing deeper than that waits for a later run. With **Only new listings**, a listing your filters drop is checked (and charged as a filter check) once: the next runs with the same filters skip it for free. Change a filter, or tick `resetState`, to check them again. Combine `onlyNew` with **Published within** (`publicationDate`) to keep daily runs short.

#### Filter by publication date

**Published within** (`publicationDate`) is the site's own filter (today, since yesterday, last week… up to 45 days): it narrows the search itself. `postedAfter` and `postedBefore` take any date (`2026-09-01`, the whole day is included, Mexico City time) or a period before now (`7 days`, `2 weeks`, `1 month`; via the API also `24 hours` or a full ISO date-time). They read `publishedAt`, the date of the listing's current version. Filtered-out listings are not saved and do not count in `maxItems` (each listing checked costs the filter fee, see Pricing); the run summary tells how many were filtered.

### 🔌 Integrations and API

Call the Actor via the Apify API, the JavaScript or Python clients, or connect it with integrations and webhooks (Make, Zapier, n8n, Google Sheets, Slack, Airtable…). The dataset can be fetched as JSON or CSV from any tool.

### 🤖 Use with AI agents (MCP)

AI agents (Claude, ChatGPT, Cursor…) can find and run this Actor through the [Apify MCP server](https://mcp.apify.com), billed to their Apify account like any run. It returns one item per Inmuebles24 listing. Actor id: `nice_dev/inmuebles24-listings-scraper`; MCP server with this Actor only: `https://mcp.apify.com/?tools=fetch-actor-details,nice_dev/inmuebles24-listings-scraper`.

Smallest input, for a cheap first call (the listing page turned off):

```json
{
    "operation": "rent",
    "location": "Polanco",
    "maxItems": 10,
    "extractDetails": false
}
```

Key output fields: `url`, `title`, `price`, `currency`, `bedrooms`, `coveredAreaM2`, `city`, `latitude`.

Cost (Free plan, lower on higher plans): $0.36 per 1,000 listings, +$0.89 per 1,000 with the listing page (`extractDetails`, off by default), +$0.45 per 1,000 with the agency's phone or email (`fetchContacts`), plus $0.01 per run start — e.g. 10,000 listings with `extractDetails` on = $12.51. Cap each call with `maxItems` and, through the API, with the run option `maxTotalChargeUsd`.

### ❓ FAQ

#### Is it legal to scrape Inmuebles24?

The Actor only reads what Inmuebles24 shows publicly to any anonymous visitor, including the contact details it shows to any visitor who asks for them. It logs in to nothing and sends no message to any agency. Results can contain personal data (names, phone numbers, emails of agents), which is protected by law (Mexico's LFPDPPP, GDPR in Europe): do not store it or contact people without a legitimate reason. You are responsible for using the data in compliance with Inmuebles24's Terms of Use and applicable law. This Actor is not affiliated with Inmuebles24 or Navent.

#### Does it need a login or a proxy?

No login. The proxy is included in the price: leave the default setting (the residential proxy is not available). A request the site turns away is retried at once on a new proxy session, up to 10 times on top of the retries (without a proxy, after a pause of 5 seconds, doubled at each retry up to 150 seconds).

#### Is the data safe to open in Excel or to show on a web page?

Titles and descriptions are the agencies' own words, copied as they are. A text can begin with `-`, `+`, `=` or `@` (every international phone number starts with `+`): Excel and Google Sheets may read such a cell of a CSV file as a formula or as a number. The Actor leaves the text as it is, so that the JSON and the API give the real value: when you open a CSV, import these columns as text. Every link field holds an http(s) URL or null. On a web page, escape every field like any text written by a stranger.

#### Known limitations

- The place you type is matched by Inmuebles24 itself: a misspelled name may be read as another place, or searched as words in the listings — the run log says what it found for each place. Inmuebles24 matches the first words only and searches the others in the listings' text: a state after a comma is sent under the name every address ends with (`Monterrey, NL` → `Monterrey, Nuevo León`) and a final `México` is left out, but any other word narrows the search.
- Inmuebles24 limits how many listing pages and contact cards one IP address may open per hour. Keep the Apify proxy (default): the Actor spreads the work over its IP addresses, and when they have all reached the limit it goes on through extra addresses of its own, at no extra charge. With your own proxies, without a proxy, or when those extra addresses fail, the listings left past the limit go out with their search-card fields only, and are not charged for the listing page or the contacts.
- Inmuebles24 does not sort a search by date: with `onlyNew` each run reads the whole search (only new listings are saved and charged).
- The full description, the neighbourhood and location line, the agency's name and rating, floor plans, tours and views come from the listing page: they are `null` / shorter when **Extract details** is off (the default).
- `onlyNew` remembers listing ids, not their content: a listing whose price changed is not returned again.
- Two runs sharing the same `stateKey` at the same time may both return the same new listing.

**A run the platform stops without warning** (out of memory, run timeout)

- Resurrect it: it goes on from where it stood at most a minute before the stop. What it had read since is read again, and the listings already saved are skipped: none is delivered or charged twice, and `maxItems` still counts them.
- With `onlyNew`, the memory is saved after each write (at most once every 2 seconds): resurrect the stopped run and the listings it had saved meanwhile join the memory; leave it stopped for good, and the next run may return the listings of its last 2 seconds once more.

#### Something doesn't work?

The last line of the log counts the listings saved, filtered out and no longer on Inmuebles24 (removed while the run was reading them), and the requests that failed after every retry. Those requests and the removed listings are listed, with the reason, in the `FAILED_REQUESTS` record of the run's key-value store. A run that saved nothing and had failed requests fails, and its last message gives the cause.

If Inmuebles24 changes its pages, you are told instead of paying for blank rows. A results page that counts listings but gives none the Actor can read is an error (listed in `FAILED_REQUESTS`), never a quiet "No listings found". If the first 20 listings read all lack their title, photos, price, publication date or — with **Extract details** — full description, the run saves nothing more, stops and fails, and its last message names the missing field: at most those first listings are charged. A listing that `postedAfter` / `postedBefore` drops because it has no date at all counts among those 20. 20 listings in a row whose page cannot be read at all stop and fail the run the same way, instead of reading the whole search for nothing.

### 🛟 Support

Open an issue in the **Issues** tab with a link to your run: the run log and the `FAILED_REQUESTS` record of the key-value store show exactly which requests failed and why.

# Actor input Schema

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

inmuebles24.com search-result URLs (operation, property type, place and price written in the URL are kept; pagination is automatic) or single listing URLs (`https://www.inmuebles24.com/propiedades/clasificado/...-151094498.html`). When this list is not empty, the search fields below (operation, property types, locations) are ignored; the filters, caps and monitoring still apply. Max 1 000 URLs.

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

Buy, rent, holiday / short-term rent, or lease transfer (traspaso).

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

One search per type chosen (times each location). Empty = every type in one search.

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

A state, city, municipality or neighbourhood of Mexico, as typed on the site (e.g. `Polanco`, `Guadalajara`, `Quintana Roo`), its state after a comma if you like (`Monterrey, NL`). Inmuebles24 matches the first words to one of its places and searches any other word in the listings' text, which narrows the search; the run log says which place. Empty = all of Mexico.

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

Several locations in one run: every property type is searched in every location (3 types × 4 locations = 12 searches, max 500). Added to **Location**.

## `address` (type: `string`):

Text searched in the listing address by the site (a street or a building name, e.g. `Lope de Vega`). Only the part before a comma is searched: put the neighbourhood in **Location**. Empty = no address filter.

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

Maximum number of listings to save for the whole run (after deduplication and filters). 0 = no limit.

## `maxItemsPerQuery` (type: `integer`):

Cap for EACH search (property type × location, or search URL), so that the first search cannot use up the whole **Max listings** budget. 0 = no per-search cap.

## `splitLargeSearches` (type: `boolean`):

Inmuebles24 serves at most about 20 000 listings per search. On: a larger search is cut into price ranges that each fit, so that nothing is left out (the very few listings without a price excepted). Off: the first 20 000 only.

## `extractDetails` (type: `boolean`):

Open each listing (1 extra request per listing) for the full description, the neighbourhood, the agency name, every photo, floor plans, 360° tours, amenities by category, floor, condition, maintenance fee, view count and advertiser code. Off = search-card fields only (description cut at 150 characters), much faster.

## `fetchContacts` (type: `boolean`):

Add the phone number(s), WhatsApp number, email and contact name of the advertiser (1 extra request per listing, charged per listing that returns a phone or an email).

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

In the currency below.

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

In the currency below.

## `currency` (type: `string`):

Currency of Min / Max price. Listings priced in the other currency are compared by the site.

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

At least this many recámaras.

## `maxBedrooms` (type: `integer`):

At most this many recámaras.

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

At least this many full bathrooms.

## `maxBathrooms` (type: `integer`):

At most this many full bathrooms.

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

At least this many parking spaces.

## `maxParking` (type: `integer`):

At most this many parking spaces.

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

Land / total surface.

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

Land / total surface.

## `minCoveredArea` (type: `integer`):

Built (covered) surface.

## `maxCoveredArea` (type: `integer`):

Built (covered) surface.

## `minExpenses` (type: `integer`):

Monthly maintenance fee (mantenimiento), in pesos.

## `maxExpenses` (type: `integer`):

Monthly maintenance fee (mantenimiento), in pesos.

## `publicationDate` (type: `string`):

Only listings published in this period (the site's own filter; for any other period use **Posted after** below).

## `publisherType` (type: `string`):

Private owners (trato directo) or real-estate agencies only.

## `multimedia` (type: `string`):

Only listings with this media (the site filters on one at a time).

## `projectStage` (type: `string`):

New developments only: pre-sale (preventa, not built yet) or ready to sell. Any = no filter.

## `postedAfter` (type: `string`):

Only listings published on or after this date: `2026-09-01`, or a period before now such as `7 days`, `2 weeks`, `1 month` (API: `24 hours` and full ISO date-times work too). Reads the publication date of the listing (`publishedAt`).

## `postedBefore` (type: `string`):

Only listings published on or before this date (the whole day is included), or older than a period such as `30 days`.

## `excludeKeywords` (type: `array`):

Drop the listings whose title or description contains one of these WHOLE words (case and accents ignored): `venta` drops "Casa en venta" but keeps "Preventa". Several words in one entry (`remate bancario`) must appear together, in that order. Chinese, Japanese, Korean, Thai, Lao, Khmer and Burmese words are found anywhere in the text (no spaces there).

## `includeKeywords` (type: `array`):

Keep only the listings whose title or description contains at least one of these words (case and accents ignored), e.g. `alberca`, `roof garden`. With **Extract details** off, only the first 150 characters of the description are read.

## `propertyAge` (type: `string`):

Age of the building as given in the listing (applied by the Actor on the age the listing states; a listing that states none is dropped when set).

## `requirePhone` (type: `boolean`):

Drop the listings whose advertiser shows no phone number. Needs **Agency phone & email**.

## `onlyNew` (type: `boolean`):

Skip the listings that a previous run (same **Memory key**) already delivered: they are not saved and not charged, and their page is not even opened. First run = everything is new.

## `stateKey` (type: `string`):

Name of the memory used by **Only new listings**. Give each schedule / task its own key (e.g. `cdmx-rentals`) so that they do not share their memory. Letters, digits, `-` and `_`.

## `resetState` (type: `boolean`):

Forget everything remembered under this **Memory key** before the run: this run returns (and charges) every listing again. Untick it afterwards.

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

Apify Proxy (included in the price) or your own proxies. Keep the default. The residential Apify proxy is not available in this Actor.

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

Maximum number of requests processed in parallel.

## `maxRequestsPerMinute` (type: `integer`):

Most requests to the site in any 60 seconds, all of them counted: results pages, listing pages and the extra page read for a listing. A budget, not an even pace: up to this many can leave at once when the minute starts (spread them with the minimum delay below). Lower it if the site answers HTTP 403 in the log.

## `minRequestIntervalMs` (type: `integer`):

Smallest gap between two requests, in milliseconds. Unlike the per-minute rate, this spreads the requests evenly instead of letting them go out in a burst. 0 = no gap.

## `maxRequestRetries` (type: `integer`):

Retries per request before it is marked as failed. Behind a proxy, a request the site turns away is also retried on a new proxy session up to 10 times without using up these retries.

## `debugLog` (type: `boolean`):

Include debug messages in the run log.

## Actor input object example

```json
{
  "startUrls": [],
  "operation": "sale",
  "propertyTypes": [
    "apartment"
  ],
  "location": "Polanco",
  "locations": [],
  "maxItems": 50,
  "maxItemsPerQuery": 0,
  "splitLargeSearches": true,
  "extractDetails": false,
  "fetchContacts": false,
  "currency": "MXN",
  "publicationDate": "any",
  "publisherType": "any",
  "multimedia": "any",
  "projectStage": "any",
  "excludeKeywords": [],
  "includeKeywords": [],
  "propertyAge": "any",
  "requirePhone": false,
  "onlyNew": false,
  "stateKey": "default",
  "resetState": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "maxConcurrency": 4,
  "maxRequestsPerMinute": 180,
  "minRequestIntervalMs": 0,
  "maxRequestRetries": 5,
  "debugLog": false
}
```

# 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 = {
    "operation": "sale",
    "propertyTypes": [
        "apartment"
    ],
    "location": "Polanco",
    "maxItems": 50,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("nice_dev/inmuebles24-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 = {
    "operation": "sale",
    "propertyTypes": ["apartment"],
    "location": "Polanco",
    "maxItems": 50,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("nice_dev/inmuebles24-listings-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 '{
  "operation": "sale",
  "propertyTypes": [
    "apartment"
  ],
  "location": "Polanco",
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call nice_dev/inmuebles24-listings-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,nice_dev/inmuebles24-listings-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/34hyUE4eGW3XqfbRo/builds/26NccXird9EnIOY8j/openapi.json
