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

Automate Mexico real estate data extraction with Inmuebles24 Property Listings Scraper. Advanced web scraping tool captures property prices, locations, features & market analytics from thousands of listings. JSON export, multi-platform compatibility. Perfect for investors & real estate professionals

- **URL**: https://apify.com/ecomscrape/inmuebles24-property-listings-scraper.md
- **Developed by:** [ecomscrape](https://apify.com/ecomscrape) (community)
- **Categories:** Real estate, Automation, Developer tools
- **Security:** Full permissions
- **Stats:** 151 total users, 1 monthly users, 100.0% runs succeeded, 4 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

## Contact

If you encounter any issues or need to exchange information, please feel free to contact us through the following link:
[My profile](https://apify.com/ecomscrape)

## Introduction

### What does Inmuebles24 Property Search Scraper do?

#### Advanced Real Estate Data Extraction for Mexico Leading Property Platform

The Inmuebles24 Property Search Scraper operates as an intelligent automated data harvesting system designed specifically for Mexico most prominent real estate marketplace. This sophisticated tool functions like having a team of tireless market researchers working around the clock, continuously monitoring thousands of property listings across Mexico diverse real estate landscape and converting this valuable information into actionable business intelligence.

#### Core Features and Capabilities

##### Automated Property Data Mining

- **Real-time web scraping** technology that continuously monitors property listings across all major Mexico cities and states
- **Intelligent data extraction** that captures complete property profiles without manual intervention or human error
- **Multi-property processing** capability that handles thousands of listings simultaneously for comprehensive market coverage
- **Automated data validation** ensures accuracy and consistency across all extracted property information

##### Comprehensive Property Information Capture

- **Essential property details**: Current market prices, property dimensions, room configurations, and construction specifications
- **Location intelligence**: Precise coordinates, neighborhood characteristics, proximity to amenities, and transportation access
- **Market analytics**: Price-per-square-meter calculations, listing duration metrics, and historical pricing trends
- **Visual documentation**: Property images, floor plans, and virtual tour links for complete property visualization
- **Contact information**: Direct seller details, agent contacts, and inquiry management data

##### Structured Data Output and Integration

- **JSON format export** creates standardized, machine-readable data structures for seamless system integration
- **Database-ready formatting** eliminates manual data processing and ensures immediate compatibility with analytical platforms
- **Multi-platform compatibility** works effortlessly with Excel, Google Sheets, business intelligence software, and custom applications
- **API-friendly structure** enables direct integration with existing real estate management systems and CRM platforms

#### Geographic Coverage and Market Intelligence

##### Comprehensive Mexico Market Reach

- **Major metropolitan areas**: Complete coverage of São Paulo, Rio de Janeiro, Brasília, and other key urban centers
- **Regional market analysis**: Extensive data collection from emerging markets and secondary cities across Mexico
- **Property type diversity**: Residential apartments, houses, commercial properties, and investment opportunities
- **Price range coverage**: From affordable housing segments to luxury real estate markets

##### Strategic Business Intelligence Delivery

- **Cross-market comparison tools** enable analysis across different regions, property types, and price segments
- **Investment opportunity identification** through comprehensive market trend analysis and pricing pattern recognition
- **Risk assessment support** via market volatility analysis and property performance tracking
- **Portfolio optimization insights** for real estate investors and property management companies

This powerful automation tool transforms the traditionally time-intensive process of Mexico real estate research into an efficient, data-driven operation that delivers immediate results and actionable market intelligence for informed decision-making.

The information collected is included:

- Posting ID
- URL
- Posting Code
- Title
- Price Operation Types
- Expenses
- Main Features
- General Features
- Development Features
- Highlighted Features
- Flags Features
- Antiquity
- Publisher
- URL Logo
- Real Estate Type
- Units
- Publication
- Premier
- Slot
- Slot Color
- House Info
- Description Normalized
- Posting Location
- Visible Pictures
- Status
- Posting Type
- Whatsapp
- Modified Date

### Input & Output

Example url: https://www.inmuebles24.com/inmuebles-en-venta-en-edo.-de-mexico.html

Example Screenshot of property list by query page:

![](https://i.ibb.co/1YSL5HJS/Screenshot-from-2025-07-04-23-33-47.png)

#### Input Format

The scraper accepts configuration through a JSON object with several key parameters:

##### Scrape with URLs:

```json
{
  "max_retries_per_url": 2, // Maximum number of retry attempts for each URL
  "proxy": { // Proxy configuration to avoid bot detection
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL" 
    ],
    "apifyProxyCountry": "MX" // Choose a country that matches your target data location
  },
  "max_items_per_url": 20, // Total number of items you want to scrape
  "urls": [ // Property listing page URLs to scrape
    "https://www.inmuebles24.com/inmuebles-en-venta-en-edo.-de-mexico.html",
    "https://www.inmuebles24.com/inmuebles-en-renta-en-cdmx.html"
  ],
  "ignore_url_failures": true // Continue scraping even if some URLs fail
}
```

**The `urls` parameter**: Add the URLs of the property list page urls you want to scrape. You can paste URLs one by one, or use the Bulk edit section to add a prepared list.

**The `ignore_url_failures` parameter**: If set to `true`, the scraper will continue running even if some URLs fail to be scraped after reaching the maximum number of retries. This ensures that one problematic URL doesn't stop your entire scraping job.

*When you provide a list of URLs for scraping, all options in the "Scrape with search filters" section will be disabled. The system will only collect data from the URLs you specified.*

##### Scrape with Search Filters:

```json
{
  "max_retries_per_url": 2, // Maximum number of retry attempts for each search filter
  "proxy": { // Proxy configuration to avoid bot detection
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL" 
    ],
    "apifyProxyCountry": "MX" // Choose a country that matches your target data location
  },
  "max_items_per_url": 20, // Total number of items you want to scrape
  "keyword": "ciudad de mexico", // Search keyword to find properties
  "property_type": "departamentos", // Filter by property type
  "operation_type": "venta", // Filter by operation type
  "published_date": "1-semana", // Filter by published date
  "sort_by": "precio-ascendente", // Sort properties by specific criteria
  "page": 1 // Starting page number for search results
}
```

**The `keyword` parameter**: Enter the keyword to search for properties (e.g., "ciudad de mexico", "guadalajara", "monterrey", "polanco", "condesa").

**The `property_type` parameter**: Filter properties by type:

- `"casas"` - Casa (House)
- `"departamentos"` - Departamento (Apartment)
- `"terrenos"` - Terreno / Lote (Land/Lot)
- `"casa-en-condominio"` - Casa en condominio (House in condominium)
- `"locales-comerciales"` - Local comercial (Commercial space)
- `"bodegas-comerciales"` - Bodega comercial (Commercial warehouse)
- `"casa-con-uso-de-suelo"` - Casa uso de suelo (House with land use)
- `"departamento-compartido"` - Departamento compartido (Shared apartment)
- `"desarrollo-horizontal"` - Desarrollo horizontal (Horizontal development)
- `"desarrollo-horizontal-vertical"` - Desarrollo horizontal/vertical (Horizontal/vertical development)
- `"desarrollo-vertical"` - Desarrollo vertical (Vertical development)
- `"duplex"` - Dúplex (Duplex)
- `"edificio"` - Edificio (Building)
- `"huerta"` - Huerta (Orchard)
- `"inmueble-productivo-urbano"` - Inmueble productivo urbano (Urban productive property)
- `"local-en-centro-comercial"` - Local en centro comercial (Space in shopping mall)
- `"nave-industrial"` - Nave industrial (Industrial warehouse)
- `"oficina"` - Oficina (Office)
- `"quinta"` - Quinta (Estate)
- `"rancho"` - Rancho (Ranch)
- `"terreno-comercial"` - Terreno comercial (Commercial land)
- `"terreno-industrial"` - Terreno industrial (Industrial land)
- `"villa"` - Villa (Villa)

**The `operation_type` parameter**: Filter properties by operation type:

- `"renta"` - Rent
- `"venta"` - Buy
- `"venta-incluir-comercializa-remates-publisher"` - Auction
- `"temporal-vacacional"` - Temporary/Vacation

**The `published_date` parameter**: Filter properties by published date:

- `""` - Any
- `"2-dias"` - Last 2 days
- `"1-dia"` - Last 1 day
- `"1-semana"` - Last 1 week
- `"15-dias"` - Last 15 days
- `"1-mes"` - Last 1 month
- `"45-dias"` - Last 45 days

**The `sort_by` parameter**: Sort properties by various criteria:

- `""` - Relevance
- `"precio-ascendente"` - Price (low to high)
- `"fechaonline-descendente"` - Date (newest first)
- `"precio-descendente"` - Price (high to low)
- `"visitas-descendente"` - Views (high to low)
- `"variacionporcentual-descendente"` - Variation (high to low)
- `"mejoresanunciantes-descendente"` - Best sellers (high to low)

**The `page` parameter**: Specify the page number to start scraping from, useful for continuing interrupted scrapes or targeting specific result ranges.

*When using search filters for scraping, you need to leave the `urls` field empty (or set it to `null`) in the "Scrape with URLs" configuration.*

##### General Options:

**The `max_items_per_url` parameter**: Limits the number of properties extracted from each property list page or search results page. The default value is 20, providing a manageable batch size while allowing for comprehensive data collection.

**The `max_retries_per_url` parameter**: Sets the maximum number of retry attempts for each URL or search filters if the scrape is detected as a bot or the page fails to load. The default value is 2, providing a good balance between thoroughness and efficiency.

**The `proxy` parameter**: Proxy configuration is essential for maintaining anonymity and avoiding detection. The residential proxy option ensures that your scraping activities appear as legitimate browsing, reducing the risk of being blocked or rate-limited. You should choose a country that matches the location of the website you're scraping (e.g., Mexico/MX for inmuebles24.com).

### **Output:**

You get the output from the Inmuebles24 Property Search Scraper stored in a tab. The following is an example of the Information Fields collected after running the Actor.

```json
[ // List of property information
  {
    "posting_id": "146519992",
    "url": "/propiedades/clasificado/alclapin-departamento-en-renta-146519992.html",
    "posting_code": "60QJTM",
    "title": "Departamento en Renta",
    "price_operation_types": [
      {
        "low_price_percentage": null,
        "operation_type": {
          "name": "Renta",
          "operation_type_id": "2"
        },
        "prices": [
          {
            "currency_id": "10",
            "amount": 25000,
            "formatted_amount": "25,000",
            "currency": "MN"
          }
        ]
      }
    ],
    "expenses": null,
    "main_features": {
      "c_f_t100": {
        "feature_id": "CFT100",
        "label": "Terreno",
        "measure": "m²",
        "value": "110",
        "icon": null,
        "feature_category_id": "CFC2"
      },
      "c_f_t101": {
        "feature_id": "CFT101",
        "label": "Superficie construída",
        "measure": "m²",
        "value": "110",
        "icon": null,
        "feature_category_id": "CFC2"
      },
      "c_f_t2": {
        "feature_id": "CFT2",
        "label": "Recámaras",
        "measure": null,
        "value": "3",
        "icon": null,
        "feature_category_id": "CFC1"
      },
      "c_f_t3": {
        "feature_id": "CFT3",
        "label": "Baños",
        "measure": null,
        "value": "2",
        "icon": null,
        "feature_category_id": "CFC1"
      },
      "c_f_t7": {
        "feature_id": "CFT7",
        "label": "Estacionamientos",
        "measure": null,
        "value": "2",
        "icon": null,
        "feature_category_id": "CFC1"
      },
      "c_f_t4": {
        "feature_id": "CFT4",
        "label": "Medio baño",
        "measure": null,
        "value": "1",
        "icon": null,
        "feature_category_id": "CFC1"
      },
      "c_f_t5": {
        "feature_id": "CFT5",
        "label": "Antigüedad",
        "measure": null,
        "value": "8",
        "icon": null,
        "feature_category_id": "CFC1"
      }
    },
    "general_features": {},
    "development_features": {},
    "highlighted_features": [],
    "flags_features": [],
    "antiquity": null,
    "publisher": {
      "publisher_id": "50238143",
      "name": "GRUPO DE ASESORES PROFESIONALES",
      "url": "/inmobiliarias/grupo-de-asesores-profesionales_50238143-inmuebles.html",
      "slot_filter_url": null,
      "url_logo": "https://img10.naventcdn.com/empresas/18/00/50/23/81/43/130x70/logo_grupo-de-asesores-profesionales_1691016092704.jpg",
      "publisher_type_id": "2",
      "url_chat": null,
      "license": null,
      "publisher_tags": [],
      "parent_publisher": null,
      "amount_posting_active": null,
      "partial_phone": null,
      "created_year": null,
      "premier": false,
      "slug": "",
      "publisher_statistics": null,
      "approved": false,
      "main_phone": null,
      "created_date": 1506312000000,
      "id_portal": "101",
      "quantity_posting_by_operation_type": null
    },
    "url_logo": null,
    "real_estate_type": {
      "name": "Departamentos",
      "real_estate_type_id": "2"
    },
    "units": [],
    "publication": null,
    "premier": false,
    "slot": null,
    "slot_color": null,
    "house_info": null,
    "description_normalized": "Hermoso departamento en una zona privilegiada cerca de Periférico. Con unos espacios amplios, con una dimensión de 110 metros. Tres recámaras, dos baños completos y un medio baño, cocina. Amplía, con elevador dos estacionamientos, Roof garden tercer piso. precio negociable",
    "posting_location": {
      "address": {
        "name": "Calle Veracruz Col Progreso Álvaro Obregón ",
        "visibility": "EXACT"
      },
      "location": {
        "location_id": "V1-D-203005056",
        "name": "Progreso",
        "label": "ZONA",
        "depth": 3,
        "parent": {
          "location_id": "V1-C-512",
          "name": "Alvaro Obregón",
          "label": "CIUDAD",
          "depth": 2,
          "parent": {
            "location_id": "V1-B-69",
            "name": "Ciudad de México",
            "label": "PROVINCIA",
            "depth": 1,
            "parent": {
              "location_id": "V1-A-18",
              "name": "Mexico",
              "label": "PAIS",
              "depth": 0,
              "parent": null,
              "acronym": null
            },
            "acronym": "CDMX"
          },
          "acronym": null
        },
        "acronym": null
      },
      "posting_geolocation": null
    },
    "visible_pictures": {
      "pictures": [
        {
          "multimedia_type_id": "2",
          "order": 1,
          "height": 4000,
          "width": 3000,
          "url730x532": "https://img10.naventcdn.com/avisos/18/01/46/51/99/92/720x532/1533995560.jpg?isFirstImage=true",
          "url360x266": "https://img10.naventcdn.com/avisos/18/01/46/51/99/92/360x266/1533995560.jpg?isFirstImage=true",
          "url130x70": null,
          "title": "Departamento de 3 habitaciones, Alvaro Obregón · Departamento en Renta"
        },
        {
          "multimedia_type_id": "2",
          "order": 2,
          "height": 4000,
          "width": 3000,
          "url730x532": "https://img10.naventcdn.com/avisos/18/01/46/51/99/92/720x532/1533995553.jpg",
          "url360x266": "https://img10.naventcdn.com/avisos/18/01/46/51/99/92/360x266/1533995553.jpg",
          "url130x70": null,
          "title": "Departamento en Renta de 3 habitaciones Progreso"
        },
        {
          "multimedia_type_id": "2",
          "order": 3,
          "height": 4000,
          "width": 3000,
          "url730x532": "https://img10.naventcdn.com/avisos/18/01/46/51/99/92/720x532/1533995555.jpg",
          "url360x266": "https://img10.naventcdn.com/avisos/18/01/46/51/99/92/360x266/1533995555.jpg",
          "url130x70": null,
          "title": "Hermoso departamento en una zona privilegiada cerca de Periférico \nCon unos espa"
        },
        {
          "multimedia_type_id": "2",
          "order": 4,
          "height": 4000,
          "width": 3000,
          "url730x532": "https://img10.naventcdn.com/avisos/18/01/46/51/99/92/720x532/1533995558.jpg",
          "url360x266": "https://img10.naventcdn.com/avisos/18/01/46/51/99/92/360x266/1533995558.jpg",
          "url130x70": null,
          "title": "Departamento Renta 110m² de 3 habitaciones"
        },
        {
          "multimedia_type_id": "2",
          "order": 5,
          "height": 4000,
          "width": 3000,
          "url730x532": "https://img10.naventcdn.com/avisos/18/01/46/51/99/92/720x532/1533995557.jpg",
          "url360x266": "https://img10.naventcdn.com/avisos/18/01/46/51/99/92/360x266/1533995557.jpg",
          "url130x70": null,
          "title": "Departamento 110m² Renta Progreso"
        },
        {
          "multimedia_type_id": "2",
          "order": 6,
          "height": 4000,
          "width": 3000,
          "url730x532": "https://img10.naventcdn.com/avisos/18/01/46/51/99/92/720x532/1533995549.jpg",
          "url360x266": "https://img10.naventcdn.com/avisos/18/01/46/51/99/92/360x266/1533995549.jpg",
          "url130x70": null,
          "title": "Departamento 110m² Renta Progreso"
        },
        {
          "multimedia_type_id": "2",
          "order": 7,
          "height": 4000,
          "width": 3000,
          "url730x532": "https://img10.naventcdn.com/avisos/18/01/46/51/99/92/720x532/1533995547.jpg",
          "url360x266": "https://img10.naventcdn.com/avisos/18/01/46/51/99/92/360x266/1533995547.jpg",
          "url130x70": null,
          "title": "Departamento de 3 habitaciones Renta MN 25,000"
        },
        {
          "multimedia_type_id": "2",
          "order": 8,
          "height": 4000,
          "width": 3000,
          "url730x532": "https://img10.naventcdn.com/avisos/18/01/46/51/99/92/720x532/1533995552.jpg",
          "url360x266": "https://img10.naventcdn.com/avisos/18/01/46/51/99/92/360x266/1533995552.jpg",
          "url130x70": null,
          "title": "Departamento · 110m² · 3 Recámaras · 2 Estacionamientos - GRUPO DE ASESORES PROFESIONALES"
        }
      ],
      "additional_pictures_count": 8
    },
    "status": "ONLINE",
    "posting_type": "PROPERTY",
    "whatsapp": "52 5543288380",
    "modified_date": "2025-06-23T00:00:00-0400",
    "from_url": "https://www.inmuebles24.com/departamentos-en-renta-en-progreso.html"
  }, // ... Many other property details
] 
```

### How can I use the data extracted from Inmuebles24 with Inmuebles24 Property Search Scraper?

💙 Increase Brand Awareness:
Leverage comprehensive property performance data to identify which neighborhoods, property types, and price ranges generate the highest engagement, positioning your real estate brand alongside trending markets for maximum visibility.

📈 Analyze Upcoming Trends and Influences:
Monitor property price fluctuations, neighborhood development patterns, and seller activity across different Mexico regions to anticipate market shifts and adjust investment strategies before competitors recognize these trends.

🔬 Get Data for Research and Testing:
Utilize extensive property datasets to test hypotheses about optimal pricing strategies, identify undervalued neighborhoods, and analyze correlations between property features and market performance in Mexico diverse real estate landscape.

⭐ Count and Score Authentic Property Reviews:
Systematically analyze genuine buyer and renter feedback to understand satisfaction drivers, identify common property issues, and validate market sentiment with concrete data rather than speculation.

🪧 Plan Commercial Campaigns:
Design targeted marketing initiatives using real property performance data, pricing insights, and buyer behavior patterns to create campaigns that resonate with specific market segments across Inmuebles24 and other platforms.

📚 Simplify Market Research and Marketing Campaigns:
Replace time-consuming manual property research with automated data collection that provides comprehensive market intelligence, enabling you to focus on strategy development rather than data gathering.

📋 Get Perfectly Matched Marketing Leads:
Identify high-value prospects by analyzing property search patterns, price preferences, and location interests, enabling personalized outreach campaigns that target buyers and sellers with properties matching their demonstrated preferences.

## Related Actors

- [**Imovelweb Property Search Scraper**](https://apify.com/ecomscrape/imovelweb-property-search-scraper): Your comprehensive tool for extracting valuable property information from Imovelweb extensive directory platform.

- [**Wimoveis Property Search Scraper**](https://apify.com/ecomscrape/wimoveis-property-search-scraper): Your comprehensive tool for extracting valuable property information from Wimoveis extensive directory platform.

## Your feedback

We are always working to improve Actors' performance. So, if you have any technical feedback about Inmuebles24 Property Search Scraper or simply found a bug, please create an issue on the Actor's Issues tab in Apify Console.

# Actor input Schema

## `urls` (type: `array`):

Add the URLs of the property list page urls you want to scrape. You can paste URLs one by one, or use the Bulk edit section to add a prepared list.

## `ignore_url_failures` (type: `boolean`):

If true, the scraper will continue running even if some URLs fail to be scraped after the maximum number of retries is reached.

## `keyword` (type: `string`):

Enter the keyword to search for items

## `property_type` (type: `string`):

Filter items by Property Type

## `operation_type` (type: `string`):

Filter items by Operation Type

## `published_date` (type: `string`):

Filter items by Published Date

## `sort_by` (type: `string`):

Sort items by (e.g., precio-ascendente, fechaonline-descendente, precio-descendente, visitas-descendente, variacionporcentual-descendente, mejoresanunciantes-descendente)

## `page` (type: `integer`):

Specify the page number to start scraping from

## `max_items_per_url` (type: `integer`):

Limit the number of items per URL or search filters you want to scrape

## `max_retries_per_url` (type: `integer`):

Limit the number of retries for each URL or search filters if the scrape is detected as a bot or the page fails to load

## `proxy` (type: `object`):

Select proxies to be used by your scraper.

## Actor input object example

```json
{
  "urls": [
    "https://www.inmuebles24.com/inmuebles-en-venta-en-edo.-de-mexico.html"
  ],
  "ignore_url_failures": true,
  "max_items_per_url": 20,
  "max_retries_per_url": 2,
  "proxy": {
    "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 = {
    "urls": [
        "https://www.inmuebles24.com/inmuebles-en-venta-en-edo.-de-mexico.html"
    ],
    "ignore_url_failures": true,
    "max_items_per_url": 20,
    "max_retries_per_url": 2,
    "proxy": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "MX"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("ecomscrape/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 = {
    "urls": ["https://www.inmuebles24.com/inmuebles-en-venta-en-edo.-de-mexico.html"],
    "ignore_url_failures": True,
    "max_items_per_url": 20,
    "max_retries_per_url": 2,
    "proxy": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "MX",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("ecomscrape/inmuebles24-property-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 '{
  "urls": [
    "https://www.inmuebles24.com/inmuebles-en-venta-en-edo.-de-mexico.html"
  ],
  "ignore_url_failures": true,
  "max_items_per_url": 20,
  "max_retries_per_url": 2,
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "MX"
  }
}' |
apify call ecomscrape/inmuebles24-property-listings-scraper --silent --output-dataset

```

## MCP server setup

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