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,…
{
"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.
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
- Flats for rent in Barcelona, 2+ bedrooms under €3,000Newest rentals in Barcelona city with full listing details and agency phone.
- Paste pisos.com search pagesScrape any pisos.com search URL with the filters you set on the site.
- Homes for sale in Sevilla, fast exportResult pages only: price, size, rooms, location and photos in seconds.
- New developments (obra nueva) in MadridNewest brand-new developments with starting price and size range.
- Price drops on houses in ValenciaCheapest reduced houses first, with the drop amount and percentage.
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
- Categories:
- Real estate, Lead generation
Related actors
Latest articles
Use casesAlternative Data: What It Is and How Investors Collect It From the Web
Alternative data is information about companies that doesn't come from the companies themselves: web prices, job posts, reviews, sentiment, filings and politicians' trades. The main types, their public web sources, two real runs joined in Python, costs and compliance rules.
Read the article
AI agentsScrapeGraphAI Tutorial: How It Works, a Tested Setup and a Hosted Alternative
ScrapeGraphAI turns a prompt and a URL into JSON by sending the page to an LLM. We installed version 2.3.1, traced a SmartScraperGraph run node by node, priced its hosted API, and show the Scrape.ly route that returns structured data without paying for LLM tokens on every page.
Read the article
GuidesWhat Is a Cloud Browser? How Hosted Browsers Work and Why Scrapers Use Them
A cloud browser is a web browser that runs on a provider's servers while you control it remotely. The two kinds, how a hosted browser works over CDP (with tested code), local headless vs cloud browser, use cases, real run costs and how providers compare.
Read the article
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.