Skip to content

Free to start: 1,000 credits, no card, nothing to install.

Idealista scraper

Name an idealista search and get each flat's price, bedrooms and m² in a table.

Or ask for

Here is the table you get back

Each result is one row, in the 5 columns below. Name any other field you see on the site and it gets a column too.

Comes as
A table in the chatCSV fileJSON fileRows in your Google Sheet
Covers
SpainPortugalItaly
The Idealista website

Listings table

TitlePriceBedroomsm²Link
Piso en Calle Olmo, Lavapiés349.000 €268idealista.com/inmueble/385721
Ático en Calle Luna, Malasaña520.000 €395idealista.com/inmueble/294817
Dúplex en Calle Cedro, Retiro685.000 €3120idealista.com/inmueble/958374
Example rows. The real run of this request, from Nov 27, 2026, is just below.

Madrid homes for sale: a real run

The first request on this page, run for real on Nov 27, 2026 and sent to the agent as it is written. It came back with 50 rows in 47 s, for 477 credits.

The request

Search Idealista for homes for sale in Madrid and put the first 50 results in a table: price, location, number of rooms, size in m² and the link to each listing.

Rows
50
Time
47 s
Credits
477
Model
GLM-5.3 Flash

How the agent got them: a data API.

50 rows from the run on Nov 27, 2026
PriceLocation (district – neighborhood)RoomsLink
€2,495,000Barrio de Salamanca4https://www.idealista.com/inmueble/109630900/
€575,000Centro1https://www.idealista.com/inmueble/110660735/
€3,390,000Barrio de Salamanca4https://www.idealista.com/inmueble/106387165/
€1,090,000Centro2https://www.idealista.com/inmueble/111543305/
€4,750,000Barrio de Salamanca6https://www.idealista.com/inmueble/110661171/
€2,250,000Retiro2https://www.idealista.com/inmueble/112715738/
€1,049,000Moncloa3https://www.idealista.com/inmueble/111314381/
€4,000,000Barrio de Salamanca4https://www.idealista.com/inmueble/111240225/
€390,000Vicálvaro2https://www.idealista.com/obra-nueva/112541494/
€275,000Vicálvaro0https://www.idealista.com/obra-nueva/112541619/

Every column in this table came back filled on all 50 rows. A sample from Nov 27, 2026. The site changes every day, so your own run gets that day's rows.

What the 50 homes show

What does one more room cost in Madrid?

From 1 to 2 rooms, the middle price goes down by €34,600, from €459,500 to €424,900.

1: €459,500 (14 homes)€459.5K1 rooms14 homes2: €424,900 (12 homes)€424.9K2 rooms12 homes3: €1,012,000 (14 homes)€1M3 rooms14 homes4: €2,495,000 (5 homes)€2.5M4 rooms5 homes
Not drawn: 5 homes in groups of fewer than 5.
What does one more room cost in Madrid?
Rooms 1 (14)€459,500
Rooms 2 (12)€424,900
Rooms 3 (14)€1,012,000
Rooms 4 (5)€2,495,000

What does a typical home for sale in Madrid cost?

Half the homes are between €415,000 and €1,450,000; the middle one is at €580,000.

€0 – €500,000: 2121€500,000 – €1,000,000: 1313€1,000,000 – €1,500,000: 55€1,500,000 – €2,000,000: 44€2,000,000 – €2,500,000: 33€3,000,000+: 44Middle: €580K€0€500K€1M€1.5M€2M€2.5M€3M+
What does a typical home for sale in Madrid cost?
€0 – €500,00021
€500,000 – €1,000,00013
€1,000,000 – €1,500,0005
€1,500,000 – €2,000,0004
€2,000,000 – €2,500,0003
€2,500,000 – €3,000,0000
€3,000,000+4

Not sure what to ask? Try one of these

Try this puts the request in the box at the top. Change any word, then press Run it.

  • One search

    Open idealista's homes for sale in Madrid at idealista.com/en/venta-viviendas/madrid-madrid/ and list the first 50 listings in a table: Title, Price, Bedrooms, m² and the listing Link.

    What comes back

    Listings table
    TitlePriceBedrooms
    The search played at the top of this page.
  • Into a sheet

    Search idealista for homes to rent in [district or city] and put 40 listings in a spreadsheet: Title, Price, Bedrooms, Bathrooms, m², Floor and Link.

    What comes back

    Google Sheet
    TitlePriceBedrooms
  • A list of pages

    Open each of these Idealista pages and put the Title, Price, Bedrooms, m², and Link in one table: [paste the links]

    What comes back

    Listings table
    TitlePriceBedrooms
    Paste the links. It opens up to 5 at once and gives you one table.
  • On a schedule

    Every morning, search Idealista for [what you are looking for] and add the new results to my Google Sheet with the Title, Price, Bedrooms, m², and Link.

    What comes back

    Every morning
    MTWTFSS
    Google Sheet
    TitlePriceBedrooms
    It runs again on its own, as often as every 5 minutes.

What happens after you press Run it

It works through steps like these, and you watch each one in the chat as it runs. It picks the way: a browser on Idealista, or a ready-made extractor when one fits.

What people do with this table

Pick a role: what they ask for, the rows they get back, and what they do next.

What does it cost to run?

Your first runs are free: 1,000 credits, no card. After that, pick how many credits a month with the slider.

Have your own API keys? There is a plan for that too. See all plans

One thing to know about Idealista before you start

How the site shows its data, and what that changes for your run.

You choose what to collect and how you use it, so following the site's terms is up to you.

idealista.com

  • Has an official API

    Idealista has no official API for this data.

    No

Idealista's terms of use and its robots.txt file say what the site allows. What you may do with the data depends on the data, what you use it for and the law where you are.

Already writing code?

Send the same request to the Agent API with your key, then read the table from the job it starts.

Read the API docs

Questions people ask first

Still have a question?

Ask us on Discord
Is it legal to scrape idealista?

There is no single answer. It depends on what data you collect, how you use it, idealista's terms of use and the law where you are. Check idealista's robots.txt, and ask whether its official Search API fits your project.

Does idealista have an official API?

Yes. Idealista offers a Search API through its developers site. You request a key by describing your project, and idealista decides who gets access.

What data can the agent get from idealista?

It collects what search result cards and listing pages show: title, price, bedrooms, bathrooms, size in square metres, floor and the listing link. It does not collect advertisers' phone numbers or emails.

Do I need an idealista account?

No. Search results and listing pages are public for any visitor. For your own saved favourites, the agent can work in your own Chrome, where you are already signed in.

What happens if idealista shows a CAPTCHA?

The agent stops and tells you, along with what it collected so far. It does not solve CAPTCHAs.

Can I get new listings every week?

Yes. Save your search as a task that runs on a schedule, and each run adds the newest listings to your result table or Google Sheet.

Do I need to write code?

No. You write what you want in a sentence, like the requests on this page, and the agent does the clicking. If you do write code, the Agent API takes the same request.

What does a run cost?

You start with 1,000 free credits and no card. Each step the agent takes costs the AI model's own price plus 20% and a flat 6 credits, and browser time is charged by the second. A short search on a low-cost model uses far fewer credits than a long run on a large one.

What do I get the data in?

A table in the chat that you can download as CSV or JSON. Ask for a Google Sheet and the agent writes the rows into your sheet once you connect Google.

Start with one search and see the table

Write what you want from Idealista in the box at the top, in your own words. Nothing runs until you press Run it.

  • A task can repeat on a schedule, as often as every 5 minutes.

    How schedules work
  • Results can also come to you in Discord or Telegram.