---
title: "Idealista scraper"
description: "Scrape Idealista listings in Spain, Portugal and Italy: price, size in m², rooms, floor, agency and listing ID as JSON. One API request from Python, Node.js or MCP."
canonical: https://www.zenrows.com/scrape/idealista
updated: 2026-10-20
---

# Idealista scraper

The Zenrows Idealista scraper turns an Idealista search URL into structured JSON: listing ID, title, monthly rent or price, size in square meters, bedrooms, floor, property type, tags, agency, photo count and publish time, plus the area's average price per m². Fetch in Adaptive Stealth Mode opens the page and Extract returns the fields. Run it from an API call, the CLI or an AI agent.

- Site: idealista.com
- Returns: Listings, prices, size, rooms and agencies in Spain, Portugal and Italy

## Run it: one Idealista search in, JSON out

```json Input
{
  "url": "https://www.idealista.com/alquiler-viviendas/barcelona-barcelona/",
  "mode": "auto",
  "extract": "auto",
  "proxy_country": "es"
}
```

```json Output
{
  "search_context": {
    "location_name": "Barcelona",
    "total_listings": 2167,
    "average_price_per_sqm": 33.27
  },
  "listings": [
    {
      "listing_id": "112554326",
      "title": "Piso en Calle de Sagués, Sant Gervasi - Galvany, Barcelona",
      "price_eur_per_month": 1600,
      "area_sqm": 50,
      "bedrooms": 1,
      "floor_description": "5ª planta exterior con ascensor",
      "property_type": "Piso",
      "tags": ["Alquiler de temporada"],
      "agency_name": "Carolina Martí",
      "agency_profile_url": "/pro/carolinamarti/",
      "is_professional_ad": true,
      "photo_count": 17,
      "listing_url": "/inmueble/112554326/",
      "thumbnail_url": "https://img4.idealista.com/blur/480_360_mq/0/id.pro.es.image.master/f8/c4/a5/1482884681.jpg"
    },
    {
      "listing_id": "112855924",
      "title": "Piso en Avenida de Roma, L'Antiga Esquerra de l'Eixample, Barcelona",
      "price_eur_per_month": 3300,
      "area_sqm": 169,
      "bedrooms": 4,
      "floor_description": "4ª planta exterior con ascensor",
      "property_type": "Piso",
      "tags": null,
      "agency_name": null,
      "is_professional_ad": true,
      "photo_count": 28,
      "time_since_published": "4 horas",
      "listing_url": "/inmueble/112855924/"
    }
  ]
}
```

Request and output of a live call to an Idealista rental search in Barcelona on Oct 20, 2026, trimmed for length. A field is returned when the page shows it.

## What data can you scrape from Idealista?

A search page returns every listing card on it, plus a summary of the area. The values keep Idealista's own language, so a Barcelona search returns Spanish titles and tags. These are the fields teams use most, with the path where each lives in the JSON.

| Field | What it holds | Example |
|---|---|---|
| `listings[].listing_id` | Idealista's ad ID, the number in `/inmueble/ID/` | `112554326` |
| `listings[].title` | Property type, street and neighborhood | `Piso en Calle de Sagués, Sant Gervasi - Galvany, Barcelona` |
| `listings[].price_eur_per_month` | Monthly rent in euros on a rental search | `1600` |
| `listings[].area_sqm` | Built area in square meters | `50` |
| `listings[].bedrooms` | Number of bedrooms | `1` |
| `listings[].floor_description` | Floor, exterior or interior, and lift | `5ª planta exterior con ascensor` |
| `listings[].property_type` | Flat, house, penthouse, studio and so on | `Piso` |
| `listings[].tags[]` | Labels on the card, such as seasonal rental or luxury | `["Alquiler de temporada"]` |
| `listings[].garage_included` | Whether parking is included, when the card says so | `null` |
| `listings[].agency_name` | The agency or professional behind the ad | `BLUEGROUND BARCELONA` |
| `listings[].agency_profile_url` | The agency's Idealista profile | `/pro/bluegroundbarcelona/` |
| `listings[].is_professional_ad` | Agency ad (`true`) or private owner | `true` |
| `listings[].photo_count` | Number of photos in the ad | `18` |
| `listings[].time_since_published` | How recently the ad went up, as Idealista shows it | `2 horas` |
| `listings[].description_snippet` | The first lines of the ad text | `Siéntete como en casa en este acogedor apartamento…` |
| `listings[].listing_url` | The ad page, relative to the site | `/inmueble/111800752/` |
| `search_context.total_listings` | How many ads match the search | `2167` |
| `search_context.average_price_per_sqm` | The area's average price per m² for this search | `33.27` |

