Skip to content
ListingrailGet an API key

How to scrape Immobiliare.it listings in Python

By the end of this guide you have a CSV of Milan flats to rent under 2,000 euros a month, from one script you can run again tomorrow. It starts with what a hand-written Immobiliare.it scraper runs into, then takes the shorter route: an API that does the scraping and returns JSON. Everything below was run on 18 November 2026; the output table is what it returned.

Why scraping Immobiliare.it yourself breaks

  • Immobiliare.it has no public API for searching or reading its listings, and no developer portal. Its one documented API is for estate agencies and their software: it uploads, updates and removes an agency's own listings.
  • Market data is sold separately by Immobiliare.it Insights as report and analysis platforms, not as an API, and no price is published.
  • Its general conditions forbid commercial exploitation of the information on the site, and reproducing or distributing its content without permission.
  • robots.txt disallows the site's search paths for crawlers, and the live terms page answers automated readers with HTTP 403.

None of that is impossible, but each point is code you then maintain. The rest of this guide uses Listingrail, which does the reading and hands back clean JSON. The Immobiliare.it API page has the official options with sources.

1. Get a key

One request with your email returns a key with 250 free listings. It is shown once, so keep it in an environment variable.

curl -X POST https://listingrail.com/v1/signup \
  -H "content-type: application/json" \
  -d '{"email": "you@example.com"}'

export LISTINGRAIL_KEY=re_...

2. Search and save to CSV

Install requests (pip install requests), then run:

import csv
import os

import requests

r = requests.post(
    "https://listingrail.com/v1/listings/search",
    headers={"Authorization": f"Bearer {os.environ['LISTINGRAIL_KEY']}"},
    json={"source":"immobiliare","location":"Milano","type":"rent","maxPrice":2000,"limit":50},
    timeout=300,
)
r.raise_for_status()
listings = r.json()["listings"]

fields = ["price", "currency", "beds", "baths", "area", "address", "url"]
with open("immobiliare-milano.csv", "w", newline="", encoding="utf-8") as f:
    writer = csv.writer(f)
    writer.writerow(fields)
    for home in listings:
        writer.writerow([home[k] for k in fields])

print(len(listings), "listings saved to immobiliare-milano.csv")

The request body, on its own:

{
  "source": "immobiliare",
  "location": "Milano",
  "type": "rent",
  "maxPrice": 2000,
  "limit": 50
}

Each listing returned costs one credit. A search that finds nothing, or fails at Immobiliare.it, costs nothing. A request can take up to a minute or two, because Immobiliare.it is read at that moment.

3. What comes back

The first three rows of the run on 18 November 2026:

AddressPriceSizeAgent
Corso di Porta Romana1,500 EUR / month1 bd · 1 ba · 65 m²Classe Milano
Via Corno di Cavento1,000 EUR / month1 bd · 1 ba · 70 m²Coldwell Banker Reliance Group
Via Desiderio da Settignano, 131,350 EUR / month1 bd · 1 ba · 50 m²Casatua Milano

Every listing has the same keys on all 22 portals, so the code for Immobiliare.it reads the others too. Fields Immobiliare.it does not show come back as null, and the portal's own record sits in raw. With pandas:

import pandas as pd

df = pd.DataFrame(listings)
df["agent"] = df["agent"].str.get("company")
print(df[["price", "beds", "baths", "area", "address", "agent"]].head())

4. Get new listings and price cuts every day

Running the script on a schedule works, but then you compare the files yourself. A monitor stores the search, checks it once a day, and sends only what changed: new listings and price cuts. The free key holds one monitor.

requests.post(
    "https://listingrail.com/v1/monitors",
    headers={"Authorization": f"Bearer {os.environ['LISTINGRAIL_KEY']}"},
    json={
        "source": "immobiliare",
        "location": "Milano",
        "filters": {"type":"rent", "maxPrice":2000},
        "webhook_url": "https://example.com/new-listings",
    },
    timeout=30,
)

Changes can also be read with GET /v1/monitors/MONITOR_ID/changes or downloaded as CSV. Plans and limits are on the monitors page.

Immobiliare.it quirks worth knowing

  • Write the city or town by its Italian name: "Milano", "Roma", "Orvieto", not "Milan" or "Rome".
  • minPrice, maxPrice and minBeds work with a place name. Rows outside the range are dropped and not charged.
  • beds and rooms are both filled: a "Bilocale" (two rooms) came back as rooms 2 and beds 1. property_type carries the Italian name.
  • address is the street, sometimes with the house number. postal_code and listed_at were empty in the five rows read on 18 November 2026.
  • agent.company is the agency and agent.phone its number; agent.name was empty in those rows. Each row had coordinates and one photo link.
  • Measured on 13 November 2026: ten searches (Milano, Roma, Orvieto and Bellagio, sale and rent, 18 to 25 listings each) answered in 2.6 to 3.8 seconds.

Questions

Should I write my own Immobiliare.it scraper or use an API?

A scraper of your own costs nothing but your time and can work for a few pages from a home connection. For repeated or scheduled runs from a server you take on the points listed under "Why scraping Immobiliare.it yourself breaks". An API moves that work to someone else: here one request returns clean JSON and you pay per listing, with 250 free listings a month.

Is there an official Immobiliare.it API?

Not for reading listings. The one documented API lets estate agencies and their software send their own listings to the portal; it has no endpoint for searching.

Can I search Immobiliare.it with English city names?

No. Use the Italian name of the city or town: "Milano" and "Roma", not "Milan" and "Rome".

How many Immobiliare.it listings can I get per request?

Up to 500 per request. Each listing returned costs one credit; a search that finds nothing costs nothing.

Get 250 free listingsAPI docsOther guides