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

New developments (obra nueva) in Madrid

Newest brand-new developments with starting price and size range.

Updated December 4, 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

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

New developments (obra nueva)

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

Default: For sale (venta) → this example uses New developments (obra nueva)

Property type propertyType

All homes (pisos y casas)

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

Sort by sortBy

Newest first

Order of the results. Newest first uses pisos.com's most recent listings; with listing pages on, the most recently updated or published of them come first.

Default: Relevance → this example uses Newest first

Published publishedWithin

Any time

Only listings published or updated recently.

Price drops only priceDropOnly

No

Only listings whose price was lowered.

Brand new only brandNewOnly

Yes

Only brand-new properties (a estrenar).

Default: No → this example uses Yes

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,…

Max listings per search maxItemsPerSearch

0

Cap for each location or URL on its own, so one big search does not use up Max listings. 0 means no per-search cap.

.json
{
  "locations": [
    "Madrid"
  ],
  "transactionType": "newBuild",
  "propertyType": "homes",
  "sortBy": "newest",
  "publishedWithin": "any",
  "priceDropOnly": false,
  "brandNewOnly": true,
  "maxItems": 10,
  "advertiserType": "all",
  "fetchDetails": true,
  "maxItemsPerSearch": 0
}

What it costs

From about $0.0089 for 10 listings

An estimate at the lowest plan price: 10 × $0.0008912 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:

Known limit

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

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.

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 $0.891 / 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.