## How to scrape Idealista with Zenrows

1. **Create a free Zenrows account** and copy your API key from the dashboard.
2. **Build the search on Idealista and copy the URL.** Rentals are `/alquiler-viviendas/<city>/`, sales `/venta-viviendas/<city>/`, on idealista.com for Spain, idealista.pt for Portugal and idealista.it for Italy. Filters you set in the browser stay in the URL.
3. **Send it with the default configuration**: Adaptive Stealth Mode to open the page, Extract to return the fields, and the country of the site (`es`, `pt` or `it`).
4. **Read `parsed`** from the response. `listings` holds the cards and `search_context` tells you how many ads match.
5. **Walk the result pages** with `pagina-2.htm`, `pagina-3.htm` and so on, and send them as one Batch job.

```python Python
# pip install requests
import json
import requests

params = {
    "apikey": "YOUR_ZENROWS_API_KEY",
    "url": "https://www.idealista.com/alquiler-viviendas/barcelona-barcelona/",
    "mode": "auto",          # Adaptive Stealth Mode
    "extract": "auto",       # structured JSON
    "proxy_country": "es",   # Idealista Spain
}
response = requests.get("https://api.zenrows.com/v1/", params=params, timeout=180)
response.raise_for_status()

data = response.json()["parsed"]
print(data["search_context"]["total_listings"], "ads,", data["search_context"]["average_price_per_sqm"], "EUR/m2")
for ad in data["listings"]:
    print(ad["listing_id"], ad["price_eur_per_month"], ad["area_sqm"], ad["bedrooms"], ad["title"])
```

```javascript Node.js
// Node 18+ (built-in fetch)
const params = new URLSearchParams({
  apikey: "YOUR_ZENROWS_API_KEY",
  url: "https://www.idealista.com/alquiler-viviendas/barcelona-barcelona/",
  mode: "auto",
  extract: "auto",
  proxy_country: "es",
});

const response = await fetch(`https://api.zenrows.com/v1/?${params}`, {
  signal: AbortSignal.timeout(180_000),
});
if (!response.ok) throw new Error(`${response.status}: ${await response.text()}`);

const { parsed } = await response.json();
for (const ad of parsed.listings) {
  const perSqm = ad.price_eur_per_month && ad.area_sqm ? (ad.price_eur_per_month / ad.area_sqm).toFixed(2) : null;
  console.log(ad.listing_id, ad.price_eur_per_month, ad.area_sqm, perSqm);
}
```

```bash cURL
curl "https://api.zenrows.com/v1/?apikey=YOUR_ZENROWS_API_KEY&url=https%3A%2F%2Fwww.idealista.com%2Falquiler-viviendas%2Fbarcelona-barcelona%2F&mode=auto&extract=auto&proxy_country=es"

# Only the fields you need
curl "https://api.zenrows.com/v1/?apikey=YOUR_ZENROWS_API_KEY&url=https%3A%2F%2Fwww.idealista.com%2Falquiler-viviendas%2Fbarcelona-barcelona%2F&mode=auto&extract=auto&proxy_country=es&extract_fields=listings.listing_id%2Clistings.price_eur_per_month%2Clistings.area_sqm%2Clistings.bedrooms"
```

```python Python SDK
# pip install zenrows
from zenrows import ZenRowsClient

client = ZenRowsClient("YOUR_ZENROWS_API_KEY")
response = client.get(
    "https://www.idealista.com/alquiler-viviendas/barcelona-barcelona/pagina-2.htm",
    params={"mode": "auto", "extract": "auto", "proxy_country": "es"},
)
for ad in response.json()["parsed"]["listings"]:
    print(ad["listing_id"], ad.get("agency_name"), ad["price_eur_per_month"])
