Fotocasa Scraper for Listings, Prices and Agencies

Fotocasa carries sale, rental and obra nueva stock across every Spanish provincia. We run the crawl, resolve the duplicates its sibling portals create, and hand over clean files.

Plans from €169 a month · Free project assessment · Reply within 1 business day

CSV · Excel · JSON · XML · FTP · SFTP · Amazon S3 · Google Cloud

fotocasa.es
Fotocasa Scraper for Listings, Prices and Agencies
fotocasa.eswhat you get
Typical fields for property portals
addresspriceproperty_typebedroomsarea_m2agentlisted_at
Delivery

API, JSON feed or CSV, XLSX and JSON files

Schedule

One-time, monthly, weekly, daily or 3 times a day

Delivery, schedule and scope

  1. You send

    Fotocasa pages, filters, fields and a schedule

  2. We run the scrapers

    Built, monitored and repaired by our team

  3. You receive the data

    API, JSON feed or CSV, XLSX and JSON files

You describe the slice: an operation, a set of provincias or municipios, and any filter that matters, such as obra nueva only or particular only. We build the crawler, show you a sample, then run it at the cadence you choose - once, weekly, daily or several times a day.

Output is CSV, JSON, XLSX, a database load or an API endpoint, on a stable schema, so a Fotocasa file drops into the same table as habitaclia or Milanuncios rows. On request, each delivery can also mark new, changed and withdrawn adverts, so you do not have to reconcile full files yourself.

We maintain the parsers. When Fotocasa changes its markup, that is our repair, not your broken pipeline.

Fields we extract from a Fotocasa advert

Everything below is read from the public advert. A Fotocasa detail URL looks like /es/comprar/vivienda/madrid-capital/calefaccion-terraza-ascensor-no-amueblado/190139046/d, where the slug before the id is built from features rather than the address.

  • Identity - numeric listing id, canonical URL, operation, property type, and the advertiser's own Referencia code shown beside the contact block.
  • Precio (price) - asking price in euros, price per square metre, and the reduction behind the Precio rebajado (price reduced) badge.
  • Superficie (floor area) in square metres, plus Superficie de terreno (plot area) where present.
  • Habitaciones (bedrooms) and Baños (bathrooms) as integers.
  • Planta (floor) as the enumerated value Fotocasa stores: Sótano, Bajos / Planta baja, Entresuelo, Principal, 1a Planta upward, or Ático.
  • Antigüedad (age) as a band rather than a year: Menos de 1 ano, 1 a 5 anos, 5 a 10 anos and up through 70 a 100 anos, + 100 anos or No especificado.
  • Estado (condition) - A reformar, Bien, Muy bien, Reformado or Casi nuevo.
  • Certificado energetico (energy certificate) - the A to G letter, Consumo in kW h m2 / ano, Emisiones in kg CO2 m2 / ano, and the states Exento, En tramite and Desconocido.
  • Gastos de comunidad (service charges), including the Gastos de comunidad incluidos flag on rental adverts.
  • Extras as boolean columns - Ascensor, Calefaccion, Terraza, Trastero, Parking, Amueblado.
  • Location - provincia, zona, municipio, distrito, plus latitude and longitude with the accuracy value attached to them.
  • Advertiser - agency name, agency microsite URL, clientId, and the clientTypeId that separates a particular (private seller) from an inmobiliaria (agency).
  • Media and text - photo, floor plan and virtual tour URLs, and the original description.
Fields we extract from a Fotocasa advert
What Fotocasa scraping has to handle

What Fotocasa scraping has to handle

Search URLs follow a fixed grammar: /es/{operation}/{property type}/{municipio}/{distrito}/l, with /l/2 and upward for pages. Geography occupies two slots, so /es/comprar/viviendas/madrid-capital/chamberi/l is a distrito query and /es/comprar/viviendas/andalucia/todas-las-zonas/l is a comunidad autonoma query. Slugs are exact: cataluna and madrid-provincia resolve, comunidad-de-madrid does not. Private-seller stock has its own path: particulares inserted ahead of the location and the path ending /pl instead of /l. Obra nueva is a segment appended before /l, and those adverts carry a promotionId as well as a listing id, because many units share one development.

