Idealista Scraper: Spain Homes & Rooms for Sale or Rent avatar

Idealista Scraper: Spain Homes & Rooms for Sale or Rent

Pricing

from $1.00 / 1,000 searches

Go to Apify Store
Idealista Scraper: Spain Homes & Rooms for Sale or Rent

Idealista Scraper: Spain Homes & Rooms for Sale or Rent

Scrape idealista.com listings for many Spanish cities, districts and towns in one run: homes, new builds, rooms, offices, premises, garages, land and buildings, for sale or rent. Price, price drops, size, bedrooms, floor, agency, photos and links.

Pricing

from $1.00 / 1,000 searches

Rating

0.0

(0)

Developer

Tauqeer Abbas

Tauqeer Abbas

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a month ago

Last modified

Categories

Security

Limited permissions

Share

Idealista Scraper: homes and rooms for sale or rent across Spain, with pay-per-event pricing on a balcony sign

Scrape idealista.com listings for many places in Spain in one run: homes, new builds, rooms, offices, commercial premises, garages, land, storage rooms and buildings, for sale or for rent. Every listing comes with its title, address, district and coordinates, price (and the previous price after a drop), size, price per m², bedrooms, bathrooms, floor, features, condition, description, agency with its phone, photos and link.

Why this scraper

  • Many searches per run. List searches (place + filters), give places with one set of filters, or paste search URLs from idealista with any filters it offers.
  • Type place names as on idealista. "Marbella", "Chamberí, Madrid", "Gràcia, Barcelona": they're matched to idealista's own locations.
  • Every property type, for sale or rent, in the same run.
  • Up to 2,500 listings per search, every listing once, in idealista's order.
  • Rich records: coordinates, district and neighbourhood, bathrooms, terrace, lift, pool, air conditioning, parking, condition, and the agency's phone number.
  • Fast and light. No browser: 50 listings per request.
  • Pay only for results. A search that finds nothing costs nothing.

Input

FieldWhat it does
SearchesOne search per entry (examples below). Unset filters take the run-wide values.
LocationsMany places with the run-wide filters.
Search URLsidealista.com search result URLs, with any filters the site offers.
OperationBuy (for sale) or Rent.
Property typeHomes, new builds (sale), rooms (rent), offices, premises, garages, land, storage rooms, buildings.
Min / Max price, Min / Max size, Min bedrooms, SortRun-wide filters. Prices are EUR (per month for rent); bedrooms apply to homes.
Max listings per search / in totalCaps your cost.
ProxyKeep the default (Apify residential, Spain), or your own http:// or socks5:// proxy URLs.

A location is a city, town, district or neighbourhood as you'd type it on idealista; add the city after a comma when the name is ambiguous ("Salamanca, Madrid" is the Madrid district, "Salamanca" the city). You can also give idealista's own location path from a search URL (madrid-madrid, madrid/chamberi, marbella-malaga).

Example: rentals in Madrid and family homes in Marbella

{
"searches": [
{"location": "Chamberí, Madrid", "operation": "rent", "maxPrice": 2000},
{"location": "Marbella", "operation": "sale", "minBedrooms": 3, "maxPrice": 900000}
],
"maxItemsPerSearch": 300
}

Example: rooms to rent in many cities, newest first

{
"locations": ["Madrid", "Barcelona", "Valencia", "Sevilla"],
"operation": "rent",
"propertyType": "rooms",
"sort": "newest",
"maxItemsPerSearch": 200
}

Example: your own search URL

{
"startUrls": [{"url": "https://www.idealista.com/alquiler-viviendas/barcelona/gracia/con-terraza/"}]
}

Output

One item per listing:

{
"id": "112767091",
"url": "https://www.idealista.com/inmueble/112767091/",
"title": "Piso en Calle de José Ortega y Gasset, Lista, Madrid",
"propertyType": "flat",
"propertySubtype": null,
"operation": "rent",
"price": 6700,
"currency": "EUR",
"pricePeriod": "month",
"previousPrice": null,
"priceDrop": null,
"priceDropPercent": null,
"pricePerM2": 45,
"size": 150,
"bedrooms": 3,
"bathrooms": 2,
"floor": "2",
"exterior": true,
"lift": true,
"parking": false,
"parkingIncluded": null,
"terrace": false,
"swimmingPool": false,
"airConditioning": true,
"garden": false,
"storageRoom": false,
"condition": "good",
"newDevelopment": false,
"address": "Piso en Calle de José Ortega y Gasset, Lista, Madrid",
"neighborhood": "Lista",
"district": "Barrio de Salamanca",
"municipality": "Madrid",
"province": "Madrid",
"locationId": "0-EU-ES-28-07-001-079-04-005",
"latitude": 40.429603,
"longitude": -3.6784107,
"exactAddress": false,
"description": "Benjamín Cousiño Propiedades presenta un exclusivo piso de alquiler en la prestigiosa Call...",
"tags": ["Lujo"],
"agency": "Benjamín Cousiño propiedades",
"contactName": "Benjamín Cousiño",
"phone": "+34919385061",
"advertiserType": "professional",
"professional": true,
"agencyUrl": "https://www.idealista.com/pro/benjamin-cousino-propiedades/",
"externalReference": "BC-1675",
"photos": 32,
"image": "https://img4.idealista.com/s/v1/yLv6QcFaPGY...?Expires=1791525966&Signature=...",
"images": ["https://img4.idealista.com/s/v1/yLv6QcFaPGY...?Expires=1791525966&Signature=...", "..."],
"hasFloorPlan": true,
"hasVirtualTour": false,
"hasVideo": false,
"highlighted": false,
"search": "homes for rent in Salamanca, Madrid",
"searchUrl": null,
"searchIndex": 0
}
  • price is in euros; pricePeriod is month for rentals; pricePerM2 follows it (per month for rentals).
  • previousPrice, priceDrop and priceDropPercent fill in when the price was lowered.
  • exactAddress is false when the advertiser hides the exact address: the coordinates are then approximate.
  • agency, contactName and phone are given for professional advertisers (agencies, developers); private advertisers' contact details are left out.
  • Photo links expire after about a day. Download the photos you need during that time; url and id are permanent.

Pricing

Pay per event, platform usage included:

EventPrice
Run start$0.005
Search that returned listings$0.001 per search
Listing$0.80 per 1,000

Examples:

RunCost
1 search, 100 listingsabout $0.09
4 searches, 200 listings eachabout $0.65
10 searches, 2,500 each (25,000 listings)about $20.02

A search with no listings is not charged, and the run stops at your spending limit without charging for anything it didn't deliver.

Tips

  • Keep the default proxy (Apify residential, Spain). If idealista refuses an IP, the run moves to a new one and carries on where it stopped.
  • More than 2,500 results? Split the search by district, property type or price range.
  • Market monitoring? Schedule the same input daily and compare by id; previousPrice shows price drops.

FAQ

Which listings are included? The ones idealista shows for your search, in its order.

Portugal or Italy? Not yet: this Actor covers idealista.com (Spain).

Can I run it on a schedule or through the API? Yes, like any Apify Actor: schedules, the Apify API, webhooks and integrations (Make, Zapier, Google Sheets and others).

Is it legal? The Actor collects publicly shown listings; it doesn't log in, and it leaves out private advertisers' contact details. You are responsible for using the data in line with idealista's terms and the privacy laws that apply to you.