```

## Input

The scraper takes one Idealista URL per request, plus the options below. The same parameters go into every task of a Batch job, so the input for a whole city is the list of its result pages with these settings.

| Parameter | Type | Default | Description |
|---|---|---|---|
| `url` | string | required | An Idealista search (rentals, sales, a city, district or neighborhood, with filters) or an ad page (`/inmueble/ID/`), on idealista.com, idealista.pt or idealista.it |
| `mode` | string | `auto` | Adaptive Stealth Mode: starts with the lightest setup and adds rendering and protected-site handling only when the page needs them |
| `extract` | string | `auto` | Returns the page's fields as JSON in `parsed`, next to the raw `html` |
| `extract_fields` | string | all fields | Comma-separated paths to keep, such as `listings.listing_id,listings.price_eur_per_month` |
| `proxy_country` | string | any | Two-letter country code. Match the site: `es` for idealista.com, `pt` for idealista.pt, `it` for idealista.it |
| `wait_for` | string | none | A CSS selector to wait for before the page is read |
| `session_id` | integer | none | Reuse the same session across several requests, up to 10 minutes, such as the result pages of one search |

```json Batch input
{
  "type": "regular",
  "status": "closed",
  "zenrows_params": {
    "mode": "auto",
    "extract": "auto",
    "proxy_country": "es"
  },
  "tasks": [
    { "url": "https://www.idealista.com/alquiler-viviendas/barcelona-barcelona/", "external_id": "bcn-rent-p1" },
    { "url": "https://www.idealista.com/alquiler-viviendas/barcelona-barcelona/pagina-2.htm", "external_id": "bcn-rent-p2" },
    { "url": "https://www.idealista.com/venta-viviendas/madrid-madrid/", "external_id": "mad-sale-p1" }
  ]
}
```

## Output

Every response is JSON with two keys: `html`, the page as Idealista served it, and `parsed`, the structured record. A search page returns `search_context` and a `listings` array, one object per ad card. The sample below is the trimmed output of a live request to the Barcelona rentals search.

```json Search results
{
  "search_context": {
    "location_name": "Barcelona",
    "total_listings": 2167,
    "average_price_per_sqm": 33.27
  },
  "listings": [
    {
      "listing_id": "111800752",
      "title": "Piso en Calle de Casanova, Sant Gervasi - Galvany, Barcelona",
      "price_eur_per_month": 5342,
      "area_sqm": 56,
      "bedrooms": 2,
      "floor_description": null,
      "garage_included": null,
      "property_type": "Piso",
      "tags": ["Lujo"],
      "agency_name": "BLUEGROUND BARCELONA",
      "agency_profile_url": "/pro/bluegroundbarcelona/",
      "is_professional_ad": true,
      "photo_count": 18,
      "time_since_published": "2 horas",
      "description_snippet": "Siéntete como en casa en este acogedor apartamento de 55 m² en Barcelona, ubicado en la planta baja…",
      "listing_url": "/inmueble/111800752/",
      "thumbnail_url": "https://img4.idealista.com/blur/480_360_mq/0/id.pro.es.image.master/73/79/5d/1448853820.jpg"
    },
    {
      "listing_id": "112554326",
      "title": "Piso en Calle de Sagués, Sant Gervasi - Galvany, Barcelona",
      "price_eur_per_month": 1600,
      "area_sqm": 50,
      "bedrooms": 1,
      "floor_description": "5ª planta exterior con ascensor",
      "garage_included": null,
      "property_type": "Piso",
      "tags": ["Alquiler de temporada"],
      "agency_name": "Carolina Martí",
      "agency_profile_url": "/pro/carolinamarti/",
      "is_professional_ad": true,
      "photo_count": 17,
      "time_since_published": null,
      "description_snippet": "Alquiler temporal en Sagués, Sant Gervasi-Galvany\nUn dormitorio, terraza y aire acondicionado…",
      "listing_url": "/inmueble/112554326/"
    }
  ]
}
```

`listing_url` and `agency_profile_url` are relative: prefix them with `https://www.idealista.com` (or the .pt or .it domain) before you request them. For a spreadsheet, flatten `listings` with `pd.json_normalize(...)`; for an LLM, ask for the page as Markdown.

