Skip to content
//Idealista Scraper example\\

Homes for rent in Madrid, 8 listings

Idealista rentals with details.

Updated November 30, 2026

What this example returns

This example returns up to 8 listings.

The dataset’s “Listings” view shows 18 columns: Photo, Price €, Type, Operation, Size m², Rooms, Baths, Floor, Address, District, Town, Province, €/m², Condition, Latitude, Longitude, Code, and Listing. See every output field.

What each setting does

The input this example runs Idealista Scraper with. “Try this input” opens it in the console, where you can run it as-is or change any field first.

Location location

Madrid

City, area, district, or postal code to search, such as Segovia, Marbella, or 28001. Used only when Locations, Idealista URLs, and Property codes are empty.

Max listings maxItems

8

How many listings to save in total. 0 means every listing the searches return.

Default: 10 → this example uses 8

Operation operation

Rent

Buy or rent.

Default: Sale → this example uses Rent

Property type propertyType

Homes

Rooms and holiday rentals are rent only. Buildings and transfers are sale only. Countries other than Spain support homes.

Country country

Spain

Idealista site for Location searches. Results URLs pick their own site.

.json
{
  "location": "Madrid",
  "country": "es",
  "operation": "rent",
  "propertyType": "homes",
  "maxItems": 8
}

What it costs

You pay for the events the actor reports, such as each result or page it produces. Platform usage is included in the event prices: compute, proxies, browser and storage cost nothing extra.

  • Listingfrom $0.000327One Idealista listing saved to the dataset
  • Browser session$0.021One browser session opened in the site's country when a site's check needs it
  • Actor startfrom $0.00085Charged once per run.

Full pricing

When to use this example

From the Idealista Scraper readme:

How many results can I get?

As many as the search has. Idealista shows at most 1,800 results per search. When you ask for more than that, the actor keeps going past that limit for the search (a Location or a pasted results URL, with its filters) and removes duplicates. maxItems 0 means every listing; the run's maximum charge still stops it.

Other ways to run Idealista Scraper

All examples of Idealista Scraper

About Idealista Scraper

Scrape public Idealista listings in Spain and Italy by place, results URL, or property code. Get price, size, rooms, bathrooms, coordinates, photos, description, condition, and agency, with real search filters.

Price:
From $0.327 / 1,000 results
Developer:
Roam & Roof

Idealista Scraper pageOutput fieldsPricing

Related actors

//From the blog\\

Latest articles

All articles

The internet is full of data.
Start owning yours.

Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes.

No credit card. No setup calls.