# immobiliare-scraper (`scraptivo/immobiliare-scraper`) Actor

Extract property listings from immobiliare.it search pages with optional agency inventory expansion.

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

## Pricing

from $2.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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 Italy Scraper

Extract property listings from immobiliare.it search pages with optional agency inventory expansion.
---

### Input

The actor accepts these fields:

- startUrls (array, required): List of immobiliare.it search URLs
- includeAgencyListings (boolean, optional): Follow and scrape agency inventories (default true)
- maxRequestsPerCrawl (integer, optional): Limit for fetched pages (0 = unlimited)
- maxItems (integer, optional): Maximum number of dataset items (0 = unlimited)
- minDelaySec (number, optional): Minimum delay between requests
- maxDelaySec (number, optional): Maximum delay between requests
- requestTimeoutSec (integer, optional): Timeout per request in seconds
- maxRetries (integer, optional): Request retry attempts
- proxyConfiguration (object, optional): Apify proxy settings, default uses Apify Proxy

#### Input example

```json
{
  "startUrls": [
    {"url": "https://www.immobiliare.it/vendita-case/roma/"}
  ],
  "includeAgencyListings": true,
  "maxRequestsPerCrawl": 300,
  "maxItems": 0,
  "minDelaySec": 1,
  "maxDelaySec": 2.5,
  "requestTimeoutSec": 30,
  "maxRetries": 3,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
````

***

### Run Notes

- If proxyConfiguration is omitted, the actor attempts to use Apify Proxy automatically.
- Logs report each processed search page, discovered agencies, pushed item counts, and failures.
- Final run stats are written to STATS in the default key-value store.

### Output

The scraper outputs property data in JSON format. Two views are available in the dataset:

**Listings Overview** — key listing fields including image, URL, price, location, property details, and agency name.

**Agency Data** — agency-specific fields such as agency name, type, label, URL, paid status, guarantee, and phone number.

### Pricing

**Estimated cost: ~$3 per 1,000 listings extracted.** The actor uses API endpoints directly (not browser rendering), keeping compute units low.

***

### 🚀 Other Tools by Rigel Bytes

[![Zillow Scraper](https://img.shields.io/badge/Zillow-Scraper-blue?style=for-the-badge)](https://apify.com/rigelbytes/zillow-scraper)
Extract property listings, prices, and details from Zillow effortlessly.

[![Airbnb Listing Scraper](https://img.shields.io/badge/Airbnb-Listing_Scraper-green?style=for-the-badge)](https://apify.com/rigelbytes/airbnb-listing)
Gather Airbnb listings, including prices, reviews, and availability.

[![Web Crawler](https://img.shields.io/badge/Web-Crawler-orange?style=for-the-badge)](https://apify.com/rigelbytes/webcrawler)
A versatile tool to crawl and scrape data from any website.

[![Zillow Detail Scraper](https://img.shields.io/badge/Zillow-Detail_Scraper-blueviolet?style=for-the-badge)](https://apify.com/rigelbytes/zillow-detail-scraper)
Dive deeper into Zillow listings with detailed property information.

[![Daraz Scraper](https://img.shields.io/badge/Daraz-Scraper-red?style=for-the-badge)](https://apify.com/rigelbytes/daraz)
Scrape product details, prices, and reviews from Daraz.

[![Airbnb Images Downloader](https://img.shields.io/badge/Airbnb-Images_Downloader-yellow?style=for-the-badge)](https://apify.com/rigelbytes/airbnb-images-downloader)
Download high-quality images from Airbnb listings with ease.

[![Google Maps Scraper](https://img.shields.io/badge/Google-Maps_Scraper-tree?style=for-the-badge)](https://apify.com/rigelbytes/google-maps-scraper)
Extract UNLIMITED business leads with Google Maps Scraper in different languages.

[![Instagram Profile Scraper](https://img.shields.io/badge/Instagram-Profile_Scraper-orange?style=for-the-badge)](https://apify.com/rigelbytes/instagram-profile-scraper)
Export Unlimited Instagram Profiles with Instagram Profile Scraper

### Understanding Proxies

When scraping data or browsing anonymously, proxies are essential. They act as intermediaries, masking your original IP address and allowing you to send requests from another location.

#### Why Use Proxies?

- Avoid IP Blocks: By routing requests through proxies, you prevent the target website from recognizing your IP as a scraper or spammer.
- Access Geo-restricted Content: Proxies let you access content or websites restricted by location.
- Enhance Anonymity: Hide your actual IP, ensuring privacy while scraping or browsing.

#### Types of Proxies

1. Residential Proxies
   - Real IP addresses provided by ISPs to home users.
   - They mimic regular users, making them harder to detect.
   - Best for: Long-term, undetectable scraping, and avoiding blocks.
2. Data Center Proxies
   - IP addresses from servers in data centers.
   - Faster and cheaper than residential proxies but easier to detect and block.
   - Best for: High-speed scraping, but with a higher risk of detection.
3. Mobile Proxies
   - IPs provided by mobile carriers (3G/4G/5G networks).
   - Very difficult to detect, as they appear as regular mobile users.
   - Best for: Mobile-related scraping or avoiding sophisticated blocks.

#### Rotating Proxies vs. Straight Proxies

- Rotating Proxies: Every request you send goes through a different proxy, making it harder for websites to detect patterns.
- Straight Proxies: All requests are sent through the same proxy, making it easier to track your IP.

### About Rigel Bytes

Rigel Bytes specializes in web scraping, automation, and data analytics. We help businesses extract and leverage valuable data for informed decision-making.

### Contact Us

Ready to unlock the power of data? Reach out to us at (contact@rigelbytes.com) or [book an appointment](https://cal.com/faizanali/appointments) with us to learn more about how we can help you achieve your data goals.

# Actor input Schema

## `startUrls` (type: `array`):

Search URLs on immobiliare.it to scrape listings from.

## `includeAgencyListings` (type: `boolean`):

When enabled, the Actor follows agency pages discovered in search results to scrape additional listings.

## `maxRequestsPerCrawl` (type: `integer`):

Maximum number of pages to fetch (0 = unlimited).

## `maxItems` (type: `integer`):

Maximum number of listings to push to dataset (0 = unlimited).

## `minDelaySec` (type: `number`):

Minimum delay between requests.

## `maxDelaySec` (type: `number`):

Maximum delay between requests.

## `requestTimeoutSec` (type: `integer`):

HTTP timeout for each request.

## `maxRetries` (type: `integer`):

Maximum retry attempts for failed HTTP requests.

## `proxyConfiguration` (type: `object`):

Proxy configuration for the scraper. Uses Apify Proxy or custom proxy URLs.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.immobiliare.it/vendita-case/roma/"
    }
  ],
  "includeAgencyListings": true,
  "maxRequestsPerCrawl": 300,
  "maxItems": 0,
  "minDelaySec": 1,
  "maxDelaySec": 2.5,
  "requestTimeoutSec": 30,
  "maxRetries": 3,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

## `stats` (type: `string`):

No description

# 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 = {
    "startUrls": [
        {
            "url": "https://www.immobiliare.it/vendita-case/roma/"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scraptivo/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 = { "startUrls": [{ "url": "https://www.immobiliare.it/vendita-case/roma/" }] }

# Run the Actor and wait for it to finish
run = client.actor("scraptivo/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 '{
  "startUrls": [
    {
      "url": "https://www.immobiliare.it/vendita-case/roma/"
    }
  ]
}' |
apify call scraptivo/immobiliare-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "immobiliare-scraper",
        "description": "Extract property listings from immobiliare.it search pages with optional agency inventory expansion.",
        "version": "0.0",
        "x-build-id": "g3vUQqirMoGlh1CP1"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/scraptivo~immobiliare-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-scraptivo-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/scraptivo~immobiliare-scraper/runs": {
            "post": {
                "operationId": "runs-sync-scraptivo-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/scraptivo~immobiliare-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-scraptivo-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",
                "required": [
                    "startUrls"
                ],
                "properties": {
                    "startUrls": {
                        "title": "Start URLs",
                        "type": "array",
                        "description": "Search URLs on immobiliare.it to scrape listings from.",
                        "default": [
                            {
                                "url": "https://www.immobiliare.it/vendita-case/roma/"
                            }
                        ],
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    },
                    "includeAgencyListings": {
                        "title": "Include Agency Listings",
                        "type": "boolean",
                        "description": "When enabled, the Actor follows agency pages discovered in search results to scrape additional listings.",
                        "default": true
                    },
                    "maxRequestsPerCrawl": {
                        "title": "Max Requests per Crawl",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Maximum number of pages to fetch (0 = unlimited).",
                        "default": 300
                    },
                    "maxItems": {
                        "title": "Max Items",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Maximum number of listings to push to dataset (0 = unlimited).",
                        "default": 0
                    },
                    "minDelaySec": {
                        "title": "Min Delay (seconds)",
                        "minimum": 0,
                        "type": "number",
                        "description": "Minimum delay between requests.",
                        "default": 1
                    },
                    "maxDelaySec": {
                        "title": "Max Delay (seconds)",
                        "minimum": 0,
                        "type": "number",
                        "description": "Maximum delay between requests.",
                        "default": 2.5
                    },
                    "requestTimeoutSec": {
                        "title": "Request Timeout (seconds)",
                        "minimum": 1,
                        "type": "integer",
                        "description": "HTTP timeout for each request.",
                        "default": 30
                    },
                    "maxRetries": {
                        "title": "Max Retries",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Maximum retry attempts for failed HTTP requests.",
                        "default": 3
                    },
                    "proxyConfiguration": {
                        "title": "Proxy Configuration",
                        "type": "object",
                        "description": "Proxy configuration for the scraper. Uses Apify Proxy or custom proxy URLs.",
                        "default": {
                            "useApifyProxy": 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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