## Scrape Idealista from your coding agent

Claude Code, Cursor, Codex and any MCP client can scrape Idealista from a prompt.

The agent runs the same Fetch and Extract request and gets the same `listings`, so it can answer "which two-bedroom flats in Gràcia rent for under 1,500 euros" from one search URL. Connect the Zenrows MCP server once, or install the CLI and let the agent run it in the terminal.

```bash Connect the MCP server (Claude Code)
claude mcp add zenrows -e ZENROWS_API_KEY=YOUR_ZENROWS_API_KEY -- npx -y @zenrows/mcp
```

```json MCP config (Cursor, Claude Desktop, Windsurf)
{
  "mcpServers": {
    "zenrows": {
      "command": "npx",
      "args": ["-y", "@zenrows/mcp"],
      "env": { "ZENROWS_API_KEY": "YOUR_ZENROWS_API_KEY" }
    }
  }
}
```

```bash Or run the CLI
npx -y @zenrows/cli init
zenrows extract "https://www.idealista.com/alquiler-viviendas/barcelona-barcelona/" --proxy-country es
```

```text Then ask your agent
Use Zenrows to read the first three result pages of
https://www.idealista.com/alquiler-viviendas/barcelona-barcelona/
and give me a table of ads with rent, m², bedrooms and rent per m².
Flag seasonal rentals separately and leave out ads above 3,000 euros.
```

## Scrape Idealista at scale with Batch and Crawl

**Batch** runs a list of Idealista URLs as one job, in parallel, with your own ID on each result. The usual input is every result page of the cities you track (`pagina-2.htm`, `pagina-3.htm` and so on), run each morning so new ads and price changes show up the same day.

**Crawl** collects the ad pages for you. Start it on a search, keep only links that contain `/inmueble/`, and it returns every ad page it reaches, with the listing ID in each URL.

```bash Batch (cURL)
curl -X POST "https://async.api.zenrows.com/v1/jobs" \
  -H "X-API-Key: YOUR_ZENROWS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "regular",
    "status": "closed",
    "zenrows_params": { "mode": "auto", "extract": "auto", "proxy_country": "es" },
    "tasks": [
      { "url": "https://www.idealista.com/alquiler-viviendas/barcelona-barcelona/", "external_id": "bcn-rent-p1" },
      { "url": "https://www.idealista.com/alquiler-viviendas/barcelona-barcelona/pagina-2.htm", "external_id": "bcn-rent-p2" }
    ]
  }'

# Read the results when the job finishes
curl "https://async.api.zenrows.com/v1/jobs/JOB_ID/results?status=successful" \
  -H "X-API-Key: YOUR_ZENROWS_API_KEY"
```

```bash Batch (CLI)
# searches.jsonl: one {"url": "...", "external_id": "...", "extract": "auto"} per line
zenrows batch create searches.jsonl --proxy-country es --wait
zenrows batch results <job-id> --out idealista-listings.jsonl
```

```bash Crawl (cURL)
curl -X POST "https://api.zenrows.com/v1/crawls" \
  -H "X-API-Key: YOUR_ZENROWS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://www.idealista.com/alquiler-viviendas/barcelona-barcelona/",
    "depth": 2,
    "max_pages": 300,
    "include_patterns": ["/inmueble/"]
  }'
```

**Scheduled jobs** run the same Batch job on a timetable, on Zenrows' side: every few hours, once a day, at set times on chosen days, or once at a future date. Each run keeps its own results, a webhook can tell your app when a run finishes, and you can pause or resume the schedule at any time, with no cron server to keep alive.

