# Immobiliare.it Scraper - Italy Property (`benthepythondev/immobiliare-scraper`) Actor

Scrape Immobiliare.it (Italy's #1 property portal), for sale or to rent: price, surface, rooms, bathrooms, floor, full location, coordinates, agency, photos and listing URL. Search by Italian city or province name. Reliable via the site's internal API.

- **URL**: https://apify.com/benthepythondev/immobiliare-scraper.md
- **Developed by:** [ben](https://apify.com/benthepythondev) (community)
- **Categories:** Real estate, Lead generation, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## 🏠 Immobiliare.it Scraper — Italy Property Data

Scrape **Immobiliare.it**, Italy's #1 real-estate portal, **for sale or to rent** — and get clean, structured listings: price, surface, rooms, bathrooms, floor, full location, coordinates, agency, photos and the listing URL. Search by any Italian city or province name. Fast and reliable via the site's own data, so there's no flaky HTML parsing.

Built for real-estate research, lead generation, market analysis and price monitoring across Italy. Export to JSON/CSV/Excel, run on a schedule, call via API, or connect to Make, Zapier or n8n.

### 🔎 What is the Immobiliare.it Scraper?

Give it Italian locations (e.g. "Milano", "Roma", "Napoli") and choose sale or rent, and it returns matching property listings as structured rows — paginated to your requested limit. Perfect for building a clean Italian property dataset or tracking a local market.

#### What data does it extract?

- **Title** and **listing URL**
- **Price** (value + formatted, plus min/max for project listings)
- **Surface**, **rooms**, **bathrooms** and **floor**
- **Property typology** (apartment, villa, project…)
- **City**, **province**, **macrozone** and **region**
- **Latitude / longitude**
- **Description** and short **caption**
- **Features** (lift, terrace, garage…)
- **Main photo**
- **Agency** name (and whether phone contact is available)
- **New-build** and **luxury** flags

### ⬇️ Input

| Field | Type | Description |
|-------|------|-------------|
| `locations` | array | Italian city or province names, e.g. `Milano`. |
| `contract` | string | `sale` (vendita) or `rent` (affitto). |
| `maxResults` | integer | Max listings per location. Default `50`. |
| `useResidentialProxy` | boolean | Route via Apify residential IT IPs (only if needed). |

#### Example input

```json
{
  "locations": ["Milano", "Roma"],
  "contract": "sale",
  "maxResults": 100
}
````

### ⬆️ Output

One record per listing:

```json
{
  "id": 114922193,
  "title": "Trilocale via Bisceglie, Milano",
  "url": "https://www.immobiliare.it/annunci/114922193/",
  "contract": "sale",
  "is_new": false,
  "is_luxury": false,
  "typology": "Appartamento",
  "price_value": 276000,
  "price_formatted": "€ 276.000",
  "surface": "55 m²",
  "rooms": "3",
  "bathrooms": "1",
  "floor": "2",
  "city": "Milano",
  "province": "Milano",
  "macrozone": "Bisceglie, Baggio, Olmi",
  "region": "Lombardia",
  "latitude": 45.4595,
  "longitude": 9.1087,
  "description": "Luminoso trilocale ristrutturato...",
  "features": ["Balcone", "Ascensore", "Cantina"],
  "photo": "https://pwm.im-cdn.it/image/.../xxl.jpg",
  "agency": "Studio Immobiliare Milano",
  "agency_phone_available": true,
  "query": "Milano"
}
```

### 💡 Use cases

- 🏠 **Market research** — analyze prices and supply by city, province or zone.
- 🎯 **Lead generation** — build a list of agencies and active listings.
- 📈 **Price monitoring** — schedule runs and track changes over time.
- 🤖 **Automation** — push new listings to Slack/Sheets via Make/Zapier/n8n.

### ❓ FAQ

**Do I need an API key or login?** No — just provide locations and run.

**Can I search for rentals?** Yes — set `contract` to `rent`.

**Which areas can I search?** Any Italian city or province — names are resolved automatically.

**Do I get coordinates?** Yes — latitude and longitude for mapping.

**Is the agency included?** Yes — the agency name and whether phone contact is offered.

**How many listings can I get?** Set `maxResults` — it paginates automatically.

**How does pricing work?** Pay per listing returned. No subscription.

**Is it legal?** It collects publicly available listing data. Scrape responsibly, respect robots/ToS, and follow GDPR for any personal data.

### ⚙️ How it works

The scraper queries Immobiliare.it's internal search API directly (Chrome TLS impersonation for reliability) and normalizes each listing into consistent fields — price, surface, rooms, location, agency — so you get a tidy table instead of raw HTML. It resolves your location names to the right area codes, paginates automatically, and de-duplicates as it goes. Runs are fast and dependable, which is why the actor keeps passing its daily health check. The same input shape works for a quick check or a deep multi-city pull — only `maxResults` changes. If you ever hit a block, flip on `useResidentialProxy` for Italian residential IPs.

### 👥 Who uses Italian property data?

Property data is valuable to investors, agencies, proptech teams and analysts. An investor compares prices across provinces; an agency monitors competitor listings and asking prices; a proptech app enriches its map with fresh inventory; an analyst studies supply and pricing trends. Because every record is plain JSON with consistent fields, it drops straight into a spreadsheet, CRM, BI tool or LLM pipeline with no custom parsing.

### 📤 Export, schedule & integrate

Every run is saved to a dataset you can export to **JSON, CSV, Excel, XML or RSS**, or pull through the **Apify API**. Wire it into **Make, Zapier, n8n, Google Sheets, Slack** or your **own database**, run it on a **schedule** to catch new listings, and call it from AI agents through the **Apify MCP server**.

### 💡 Tips for best results

- Search by province (e.g. "Milano") for the widest coverage of an area.
- Run sale and rent separately to keep two clean datasets.
- Schedule a daily run and diff by `id` for a new-listings alert.
- Increase `maxResults` to capture a full market snapshot.

### ❓ More FAQ

**How fresh is the data?** It is fetched live on each run.

**Can I run it automatically?** Yes — use Apify Schedules (cron).

**Are duplicates removed?** Listings are de-duplicated within each run.

**Which export formats?** JSON, CSV, Excel, XML and RSS, plus the Apify API.

**Can AI agents use it?** Yes — via the Apify API and MCP server.

### 🔗 You might also like

- [Subito.it Scraper](https://apify.com/benthepythondev/subito-scraper) — Italian classifieds & property.
- [Idealista Scraper](https://apify.com/benthepythondev/idealista-scraper) — Spanish/Italian property.
- [Immoweb Scraper](https://apify.com/benthepythondev/immoweb-scraper) — Belgian real estate.

***

**Keywords:** immobiliare.it scraper, immobiliare scraper, italy real estate, italian property data, immobiliare api, property scraper italy, real estate italy, case in vendita, affitto, property listings, real estate leads, italian property dataset, immobiliare listings, property market italy

# Actor input Schema

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

Italian city or province names, e.g. 'Milano', 'Roma'. Resolved automatically.

## `contract` (type: `string`):

Whether to scrape listings for sale or to rent.

## `maxResults` (type: `integer`):

Maximum listings to return per location.

## `useResidentialProxy` (type: `boolean`):

Route requests through Apify residential Italian IPs. Only enable if direct requests get blocked (uses proxy quota).

## Actor input object example

```json
{
  "locations": [
    "Milano"
  ],
  "contract": "sale",
  "maxResults": 10,
  "useResidentialProxy": false
}
```

# 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 = {
    "locations": [
        "Milano"
    ],
    "contract": "sale",
    "maxResults": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("benthepythondev/immobiliare-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 = {
    "locations": ["Milano"],
    "contract": "sale",
    "maxResults": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("benthepythondev/immobiliare-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "locations": [
    "Milano"
  ],
  "contract": "sale",
  "maxResults": 10
}' |
apify call benthepythondev/immobiliare-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=benthepythondev/immobiliare-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Immobiliare.it Scraper - Italy Property",
        "description": "Scrape Immobiliare.it (Italy's #1 property portal), for sale or to rent: price, surface, rooms, bathrooms, floor, full location, coordinates, agency, photos and listing URL. Search by Italian city or province name. Reliable via the site's internal API.",
        "version": "1.0",
        "x-build-id": "wgSCABibmp3XGZXcs"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/benthepythondev~immobiliare-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-benthepythondev-immobiliare-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/benthepythondev~immobiliare-scraper/runs": {
            "post": {
                "operationId": "runs-sync-benthepythondev-immobiliare-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/benthepythondev~immobiliare-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-benthepythondev-immobiliare-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "locations": {
                        "title": "Locations",
                        "type": "array",
                        "description": "Italian city or province names, e.g. 'Milano', 'Roma'. Resolved automatically.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "contract": {
                        "title": "For sale or to rent",
                        "enum": [
                            "sale",
                            "rent"
                        ],
                        "type": "string",
                        "description": "Whether to scrape listings for sale or to rent.",
                        "default": "sale"
                    },
                    "maxResults": {
                        "title": "Max results per location",
                        "minimum": 1,
                        "maximum": 1500,
                        "type": "integer",
                        "description": "Maximum listings to return per location.",
                        "default": 50
                    },
                    "useResidentialProxy": {
                        "title": "Use residential proxy (IT)",
                        "type": "boolean",
                        "description": "Route requests through Apify residential Italian IPs. Only enable if direct requests get blocked (uses proxy quota).",
                        "default": false
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
