# Vivanuncios Post Details Scraper

Scrape detailed information (Title, Price, Agent Info, Phone Number, Description, Image URLs etc.) from Vivanuncios by details page URL.

- Template page: [https://www.octoparse.com/template/vivanuncios-detalles-scraper](https://www.octoparse.com/template/vivanuncios-detalles-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 detail pages.

## Output

The current workflow extracts 16 fields, including `Agente`, `Anuncio`, `Baños`, `Descripción`, `Dirección`, `Garage`, `Image_URL1`, `Image_URL2`, `Image_URL3`, `Precio`, `Publicado`, `Página_URL`, `Recamaras`, `Superficie_Total`, `Título`, `URL_agente`.

## 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 Details page URL (1-10,000) and start the template in local or cloud mode.
- **Flexible export:** review and export results as CSV, Excel, or JSON.

## Input

### Details page URL (1-10,000)

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

## How to Use

# Vivanuncios Post Details Scraper – Usage Guide

## Purpose

This template collects detailed listing information from Vivanuncios detail page URLs, including title, price, agent info, phone number, description, and image URLs. Data is sourced from [Naventcdn](https://img10.naventcdn.com/), a property service used to research homes, locations, prices, features, and listing availability.

## Pricing

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

## Input

- **Details page URL (1-10,000)** (required): Enter one or more values, one per line.

## Output Fields

Returns these fields:

- `Página_URL`
- `Título`
- `Precio`
- `Recamaras`
- `Baños`
- `Garage`
- `Superficie_Total`
- `Dirección`
- `Descripción`
- `Anuncio`
- `Image_URL1`
- `Image_URL2`
- `Image_URL3`
- `Publicado`
- `Agente`
- `URL_agente`

## 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.

You can schedule recurring runs, export to CSV, Excel, JSON, databases, or cloud storage, and reuse data through Octoparse OpenAPI or the [AgentTools API](https://www.octoparse.com/docs/en/api-reference/agenttools-api/search-templates). Scheduling and API access may require a paid Octoparse plan. For local scheduled runs, keep your computer and Octoparse open.

## Typical Uses

- Compare property prices, locations, features, and listing availability.
- Monitor new listings and market changes over repeated runs.
- Build structured property datasets for research or lead qualification.
- Export listing URLs and fields for reporting, mapping, or enrichment.

## Limitations

- Collects only the fields listed above from detail pages; it does not add data that Naventcdn does not display.
- Does not collect reviews or comments.
- `Publicado`, `Agente`, and `URL_agente` 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 Details page URL to reduce unrelated or duplicate records.
- Use a stable URL or identifier from fields such as `Página_URL`, `Título`, `Precio`, `Recamaras`, `Baños`, `Garage`, `Superficie_Total`, `Dirección`, `Descripción`, or `Anuncio` as the deduplication key when available.

## Notes

If you need a custom template, please don't hesitate 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

- [Fincaraíz Post Details Scraper](https://www.octoparse.com/template/fincaraiz-detalles-scraper)
- [Lamudi Post Details Scraper](https://www.octoparse.com/template/lamudi-detalles-scraper)
- [Propiedades Post Details Scraper](https://www.octoparse.com/template/propiedades-detalles-scraper)
- [Xiaohongshu Post Details Scraper](https://www.octoparse.com/template/rednote-post-details-scraper)
- [Reddit Post Scraper (by Keywords)](https://www.octoparse.com/template/reddit-post-scraper-by-keywords)

## Input Schema

```json
{
  "title": "Vivanuncios Post Details Scraper input",
  "description": "Input parameters configured for the current published template version.",
  "type": "object",
  "schemaVersion": 1,
  "additionalProperties": false,
  "properties": {
    "details_page_URL": {
      "title": "Details page URL (1-10,000)",
      "description": "",
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 10000
      },
      "minItems": 1,
      "maxItems": 10000,
      "x-octoparse": {
        "apiEnabled": true
      }
    }
  },
  "required": [
    "details_page_URL"
  ]
}
```

## Input JSON Example

Example 1

```json
{
  "details_page_URL": [
    "https://www.vivanuncios.com.mx/d-desarrollo-inmuebleshogarcom/148643716?n_src=Listado&n_pg=1&n_pos=1",
    "https://www.vivanuncios.com.mx/a-venta-departamento/americana/departamento-nuevo-en-venta-colonia-americana/147961656?n_src=Listado&n_pills=Gimnasio&n_pg=1&n_pos=2",
    "https://www.vivanuncios.com.mx/a-venta-departamento/la-noria/venta-departamento-en-la-noria-xochimilco/146841776?n_src=Listado&n_pills=Patio&n_pg=1&n_pos=4"
  ]
}
```

Example 2

```json
{
  "details_page_URL": [
    "https://www.vivanuncios.com.mx/d-desarrollo-inmuebleshogarcom/148643716?n_src=Listado&n_pg=1&n_pos=1",
    "https://www.vivanuncios.com.mx/a-venta-departamento/americana/departamento-nuevo-en-venta-colonia-americana/147961656?n_src=Listado&n_pills=Gimnasio&n_pg=1&n_pos=2",
    "https://www.vivanuncios.com.mx/a-venta-departamento/la-noria/venta-departamento-en-la-noria-xochimilco/146841776?n_src=Listado&n_pills=Patio&n_pg=1&n_pos=4"
  ]
}
```

Example 3

```json
{
  "details_page_URL": [
    "[\"https://www.vivanuncios.com.mx/d-desarrollo-inmuebleshogarcom/148643716?n_src=Listado&n_pg=1&n_pos=1\",\"https://www.vivanuncios.com.mx/a-venta-departamento/americana/departamento-nuevo-en-venta-colonia-americana/147961656?n_src=Listado&n_pills=Gimnasio&n_pg=1&n_pos=2\",\"https://www.vivanuncios.com.mx/a-venta-departamento/la-noria/venta-departamento-en-la-noria-xochimilco/146841776?n_src=Listado&n_pills=Patio&n_pg=1&n_pos=4\"]"
  ]
}
```


## Output Schema

```json
{
  "schemaVersion": 1,
  "type": "object",
  "properties": {
    "Agente": {
      "type": "string",
      "description": ""
    },
    "Anuncio": {
      "type": "string",
      "description": ""
    },
    "Baños": {
      "type": "string",
      "description": ""
    },
    "Descripción": {
      "type": "string",
      "description": ""
    },
    "Dirección": {
      "type": "string",
      "description": ""
    },
    "Garage": {
      "type": "string",
      "description": ""
    },
    "Image_URL1": {
      "type": "string",
      "description": ""
    },
    "Image_URL2": {
      "type": "string",
      "description": ""
    },
    "Image_URL3": {
      "type": "string",
      "description": ""
    },
    "Precio": {
      "type": "string",
      "description": ""
    },
    "Publicado": {
      "type": "string",
      "description": ""
    },
    "Página_URL": {
      "type": "string",
      "description": ""
    },
    "Recamaras": {
      "type": "string",
      "description": ""
    },
    "Superficie_Total": {
      "type": "string",
      "description": ""
    },
    "Título": {
      "type": "string",
      "description": ""
    },
    "URL_agente": {
      "type": "string",
      "description": ""
    }
  },
  "title": "Vivanuncios Post Details 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
{
  "Agente": "Cattori  Inmobiliaria",
  "Anuncio": "",
  "Baños": "\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t2\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tbaños\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t",
  "Descripción": "\n\t\t\n\t\t\tDescubre este encantador, departamento ideal para quienes buscan amplitud, comodidad y buena iluminación en un solo lugar. Desde la entrada, te recibe una amplia sala que se integra con el comedor, creando un excelente espacio para compartir en familia o con amigos. Cuenta también con sala de TV, estudio o incluso una tercera recámara. La cocina es funcional y equipada conectada al cuarto de lavado. El departamento cuenta, además con medio baño de visitas, la zona privada está conformada por dos recámaras con clóset de muy buen tamaño y dos baños completos con ventilación natural. La distribución te ofrece una sensación de gran espacio y calidez al mismo tiempo. Cuenta con 1 lugar de estacionamiento fijo, que no se estorba con los vecinos y puerta eléctrica, jaula de tendido. ***El precio NO incluye: impuestos, gastos notariales, derechos, honorarios, costos de tasas de interés y/o gastos en caso de financiamiento; ni mobiliario, ni artículos decorativos, ni electrodomésticos, salvo especificación en contrario***\n\t\t\n\t\t\n\t\t\tLeer descripción completa\n\t\t\t\n\t\t\n\t",
  "Dirección": " Guadalupe I. Ramírez,  La Noria, Xochimilco",
  "Garage": "\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t52\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t años\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t",
  "Image_URL1": "",
  "Image_URL2": "",
  "Image_URL3": "",
  "Precio": "\n                  \n                    MN 3,504,000\n                  \n                ",
  "Publicado": "",
  "Página_URL": "https://www.vivanuncios.com.mx/a-venta-departamento/la-noria/venta-departamento-en-la-noria-xochimilco/146841776?n_src=Listado&n_pills=Patio&n_pg=1&n_pos=4",
  "Recamaras": "3rec. ",
  "Superficie_Total": "",
  "Título": "\n\t\t\t\tVenta Departamento en La Noria Xochimilco\n\t\t\t",
  "URL_agente": "https://www.vivanuncios.com.mx/u-anuncios-del-vendedor/cattori-inmobiliaria/v1u314382p1"
}
```

Example 2

```json
{
  "Agente": "",
  "Anuncio": "",
  "Baños": "",
  "Descripción": "",
  "Dirección": "",
  "Garage": "",
  "Image_URL1": "",
  "Image_URL2": "",
  "Image_URL3": "",
  "Precio": "",
  "Publicado": "",
  "Página_URL": "https://www.vivanuncios.com.mx/a-venta-departamento/americana/departamento-nuevo-en-venta-colonia-americana/147961656?n_src=Listado&n_pills=Gimnasio&n_pg=1&n_pos=2",
  "Recamaras": "",
  "Superficie_Total": "",
  "Título": "www.vivanuncios.com.mx",
  "URL_agente": ""
}
```

Example 3

```json
{
  "Agente": "",
  "Anuncio": "",
  "Baños": "",
  "Descripción": "",
  "Dirección": "",
  "Garage": "",
  "Image_URL1": "",
  "Image_URL2": "",
  "Image_URL3": "",
  "Precio": "",
  "Publicado": "",
  "Página_URL": "about:blank",
  "Recamaras": "",
  "Superficie_Total": "",
  "Título": "",
  "URL_agente": ""
}
```

## 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": "vivanuncios-detalles-scraper",
  "taskName": "Vivanuncios Post Details Scraper",
  "parameters": "{\"details_page_URL\":[\"https://www.vivanuncios.com.mx/d-desarrollo-inmuebleshogarcom/148643716?n_src=Listado&n_pg=1&n_pos=1\",\"https://www.vivanuncios.com.mx/a-venta-departamento/americana/departamento-nuevo-en-venta-colonia-americana/147961656?n_src=Listado&n_pills=Gimnasio&n_pg=1&n_pos=2\",\"https://www.vivanuncios.com.mx/a-venta-departamento/la-noria/venta-departamento-en-la-noria-xochimilco/146841776?n_src=Listado&n_pills=Patio&n_pg=1&n_pos=4\"]}"
}
```

## Python Example

```python
import json
import requests

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

parameters = json.loads("{\"details_page_URL\":[\"https://www.vivanuncios.com.mx/d-desarrollo-inmuebleshogarcom/148643716?n_src=Listado&n_pg=1&n_pos=1\",\"https://www.vivanuncios.com.mx/a-venta-departamento/americana/departamento-nuevo-en-venta-colonia-americana/147961656?n_src=Listado&n_pills=Gimnasio&n_pg=1&n_pos=2\",\"https://www.vivanuncios.com.mx/a-venta-departamento/la-noria/venta-departamento-en-la-noria-xochimilco/146841776?n_src=Listado&n_pills=Patio&n_pg=1&n_pos=4\"]}")

response = requests.post(
    f"{OPENAPI_BASE}/api/agentTools/executeTask",
    headers={
        "Authorization": f"Bearer {ACCESS_TOKEN}",
        "Content-Type": "application/json",
    },
    json={
        "templateName": "vivanuncios-detalles-scraper",
        "taskName": "Vivanuncios Post Details 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": "vivanuncios-detalles-scraper",
  "taskName": "Vivanuncios Post Details Scraper",
  "parameters": "{\"details_page_URL\":[\"https://www.vivanuncios.com.mx/d-desarrollo-inmuebleshogarcom/148643716?n_src=Listado&n_pg=1&n_pos=1\",\"https://www.vivanuncios.com.mx/a-venta-departamento/americana/departamento-nuevo-en-venta-colonia-americana/147961656?n_src=Listado&n_pills=Gimnasio&n_pg=1&n_pos=2\",\"https://www.vivanuncios.com.mx/a-venta-departamento/la-noria/venta-departamento-en-la-noria-xochimilco/146841776?n_src=Listado&n_pills=Patio&n_pg=1&n_pos=4\"]}"
}
JSON
```

## MCP Setup

Connect an MCP-compatible AI client to `https://mcp.octoparse.com` using browser OAuth or an Octoparse API key. Find `vivanuncios-detalles-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/vivanuncios-detalles-scraper.json)
- [Manifest](https://www.octoparse.com/templates/vivanuncios-detalles-scraper-manifest.json)