```bash Scheduled job (cURL)
# Runs every day on Zenrows' side; each run keeps its own results
curl -X POST "https://async.api.zenrows.com/v1/jobs" \
  -H "X-API-Key: YOUR_ZENROWS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
      "type": "scheduled",
      "status": "closed",
      "schedule": {
        "rate": {
          "every": 1,
          "unit": "day"
        }
      },
      "zenrows_params": {
        "mode": "auto",
        "extract": "auto",
        "proxy_country": "es"
      },
      "tasks": [
        {
          "url": "https://www.idealista.com/alquiler-viviendas/barcelona-barcelona/",
          "external_id": "idealista"
        }
      ]
    }'

# Or at set times: "schedule": { "calendar": { "times_of_day": ["09:00"],
#   "cadence": { "weekly": { "days": ["mon", "thu"] } } }, "timezone": "Europe/Madrid" }
```

## What teams do with Idealista data

| Use case | Data they pull | Who runs it |
|---|---|---|
| Rent and price per m² tracking | Price, area and `average_price_per_sqm` per city and district, stored daily | Investors, funds and research teams in Spain, Portugal and Italy |
| Deal sourcing | New ads under a price per m² threshold, with listing ID and publish time | Buy-to-let investors and property buyers |
| Agency market share | Agency name and ad count per neighborhood, private versus professional ads | Real estate agencies and franchise networks |
| Seasonal and short-term rental supply | Ads tagged as seasonal rentals, with rent, size and location | Short-term rental operators and housing researchers |
| Valuation models | Price, size, bedrooms, floor and property type as training data | Proptech and lending teams |
| Lead lists of agencies | Agency names and Idealista profile URLs in a target area | Proptech and services sales teams |

## Tips for scraping Idealista

- **Match the country to the domain.** Request idealista.com from Spain, idealista.pt from Portugal and idealista.it from Italy. Prices, language and results follow the site.
- **Paginate with `pagina-N.htm`.** Page two of any search is the same path plus `pagina-2.htm`. Divide `total_listings` by the cards per page to know how many pages to queue.
- **Sort by newest to catch new ads.** Add `?ordenado-por=fecha-publicacion-desc` to a search, then read only the first page or two each day.
- **Use the listing ID as your key.** `listing_id` is the number in `/inmueble/ID/`. Store it to dedupe across pages and to follow price changes on the same ad.
- **Rentals and sales use different paths and price fields.** Rentals live under `alquiler-viviendas` and return a monthly price; sales live under `venta-viviendas`. Keep them in separate tables.
- **Text stays in the site's language.** Titles, tags and floor descriptions come back in Spanish, Portuguese or Italian. Map tags such as "Alquiler de temporada" to your own labels once, then reuse the mapping.

## Frequently asked questions

### Is it legal to scrape Idealista?

Collecting publicly available listing data from Idealista, such as prices, sizes and locations shown to every visitor, is common practice for market research. Ads from private owners can include personal data, which the GDPR protects in Spain, Portugal and Italy, so collect only what you have a legitimate reason to use and leave out names and phone numbers you do not need. Check Idealista's terms for your use case and ask your lawyer if you are unsure.

### Is there an official Idealista API?

Yes. Idealista runs a developer API for property search in Spain, Portugal and Italy. You request access with a form, Idealista decides who gets a key, and approved keys come with a small monthly request quota. It covers its own search filters rather than any page you can open in a browser, so teams that need full cities every day use a scraper instead.

### What Idealista pages can I scrape?

Search pages for rentals and sales at city, district and neighborhood level, with any filters in the URL, on idealista.com, idealista.pt and idealista.it. Ad pages ( /inmueble/ID/ ) open with the same request.

### Does it work for Idealista Portugal and Italy?

Yes. Send an idealista.pt URL with Portugal as the country, or an idealista.it URL with Italy. Searches such as idealista.pt/arrendar-casas/lisboa/ and idealista.it/affitto-case/milano-milano/ return the same structure, in the site's language.

### How do I scrape Idealista with Python?

Send a GET request to https://api.zenrows.com/v1/ with your API key, the Idealista URL, Adaptive Stealth Mode and Extract turned on and Spain as the country, as in the Python example above. response.json()["parsed"]["listings"] is a list with one dictionary per ad. The zenrows package on PyPI wraps the same request.

### How many Idealista listings can I scrape?