Two behaviours break naive crawlers. Paging past the end of a result set does not fail. A Madrid search reporting 11,259 results runs out at page 376, and pages 400 and 1000 simply repeat page 376 instead of ending. And an expired advert is never reported as missing. It redirects to that municipality's search page with the parameter propertyNotFound appended, so a dead advert can be recorded as live and a result grid parsed as a property.

We throttle by design, and proxy rotation, CAPTCHA handling and rendering are part of the service. Every advert reached through the grid yields the full row: listing id, precio, superficie, habitaciones, baños, certificado energetico and the advertiser block.

What Fotocasa is, and who owns it now

Source
fotocasa.es
Category
property portals
Delivery
API, JSON feed, CSV, XLSX
Plans
From €169 a month
Get a quote

Fotocasa is a Spanish property portal at fotocasa.es. It splits inventory by operation: comprar (sale), alquiler (rental), compartir (room shares), alquiler-vacacional (holiday lets) and obra nueva (new build). In August 2026, the national sale grid reported 469,842 viviendas (homes), the rental grid 48,495 and the room-share grid 46,978. Andalucia showed 116,365 homes for sale and Cataluña 90,749.

Ownership matters before you plan a crawl. Fotocasa and habitaclia both came out of Adevinta Spain. EQT acquired Adevinta Spain, then sold the two property portals on to Scout24, which closed that purchase in March 2026. Milanuncios stayed behind with the rest of Adevinta Spain. The corporate split did not break the plumbing. The Fotocasa Pro back office still publishes an agency's stock to Fotocasa, habitaclia and Milanuncios from one place, so a single flat can surface on three portals under three unrelated identifiers.

Fotocasa also publishes an aggregate indice inmobiliario (property index) at /es/indice-precio-vivienda/, reporting average price per square metre by provincia. That series can be collected as well, so a provincia average can sit next to the advert-level rows.

25Developers
500+Customers
1.5BPages extracted
15,000+Hours saved for our clients

Fotocasa scraping plans and pricing

Airplane

€199one-time

Setup fee included

100,000
One-time
Up to 5 days
7 days

Helicopter

€169/ mo

Setup fee €499

250,000
Monthly
Up to 5 days
14 days

Glasses

€229/ mo

Setup fee €499

1,000,000
Weekly
Up to 5 days
30 days

Microscope popular

€349/ mo

Setup fee €499

2,000,000
Daily
Same day
60 days

DNA

€549/ mo

Setup fee €799

3,000,000
3 times daily
Same day
90 days

Delivery: CSV, JSON or XLSX files, our API or a JSON feed. MCP server on request.

Full plan details

Why teams scrape Fotocasa

The first reason is coverage. A Spanish market model built on one portal inherits that portal's blind spots, and Fotocasa stock is not the same set its competitors hold. Analysts pull Fotocasa data to widen a comparables pool, to price a provincia they do not trade in, and to watch what an asking price does between publication and withdrawal.

The second reason is duplication, and it is where a Fotocasa scraper earns its cost. Fotocasa itself flags the problem: a detail page can carry a block headed Varias inmobiliarias han publicado este anuncio, meaning several agencies have published the same advert. Because Fotocasa Pro pushes one agency's stock to habitaclia and Milanuncios too, the duplicate lives across portals as well as inside this one. Counting adverts instead of properties inflates apparent supply, drags price per square metre averages around, and makes an agency look larger than its real book.

We resolve it rather than ignore it. Matching runs on coordinates, superficie, room and bathroom counts, the advertiser Referencia and description fingerprints. Each delivery carries an advert-level row and a resolved property key, and you decide which one your model counts.

