# Immobiliare Real Estate Detail Scraper

Scrape real estate information (posizione, prezzo, descrizione, etc.) from Immobiliare.it using detail page URLs.

- Template page: [https://www.octoparse.com/template/crawler-dettagli-immobili-immobiliare](https://www.octoparse.com/template/crawler-dettagli-immobili-immobiliare)
- 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 15 fields, including `url_inserito`, `titolo_appartamento`, `prezzo`, `posizione`, `agenzia`, `telefono_agenzia`, `agenzia_url`, `titolo_descrizione`, `contenuto_descrizione`, `riferimento_e_data_annuncio`, `superficie`, `locali`, `piano`, `totale_piani_edificio`, `disponibilità`.

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

## Input

### Detail page URL (up tp 10000)

Required. the URLs of the real estate detail pages on Immobiliare.it Constraints: minItems=1; maxItems=10000; items.minLength=1; items.maxLength=5000.

## How to Use

# Immobiliare Real Estate Detail Scraper Guide

## Overview
Collects real estate details from [Immobiliare](https://www.immobiliare.it/) listing pages using detail page URLs. Data includes position, price, description, and listing availability.

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

## Input
- **Detail page URL (up tp 10000)** (required): enter one or more values, one per line.

## How to Use
1. Open the template and select **Try it** or **Start**.
2. Complete the input fields listed above.
3. Run the task locally.
4. Review the output rows and export or process the structured data.

## Output
Returns one row per detail page with listing fields such as:

`url_inserito`, `titolo_appartamento`, `prezzo`, `posizione`, `agenzia`, `telefono_agenzia`, `agenzia_url`, `titolo_descrizione`, `contenuto_descrizione`, `riferimento_e_data_annuncio`, `superficie`, `locali`, `piano`, `totale_piani_edificio`, `disponibilità`.

This template does not collect reviews or comments.

## Scheduling and API
- Schedule recurring runs and export to CSV, Excel, JSON, databases, cloud storage, or reporting/AI workflows.
- API access is available 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.

## Limitations
- This is a local run: keep your computer and Octoparse open while the task is running.
- Some fields may be empty when the source record does not provide them, including `piano`, `totale_piani_edificio`, and `disponibilità`.

## Tips
- Start with one or a few inputs and review the returned rows before scaling.
- Use the most specific valid Detail page URL (up tp 10000) to reduce unrelated or duplicate records.
- Use a stable URL or identifier from the returned fields as the deduplication key when available.

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

- [Immobiliare Real Estate Listing Scraper (Local Only)](https://www.octoparse.com/template/crawler-lista-immobili-immobiliare)
- [Idealista Real Estate Detail Scraper (Italy)](https://www.octoparse.com/template/crawler-dettagli-immobili-idealista)
- [Idealista Real Estate Detail Scraper (Portugal)](https://www.octoparse.com/template/idealista-real-estate-detail-scraper-portugal)
- [Gumtree Scraper (Real Estate Listing)](https://www.octoparse.com/template/gumtree-scraper-real-estate-listing)
- [Naver Land Real Estate Scraper](https://www.octoparse.com/template/naver-land-real-estate-scraper)

## Input Schema

```json
{
  "title": "Immobiliare Real Estate Detail Scraper input",
  "description": "Input parameters configured for the current published template version.",
  "type": "object",
  "schemaVersion": 1,
  "additionalProperties": false,
  "properties": {
    "detail_page_URL": {
      "title": "Detail page URL (up tp 10000)",
      "description": "the URLs of the real estate detail pages on Immobiliare.it",
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 5000
      },
      "minItems": 1,
      "maxItems": 10000,
      "x-octoparse": {
        "apiEnabled": true
      }
    }
  },
  "required": [
    "detail_page_URL"
  ]
}
```

## Input JSON Example

Example 1

```json
{
  "detail_page_URL": [
    "https://www.immobiliare.it/annunci/133732548/"
  ]
}
```


## Output Schema

```json
{
  "schemaVersion": 1,
  "type": "object",
  "properties": {
    "url_inserito": {
      "type": "string",
      "description": ""
    },
    "titolo_appartamento": {
      "type": "string",
      "description": ""
    },
    "prezzo": {
      "type": "string",
      "description": ""
    },
    "posizione": {
      "type": "string",
      "description": ""
    },
    "agenzia": {
      "type": "string",
      "description": ""
    },
    "telefono_agenzia": {
      "type": "string",
      "description": ""
    },
    "agenzia_url": {
      "type": "string",
      "description": ""
    },
    "titolo_descrizione": {
      "type": "string",
      "description": ""
    },
    "contenuto_descrizione": {
      "type": "string",
      "description": ""
    },
    "riferimento_e_data_annuncio": {
      "type": "string",
      "description": ""
    },
    "superficie": {
      "type": "string",
      "description": ""
    },
    "locali": {
      "type": "string",
      "description": ""
    },
    "piano": {
      "type": "string",
      "description": ""
    },
    "totale_piani_edificio": {
      "type": "string",
      "description": ""
    },
    "disponibilità": {
      "type": "string",
      "description": ""
    }
  },
  "title": "Immobiliare Real Estate Detail 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
{
  "url_inserito": "https://www.immobiliare.it/annunci/133732548/",
  "titolo_appartamento": "",
  "prezzo": "",
  "posizione": "",
  "agenzia": "",
  "telefono_agenzia": "",
  "agenzia_url": "",
  "titolo_descrizione": "",
  "contenuto_descrizione": "",
  "riferimento_e_data_annuncio": "",
  "superficie": "",
  "locali": "",
  "piano": "",
  "totale_piani_edificio": "",
  "disponibilità": ""
}
```

## 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": "crawler-dettagli-immobili-immobiliare",
  "taskName": "Immobiliare Real Estate Detail Scraper",
  "parameters": "{\"detail_page_URL\":[\"https://www.immobiliare.it/annunci/133732548/\"]}"
}
```

## Python Example

```python
import json
import requests

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

parameters = json.loads("{\"detail_page_URL\":[\"https://www.immobiliare.it/annunci/133732548/\"]}")

response = requests.post(
    f"{OPENAPI_BASE}/api/agentTools/executeTask",
    headers={
        "Authorization": f"Bearer {ACCESS_TOKEN}",
        "Content-Type": "application/json",
    },
    json={
        "templateName": "crawler-dettagli-immobili-immobiliare",
        "taskName": "Immobiliare Real Estate Detail 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": "crawler-dettagli-immobili-immobiliare",
  "taskName": "Immobiliare Real Estate Detail Scraper",
  "parameters": "{\"detail_page_URL\":[\"https://www.immobiliare.it/annunci/133732548/\"]}"
}
JSON
```

## MCP Setup

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