Send one URL per request, or every result page of a search as a Batch job that runs them in parallel with your own ID on each result. One Batch job accepts more than 10,000 URLs, sent inline or as a CSV file.

### Can I compare Idealista with other real estate sites?

Yes. Extract has a canonical real estate schema: send extract=standard instead of extract=auto and Idealista, Zillow and Redfin pages come back with the same field names. The default stays auto , which keeps Idealista's own fields such as the price per month.

### Can AI agents scrape Idealista with Zenrows?

Yes. Connect the Zenrows MCP server to Claude, Cursor, Codex or any MCP client, or give your agent the Zenrows CLI. Ask in plain language, in English or Spanish, and the agent calls Fetch and Extract for you.

### Can I scrape Idealista on a schedule?

Yes. Create a scheduled Batch job with your Idealista URLs and the same settings as a single request, and Zenrows runs it on its side: every few hours, once a day, at set times on chosen days, or once at a future date. Each run keeps its own results, a webhook can notify your app when a run finishes, and the schedule can be paused or resumed at any time.

### Which integrations work with the Idealista scraper?

Zenrows works with n8n, Make, Zapier, Clay, Dify, LangChain, LlamaIndex, CrewAI and Mastra, plus the Python, Node.js and Go SDKs and any HTTP client. A daily Make or n8n workflow that writes new ads to Google Sheets or Airtable is the common starting point. See the integrations page for the full list.

### What format does the data come in?

JSON by default, with the structured record in parsed and the original page in html . You can also ask for the page as Markdown or plain text, which is what most LLM and RAG pipelines want.

All scrapers: https://www.zenrows.com/scrape. Start free: https://app.zenrows.com/register. Docs: https://docs.zenrows.com

## Structured data