Working with ScrapeIt

ScrapeIt is a managed web scraping agency. We build, run and maintain the crawlers, and you receive data rather than code. Scoping, sample review, scheduled delivery and ongoing repair sit with us.

Output is limited to listing and commercial data. Property adverts can name private sellers and individual agents, so personal contact details can be excluded on request, and any personal data left in scope is handled under the GDPR. We work to written scope and sign NDAs.

FAQ

Still unsure? Write to info@scrapeit.io

Do you offer a Fotocasa API?

Yes. The ScrapeIt Fotocasa API returns listing id, asking price, price per square metre, superficie, habitaciones, certificado energetico and the particular or inmobiliaria flag as JSON from an endpoint we host, refreshed on the schedule you set. The same Fotocasa data also comes as CSV or XLSX files or straight into your database.

Can you separate particular listings from inmobiliaria listings?

Yes. Each advert carries a clientTypeId that distinguishes a particular, meaning a private seller, from an inmobiliaria, meaning an agency. Fotocasa also runs a dedicated private-seller path where particulares sits ahead of the location and the URL ends /pl rather than /l. Professional adverts link to an agency microsite carrying a clientId, so one agency's whole Fotocasa inventory can be pulled and compared between runs to see what rotated in and out. We ship the flag as a column.

How do you handle the same property appearing on Fotocasa, habitaclia and Milanuncios?

By matching, not by guessing. There is no shared identifier: a Fotocasa advert is a numeric id inside a /{id}/d path, while a habitaclia advert carries its own key in an address built from street, district and municipality, so the id does not carry across even though one back office feeds both. We match on coordinates, superficie, room and bathroom counts, the advertiser Referencia code and description fingerprints, then emit a resolved property key alongside the per-portal advert rows. You can count adverts or properties, and the two numbers differ.

What happens when a Fotocasa listing expires or is sold?

It stops resolving, but the site never says so. A listing id that no longer exists redirects to that municipality's search page with the parameter propertyNotFound appended. A crawler that trusts the response will treat the advert as live and parse a search grid as if it were a property. Our runs follow the redirect, detect the parameter and mark the advert withdrawn with the date it stopped resolving.

How much Fotocasa data can you collect, and how often?

Scope is set by geography and operation rather than one national sweep. On 27 August 2026 the national sale grid reported 469,842 homes, so we slice by provincia, municipio and distrito, and by price band where a slice is still deep. That keeps each query shallow, which matters because page numbers past the end of a result set silently repeat the final page. Frequency is yours: a one-off snapshot, or daily runs where price changes and withdrawals are the point.

How it works

  1. 1

    Make a request

    You share your needs, expectations, and desired timeframe. We'll suggest the best solution based on your request and budget.

  2. 2

    We configure the crawlers

    Our specialists configure the crawlers and extract a sample dataset for your review before proceeding with the full-scale extraction.

  3. 3

    Collect and deliver

    Once you approve the sample, we launch the project and start full data collection. We gather, filter, and structure the data for easy use, delivering it on time in your preferred format.

  4. 4

    Maintain and support

    Our team manages ongoing processes, monitors website changes, and supports all data extraction cycles. We can also help integrate data into your systems or create dashboards to simplify analysis.

Request a quote

Tell us which sites, which fields and how often. A couple of lines is enough to start.

  • We reply within 1 business day
  • A sample dataset before the full run
  • We sign an NDA on request
  • Delivery by API, JSON feed or files
Which sites, which fields, how often. A couple of lines is enough.

This form is protected by Google reCAPTCHA, which loads when you start filling it in; the Google Privacy Policy and Terms of Service apply. If you prefer not to use it, email us at info@scrapeit.io. Privacy & Cookie Policy

We reply within 1 business day. No obligation.

Fotocasa data from €169/month. Free project assessment, reply within 1 business day.