Skip to content
//Pisos.com Scraper example\\

Lofts for sale in Madrid, 10 listings

A ready-to-run Pisos.com Scraper input: Lofts for sale in Madrid, 10 listings.

Updated October 27, 2026

What this example returns

This example returns up to 10 listings.

The dataset’s “Overview” view shows 14 columns: Photo, Title, Price (€), Rooms, Bathrooms, Area (m²), Floor, Property type, Neighborhood, District, City, Advertiser name, Phone, and Listing. See every output field.

What each setting does

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

Locations locations

Madrid Capital

Places in Spain to search: a city, province, district, neighbourhood or town (for example Madrid Capital, Barcelona, Chamberí, Marbella) or a pisos.com location slug such as madrid_capital. Each one is a separate search using the settings below. Use 'Madrid Capital' for the city and 'Madrid' for the whole province.

Max listings maxItems

10

How many listings to save in total. 0 means no limit. Searches with more than 3,000 listings are split by price automatically so you can go past the site's 100-page limit.

Default: 20 → this example uses 10

Operation transactionType

For sale (venta)

Buy, rent, or new developments (obra nueva). Used with Locations.

Property type propertyType

Lofts

What kind of property to search for. Used with Locations (new developments always list homes).

Default: All homes (pisos y casas) → this example uses Lofts

Sort by sortBy

Relevance

Order of the results.

Advertiser advertiserType

Agencies and private owners

Agencies, private owners, or both.

Open each listing page fetchDetails

Yes

Adds the full description, every feature (lift, terrace, pool, furnished, heating...), usable and plot area, condition, building age, orientation, energy certificate, all photos, exact map point, last update date and the advertiser's name, address and phone. One extra page per listing; turn off for faster,…

.json
{
  "locations": [
    "Madrid Capital"
  ],
  "transactionType": "sale",
  "propertyType": "loft",
  "sortBy": "relevance",
  "advertiserType": "all",
  "maxItems": 10,
  "fetchDetails": true
}

What it costs

About $0.031 for 10 listings

An estimate: 10 × $0.0031 per listing (One pisos.com listing saved to the dataset). A run is charged for the events it reports, so one that finds fewer listings costs less. Platform usage is included in the event price.

Full pricing

When to use this example

From the Pisos.com Scraper readme:

Why is a field empty?

Fields come from what each advertiser filled in. Energy rating, orientation or community fees are often missing on the site itself. Amenity flags, the full description and advertiser details need Open each listing page (on by default). With it off, the agency name is read from its pisos.com profile link, so accents can be missing and private owners have no name.

Known limit

With several locations, Max listings is shared by all of them; set Max listings per search to split it evenly.

Other ways to run Pisos.com Scraper

All examples of Pisos.com Scraper

About Pisos.com Scraper

Scrape pisos.com property listings in Spain by location with filters, or from search and listing URLs. Get price, rooms, bathrooms, m², floor, address, coordinates, photos, energy rating, features and the agency or owner with phone.

Price:
from $2.46 / 1,000 results
Developer:
Roam & Roof

Pisos.com 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.