<script type="application/ld+json">
{"@context":"https://schema.org","@graph":[{"@type":"WebPage","@id":"https://www.zenrows.com/scrape/idealista#webpage","url":"https://www.zenrows.com/scrape/idealista","name":"Idealista scraper","description":"Scrape Idealista listings in Spain, Portugal and Italy: price, size in m², rooms, floor, agency and listing ID as JSON. One API request from Python, Node.js or MCP.","isPartOf":{"@id":"https://www.zenrows.com/#website"},"inLanguage":"en","datePublished":"2026-10-20","dateModified":"2026-10-20","about":{"@type":"WebSite","name":"Idealista","url":"https://idealista.com"},"keywords":"idealista scraper, idealista api, scrape idealista, idealista scraper api, idealista scraping, idealista web scraper","mainEntity":{"@id":"https://www.zenrows.com/scrape/idealista#scraper"},"publisher":{"@type":"Organization","name":"Zenrows","url":"https://www.zenrows.com/"}},{"@type":"SoftwareApplication","@id":"https://www.zenrows.com/scrape/idealista#scraper","name":"Idealista scraper by Zenrows","url":"https://www.zenrows.com/scrape/idealista","applicationCategory":"DeveloperApplication","operatingSystem":"Any (HTTP API, CLI, MCP)","description":"The Zenrows Idealista scraper turns an Idealista search URL into structured JSON: listing ID, title, monthly rent or price, size in square meters, bedrooms, floor, property type, tags, agency, photo count and publish time, plus the area's average price per m². Fetch in Adaptive Stealth Mode opens the page and Extract returns the fields. Run it from an API call, the CLI or an AI agent.","featureList":"Listings, prices, size, rooms and agencies in Spain, Portugal and Italy","offers":{"@type":"Offer","price":"0","priceCurrency":"USD"},"provider":{"@type":"Organization","name":"Zenrows","url":"https://www.zenrows.com/"}},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://www.zenrows.com/"},{"@type":"ListItem","position":2,"name":"Scrapers","item":"https://www.zenrows.com/scrape"},{"@type":"ListItem","position":3,"name":"Idealista scraper","item":"https://www.zenrows.com/scrape/idealista"}]},{"@type":"FAQPage","@id":"https://www.zenrows.com/scrape/idealista#faq","mainEntity":[{"@type":"Question","name":"Is it legal to scrape Idealista?","acceptedAnswer":{"@type":"Answer","text":"Collecting publicly available listing data from Idealista, such as prices, sizes and locations shown to every visitor, is common practice for market research. Ads from private owners can include personal data, which the GDPR protects in Spain, Portugal and Italy, so collect only what you have a legitimate reason to use and leave out names and phone numbers you do not need. Check Idealista's terms for your use case and ask your lawyer if you are unsure."}},{"@type":"Question","name":"Is there an official Idealista API?","acceptedAnswer":{"@type":"Answer","text":"Yes. Idealista runs a developer API for property search in Spain, Portugal and Italy. You request access with a form, Idealista decides who gets a key, and approved keys come with a small monthly request quota. It covers its own search filters rather than any page you can open in a browser, so teams that need full cities every day use a scraper instead."}},{"@type":"Question","name":"What Idealista pages can I scrape?","acceptedAnswer":{"@type":"Answer","text":"Search pages for rentals and sales at city, district and neighborhood level, with any filters in the URL, on idealista.com, idealista.pt and idealista.it. Ad pages ( /inmueble/ID/ ) open with the same request."}},{"@type":"Question","name":"Does it work for Idealista Portugal and Italy?","acceptedAnswer":{"@type":"Answer","text":"Yes. Send an idealista.pt URL with Portugal as the country, or an idealista.it URL with Italy. Searches such as idealista.pt/arrendar-casas/lisboa/ and idealista.it/affitto-case/milano-milano/ return the same structure, in the site's language."}},{"@type":"Question","name":"How do I scrape Idealista with Python?","acceptedAnswer":{"@type":"Answer","text":"Send a GET request to https://api.zenrows.com/v1/ with your API key, the Idealista URL, Adaptive Stealth Mode and Extract turned on and Spain as the country, as in the Python example above. response.json()[\"parsed\"][\"listings\"] is a list with one dictionary per ad. The zenrows package on PyPI wraps the same request."}},{"@type":"Question","name":"How many Idealista listings can I scrape?","acceptedAnswer":{"@type":"Answer","text":"Send one URL per request, or every result page of a search as a Batch job that runs them in parallel with your own ID on each result. One Batch job accepts more than 10,000 URLs, sent inline or as a CSV file."}},{"@type":"Question","name":"Can I compare Idealista with other real estate sites?","acceptedAnswer":{"@type":"Answer","text":"Yes. Extract has a canonical real estate schema: send extract=standard instead of extract=auto and Idealista, Zillow and Redfin pages come back with the same field names. The default stays auto , which keeps Idealista's own fields such as the price per month."}},{"@type":"Question","name":"Can AI agents scrape Idealista with Zenrows?","acceptedAnswer":{"@type":"Answer","text":"Yes. Connect the Zenrows MCP server to Claude, Cursor, Codex or any MCP client, or give your agent the Zenrows CLI. Ask in plain language, in English or Spanish, and the agent calls Fetch and Extract for you."}},{"@type":"Question","name":"Can I scrape Idealista on a schedule?","acceptedAnswer":{"@type":"Answer","text":"Yes. Create a scheduled Batch job with your Idealista URLs and the same settings as a single request, and Zenrows runs it on its side: every few hours, once a day, at set times on chosen days, or once at a future date. Each run keeps its own results, a webhook can notify your app when a run finishes, and the schedule can be paused or resumed at any time."}},{"@type":"Question","name":"Which integrations work with the Idealista scraper?","acceptedAnswer":{"@type":"Answer","text":"Zenrows works with n8n, Make, Zapier, Clay, Dify, LangChain, LlamaIndex, CrewAI and Mastra, plus the Python, Node.js and Go SDKs and any HTTP client. A daily Make or n8n workflow that writes new ads to Google Sheets or Airtable is the common starting point. See the integrations page for the full list."}},{"@type":"Question","name":"What format does the data come in?","acceptedAnswer":{"@type":"Answer","text":"JSON by default, with the structured record in parsed and the original page in html . You can also ask for the page as Markdown or plain text, which is what most LLM and RAG pipelines want."}}]}]}
</script>
