# Metros Cúbicos Listing Page Scraper

Scrape basic information (URLs of detail pages, Price, Address, URLs of images, etc.) from Cubic Meters by URL.

- Template page: [https://www.octoparse.com/template/metros-cubicos-listado-scraper](https://www.octoparse.com/template/metros-cubicos-listado-scraper)
- Categories: Real Estate
- Status: `PUBLISHED`
- Run mode: `BOTH`

## Pricing

Free.

## What is an Octoparse template?

An Octoparse template is a ready-to-use scraping workflow with predefined inputs and structured outputs. Use the exact parameter keys below; do not invent parameters.

## Overview

This ready-to-use template collects structured data from listing pages.

## Output

The current workflow extracts 7 fields, including `Barrio`, `Dirección`, `Estado`, `Imagen_URL`, `Precio`, `Superficie_construida_o_Recámaras`, `URL_de_página_de_detalles`.

## Use Cases

- Use structured results for research, comparison, and monitoring.
- Collect rows without building the extraction workflow from scratch.
- Combine results with other templates for downstream enrichment.
- Review a representative result before starting a large batch.

## Why Octoparse

- **No coding required:** complete Listing page URL (up to 10,000), Number of Pages and start the template in local or cloud mode.
- **Flexible export:** review and export results as CSV, Excel, or JSON.

## Input

### Listing page URL (up to 10,000)

Required. Listing page URL Constraints: minItems=1; maxItems=10000; items.minLength=1; items.maxLength=10000.

### Number of Pages

Optional. Number of pages Constraints: minimum=1, maximum=1000.

## How to Use

# Metros Cúbicos Listing Page Scraper

Collects listing-page data from [Mlstatic](https://http2.mlstatic.com/), a property service for researching homes, locations, prices, features, and listing availability.

## Output Features

Returns these fields for each listing page:

- `URL_de_página_de_detalles`
- `Precio`
- `Superficie_construida_o_Recámaras`
- `Estado`
- `Barrio`
- `Dirección`
- `Imagen_URL`

## Input Parameters

- **Listing page URL (up to 10,000)** (required): enter one or more values, one per line.
- **Number of Pages** (optional): enter a number from 1 to 1000.

## How to Use

1. Open the template and select **Try it** or **Start**.
2. Complete the input fields listed above.
3. Choose a local or cloud run.
4. Review the output rows and export or process the structured data.

## Scheduling and Export

You can schedule recurring runs locally or in the cloud and export rows to CSV, Excel, JSON, databases, or cloud storage. You can also reuse collected data through Octoparse OpenAPI or the [AgentTools API](https://www.octoparse.com/docs/en/api-reference/agenttools-api/search-templates).

Keep your computer and Octoparse open for local scheduled runs. Scheduling and API access may require a paid Octoparse plan.

## Limitations

- Collects only the fields listed in **Output Features** from listing pages; it does not add data that Mlstatic does not display.
- It does not collect complete detail-page data; use a detail-page template when deeper record data is required.
- `Barrio`, `Dirección`, and `Imagen_URL` can be empty when the source record does not provide them.

## Tips

- Start with one or a few inputs and review the returned rows before scaling the task.
- Use the most specific valid Listing page URL (up to 10,000) to reduce unrelated or duplicate records.
- Use a stable URL or identifier from `URL_de_página_de_detalles`, `Precio`, `Superficie_construida_o_Recámaras`, `Estado`, `Barrio`, `Dirección`, and `Imagen_URL` as the deduplication key when available.

## Pricing

This template currently has no per-line charge. Octoparse plan or resource limits may still apply.

## Notes

If you want a custom template, feel free to contact support@octoparse.com.

## Limitations

Results depend on what the source site exposes at run time. Fields may be empty when a source page does not provide a value. The template enforces the input limits shown above.

## Tips

Use specific, valid inputs and review a representative result before starting a large batch. Remove duplicate inputs when repeated records are not needed.

## FAQ

### What do I need to enter?

Use the exact inputs and limits listed above.

### What data does this template return?

See Output Schema below; availability can vary by source record.

### How is usage billed?

See the Pricing section above for current pricing and billing details.

## Related Templates

- [Metros Cúbicos Details Scraper](https://www.octoparse.com/template/metros-cubicos-detalles-scraper)
- [eBay Listing Page Scraper (by keyword)](https://www.octoparse.com/template/ebay-product-list-scraper-by-keyword)
- [Itown Page Listing scraper](https://www.octoparse.com/template/itown-store-scraper-cloud-only)
- [Galaxus.ch Product Scraper (Listing Page)](https://www.octoparse.com/template/galaxus-product-scraper-listing)
- [Google Maps Listing and Details Page Scraper (Cloud)](https://www.octoparse.com/template/google-maps-listing-and-details-page-scraper)

## Input Schema

```json
{
  "title": "Metros Cúbicos Listing Page Scraper input",
  "description": "Input parameters configured for the current published template version.",
  "type": "object",
  "schemaVersion": 1,
  "additionalProperties": false,
  "properties": {
    "listing_page_URL": {
      "title": "Listing page URL (up to 10,000)",
      "description": "Listing page URL",
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 10000
      },
      "minItems": 1,
      "maxItems": 10000,
      "x-octoparse": {
        "apiEnabled": true
      }
    },
    "number_of_Pages": {
      "title": "Number of Pages",
      "description": "Number of pages",
      "type": "integer",
      "minimum": 1,
      "maximum": 1000,
      "x-octoparse": {
        "apiEnabled": true
      }
    }
  },
  "required": [
    "listing_page_URL"
  ]
}
```

## Input JSON Example

Example 1

```json
{
  "listing_page_URL": [
    "https://inmuebles.mercadolibre.com.mx/venta/_OrderId_PRICE*DESC_IS*PROPERTY*IN*AUCTION_242084_item*location_lat:19.51268104706251*19.549729560221046,lon:-99.31601432838862*-99.24777893104975#unapplied_filter_id%3DPROPERTY_TYPE%26unapplied_filter_name%3DInmueble%26unapplied_value_id%3D242060%26unapplied_value_name%3DCasas%26unapplied_autoselect%3Dfalse"
  ]
}
```

Example 2

```json
{
  "listing_page_URL": [
    "https://inmuebles.mercadolibre.com.mx/venta/_OrderId_PRICE*DESC_IS*PROPERTY*IN*AUCTION_242084_item*location_lat:19.51268104706251*19.549729560221046,lon:-99.31601432838862*-99.24777893104975#unapplied_filter_id%3DPROPERTY_TYPE%26unapplied_filter_name%3DInmueble%26unapplied_value_id%3D242060%26unapplied_value_name%3DCasas%26unapplied_autoselect%3Dfalse"
  ]
}
```

Example 3

```json
{
  "listing_page_URL": [
    "https://inmuebles.mercadolibre.com.mx/venta/_OrderId_PRICE*DESC_IS*PROPERTY*IN*AUCTION_242084_item*location_lat:19.51268104706251*19.549729560221046,lon:-99.31601432838862*-99.24777893104975#unapplied_filter_id%3DPROPERTY_TYPE%26unapplied_filter_name%3DInmueble%26unapplied_value_id%3D242060%26unapplied_value_name%3DCasas%26unapplied_autoselect%3Dfalse"
  ]
}
```

Example 4

```json
{
  "listing_page_URL": [
    "https://inmuebles.mercadolibre.com.mx/venta/_OrderId_PRICE*DESC_IS*PROPERTY*IN*AUCTION_242084_item*location_lat:19.51268104706251*19.549729560221046,lon:-99.31601432838862*-99.24777893104975#unapplied_filter_id%3DPROPERTY_TYPE%26unapplied_filter_name%3DInmueble%26unapplied_value_id%3D242060%26unapplied_value_name%3DCasas%26unapplied_autoselect%3Dfalse"
  ]
}
```

Example 5

```json
{
  "listing_page_URL": [
    "https://inmuebles.mercadolibre.com.mx/terrenos/#unapplied_filter_id%3DOPERATION%26unapplied_filter_name%3DOperaci%C3%B3n%26unapplied_value_id%3D242075%26unapplied_value_name%3DVenta%26unapplied_autoselect%3Dfalse",
    "https://inmuebles.mercadolibre.com.mx/veracruz/#unapplied_filter_id%3DPROPERTY_TYPE%26unapplied_filter_name%3DInmueble%26unapplied_value_id%3D245004%26unapplied_value_name%3DTerrenos%26unapplied_autoselect%3Dfalse",
    "https://inmuebles.mercadolibre.com.mx/jalisco/#applied_filter_id%3Dstate%26applied_filter_name%3DUbicaci%C3%B3n%26applied_filter_order%3D3%26applied_value_id%3DTUxNUEpBTDM3MTg%26applied_value_name%3DJalisco%26applied_value_order%3D11%26applied_value_results%3D6631%26is_custom%3Dfalse"
  ]
}
```


## Output Schema

```json
{
  "schemaVersion": 1,
  "type": "object",
  "properties": {
    "Barrio": {
      "type": "string",
      "description": ""
    },
    "Dirección": {
      "type": "string",
      "description": ""
    },
    "Estado": {
      "type": "string",
      "description": ""
    },
    "Imagen_URL": {
      "type": "string",
      "description": ""
    },
    "Precio": {
      "type": "string",
      "description": ""
    },
    "Superficie_construida_o_Recámaras": {
      "type": "string",
      "description": ""
    },
    "URL_de_página_de_detalles": {
      "type": "string",
      "description": ""
    }
  },
  "title": "Metros Cúbicos Listing Page Scraper output",
  "description": "Initial output fields derived from the current published implementation. Field descriptions are maintained by Data Center; production field names and types should be refreshed from recent successful runs.",
  "additionalProperties": false
}
```

## Output Example

Example 1

```json
{
  "Barrio": "Terreno En Venta En Zona Esmeralda Atizapan",
  "Dirección": "Zona Esmeralda, Bosque Esmeralda, Atizapán De Zaragoza, Estado De México",
  "Estado": "Terreno en venta",
  "Imagen_URL": "https://http2.mlstatic.com/D_NQ_NP_2X_805468-MLM121221317337_112026-E.webp",
  "Precio": "MXN 675,000,000",
  "Superficie_construida_o_Recámaras": "90,000 m² de terreno",
  "URL_de_página_de_detalles": "https://terreno.mercadolibre.com.mx/MLM-6562947048-terreno-en-venta-en-zona-esmeralda-atizapan-_JM#polycard_client=search-desktop&float_highlight=recent_publication&price_drop=not_apply&be_origin=backend&overlay_label=not_apply&search_layout=grid&position=2&type=item&tracking_id=a5002a75-2667-440d-b814-8ccaad13da5e&overlay_label_capability=not_apply&sid=search"
}
```

Example 2

```json
{
  "Barrio": "Terreno En Venta En Zona Esmeralda Atizapan",
  "Dirección": "Zona Esmeralda, Bosque Esmeralda, Atizapán De Zaragoza, Estado De México",
  "Estado": "Terreno en venta",
  "Imagen_URL": "https://http2.mlstatic.com/D_NQ_NP_2X_805468-MLM121221317337_112026-E.webp",
  "Precio": "MXN 675,000,000",
  "Superficie_construida_o_Recámaras": "90,000 m² de terreno",
  "URL_de_página_de_detalles": "https://terreno.mercadolibre.com.mx/MLM-6562947048-terreno-en-venta-en-zona-esmeralda-atizapan-_JM#polycard_client=search-desktop&float_highlight=recent_publication&price_drop=not_apply&be_origin=backend&overlay_label=not_apply&search_layout=grid&position=2&type=item&tracking_id=df704e39-b82b-473f-8583-5b25c51121cc&overlay_label_capability=not_apply&sid=search"
}
```

Example 3

```json
{
  "Barrio": "Casa En Venta Fraccionamiento Puerta De Jerez, Bosque Esmeralda  - Yaab",
  "Dirección": "Bosque Esmeralda, Atizapán De Zaragoza, Estado De México",
  "Estado": "Casa en venta",
  "Imagen_URL": "https://http2.mlstatic.com/D_NQ_NP_2X_893195-MLM120106591719_102026-E.webp",
  "Precio": "MXN 5,800,000,000",
  "Superficie_construida_o_Recámaras": "3 recámaras\n4 baños\n400 m² construidos",
  "URL_de_página_de_detalles": "https://casa.mercadolibre.com.mx/MLM-3388629437-casa-en-venta-fraccionamiento-puerta-de-jerez-bosque-esmeralda-yaab-_JM#polycard_client=search-desktop&price_drop=not_apply&be_origin=backend&overlay_label=not_apply&search_layout=grid&position=1&type=item&tracking_id=21af59b9-6aa6-48fa-aede-d89c9c15e3fa&overlay_label_capability=not_apply&sid=search"
}
```

Example 4

```json
{
  "Barrio": "Casa En Venta Fraccionamiento Puerta De Jerez, Bosque Esmeralda  - Yaab",
  "Dirección": "Bosque Esmeralda, Atizapán De Zaragoza, Estado De México",
  "Estado": "Casa en venta",
  "Imagen_URL": "https://http2.mlstatic.com/D_NQ_NP_2X_893195-MLM120106591719_102026-E.webp",
  "Precio": "MXN 5,800,000,000",
  "Superficie_construida_o_Recámaras": "3 recámaras\n4 baños\n400 m² construidos",
  "URL_de_página_de_detalles": "https://casa.mercadolibre.com.mx/MLM-3388629437-casa-en-venta-fraccionamiento-puerta-de-jerez-bosque-esmeralda-yaab-_JM#polycard_client=search-desktop&price_drop=not_apply&be_origin=backend&overlay_label=not_apply&search_layout=grid&position=1&type=item&tracking_id=80c3e09a-159f-4b08-b256-abdfb409d58b&overlay_label_capability=not_apply&sid=search"
}
```

Example 5

```json
{
  "Barrio": "Punta Paraíso",
  "Dirección": "A El Guayabo 331, Niños Heroes, Ixtapa, Acatic, Jalisco",
  "Estado": "Terreno en venta",
  "Imagen_URL": "https://http2.mlstatic.com/D_NQ_NP_2X_983126-MLM116560035754_092026-E.webp",
  "Precio": "Desde MXN 2,363,000",
  "Superficie_construida_o_Recámaras": "108 m² de terreno",
  "URL_de_página_de_detalles": "https://terreno.mercadolibre.com.mx/MLM-3535636619-punta-paraiso-_JM#polycard_client=search-desktop&be_origin=backend&overlay_label=not_apply&search_layout=grid&position=1&type=item&tracking_id=56388fac-cfc4-4b44-9e1f-6dcdd9662772&sid=search"
}
```

## API

`POST https://openapi.octoparse.com/api/agentTools/executeTask`

This is the OpenAPI Agent Tools `executeTask` endpoint. Authenticate with a Bearer token.

Request body:

`templateName` is the template slug; `parameters` is a JSON object string whose keys match Input Schema; `taskName`, `idempotencyKey`, and `maxCollectedRows` are optional.

Obtain a token:

```http
POST https://openapi.octoparse.com/token
Content-Type: application/json

{
  "username": "YOUR_USERNAME",
  "password": "YOUR_PASSWORD",
  "grant_type": "password"
}
```

Use `data.access_token` as `Authorization: Bearer <token>`. After starting, poll `getTaskStatus` and export with `exportData`.

```json
{
  "templateName": "metros-cubicos-listado-scraper",
  "taskName": "Metros Cúbicos Listing Page Scraper",
  "parameters": "{\"listing_page_URL\":[\"https://inmuebles.mercadolibre.com.mx/venta/_OrderId_PRICE*DESC_IS*PROPERTY*IN*AUCTION_242084_item*location_lat:19.51268104706251*19.549729560221046,lon:-99.31601432838862*-99.24777893104975#unapplied_filter_id%3DPROPERTY_TYPE%26unapplied_filter_name%3DInmueble%26unapplied_value_id%3D242060%26unapplied_value_name%3DCasas%26unapplied_autoselect%3Dfalse\"]}"
}
```

## Python Example

```python
import json
import requests

OPENAPI_BASE = "https://openapi.octoparse.com"
ACCESS_TOKEN = "YOUR_ACCESS_TOKEN"

parameters = json.loads("{\"listing_page_URL\":[\"https://inmuebles.mercadolibre.com.mx/venta/_OrderId_PRICE*DESC_IS*PROPERTY*IN*AUCTION_242084_item*location_lat:19.51268104706251*19.549729560221046,lon:-99.31601432838862*-99.24777893104975#unapplied_filter_id%3DPROPERTY_TYPE%26unapplied_filter_name%3DInmueble%26unapplied_value_id%3D242060%26unapplied_value_name%3DCasas%26unapplied_autoselect%3Dfalse\"]}")

response = requests.post(
    f"{OPENAPI_BASE}/api/agentTools/executeTask",
    headers={
        "Authorization": f"Bearer {ACCESS_TOKEN}",
        "Content-Type": "application/json",
    },
    json={
        "templateName": "metros-cubicos-listado-scraper",
        "taskName": "Metros Cúbicos Listing Page Scraper",
        "parameters": json.dumps(parameters, ensure_ascii=False),
    },
    timeout=60,
)
print(response.status_code)
print(response.json())
```

## HTTP/cURL Example

```bash
curl -X POST "https://openapi.octoparse.com/api/agentTools/executeTask" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "templateName": "metros-cubicos-listado-scraper",
  "taskName": "Metros Cúbicos Listing Page Scraper",
  "parameters": "{\"listing_page_URL\":[\"https://inmuebles.mercadolibre.com.mx/venta/_OrderId_PRICE*DESC_IS*PROPERTY*IN*AUCTION_242084_item*location_lat:19.51268104706251*19.549729560221046,lon:-99.31601432838862*-99.24777893104975#unapplied_filter_id%3DPROPERTY_TYPE%26unapplied_filter_name%3DInmueble%26unapplied_value_id%3D242060%26unapplied_value_name%3DCasas%26unapplied_autoselect%3Dfalse\"]}"
}
JSON
```

## MCP Setup

Connect an MCP-compatible AI client to `https://mcp.octoparse.com` using browser OAuth or an Octoparse API key. Find `metros-cubicos-listado-scraper`, inspect its inputs, create a cloud task with the exact Input Schema keys, and export JSON results.

## Machine-readable Resources

- [Template contract](https://www.octoparse.com/templates/metros-cubicos-listado-scraper.json)
- [Manifest](https://www.octoparse.com/templates/metros-cubicos-listado-scraper-manifest.json)
