Skip to content
//Fotocasa Scraper example\\

Valencia rentals with full details, 5 listings

Listings from a pasted search link, with energy rating and more.

Updated November 29, 2026

What this example returns

This example returns up to 5 listings.

The dataset’s “Details” view shows 17 columns: ID, Title, Price €, Energy, kWh/m² year, Emissions, Construction, Condition, Age, Street, ZIP, Latitude, Longitude, Agency ref., Agency website, Phone, and Listing. See every output field.

What each setting does

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

Fotocasa URLs startUrls

https://www.fotocasa.es/es/alquiler/viviendas/zaragoza-capital/todas-las-zonas/l

Fotocasa search pages (any filters you set on the site are kept) or single listing pages. Example: https://www.fotocasa.es/es/comprar/viviendas/madrid-capital/todas-las-zonas/l

Max listings maxItems

5

How many listings to save in total. 0 means no limit. Fotocasa pages through at most about 10,000 listings per search; when a search lists more and you want more, the run reads it again in price ranges, so the whole search can be collected (listings without a price are only reached through the first 10,000).

Default: 10000 → this example uses 5

Open each listing page fetchDetails

Yes

Adds the energy certificate (rating and value), construction type, agency reference and website, decoded features (lift, furnished, occupancy) and the exact street when published. One extra page per listing, so runs take longer.

Default: No → this example uses Yes

.json
{
  "startUrls": [
    "https://www.fotocasa.es/es/alquiler/viviendas/zaragoza-capital/todas-las-zonas/l"
  ],
  "maxItems": 5,
  "fetchDetails": true
}

What it costs

From about $0.0013 for 5 listings

An estimate at the lowest plan price: 5 × $0.0002523 per result (One Fotocasa 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 Fotocasa Scraper readme:

Why is a field empty?

Advertisers fill in different fields. Bedrooms, floor or the exact street are missing when the advertiser did not publish them. Energy fields need fetchDetails.

Other ways to run Fotocasa Scraper

All examples of Fotocasa Scraper

About Fotocasa Scraper

Scrape public Fotocasa.es property listings in Spain from search URLs, listing URLs, or a place name with filters. Get price, rooms, bathrooms, m², floor, address, coordinates, photos, agency and energy certificate.

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

Fotocasa 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.