Spain Catastro API — Cadastral Reference & Official m² avatar

Spain Catastro API — Cadastral Reference & Official m²

Pricing

from $15.00 / 1,000 properties enriched

Go to Apify Store
Spain Catastro API — Cadastral Reference & Official m²

Spain Catastro API — Cadastral Reference & Official m²

Look up Spanish cadastral references and official m² by address, reference, or an Idealista or Fotocasa dataset. Compare listing area with cadastral area where the property can be matched.

Pricing

from $15.00 / 1,000 properties enriched

Rating

0.0

(0)

Developer

RodimuxAI

RodimuxAI

Maintained by Community

Actor stats

0

Bookmarked

7

Total users

4

Monthly active users

13 days ago

Last modified

Features

Limited permissions

Share

Look up Spanish cadastral references and official m² by address, reference, or an Idealista or Fotocasa dataset. Compare listing area with cadastral area where the property can be matched.

Quick start

Run this sample address in Apify Console:

{
"addresses": ["Calle Alfonso I, 1, 50003 Zaragoza"],
"maxItems": 5,
"useCoordinates": false
}

For a batch, pass the dataset ID from a compatible listing Actor in sourceDatasetId. Export the output to CSV and review the reference, matchMethod, sizeComparable and sizeDifferenceM2. A building-level result can identify the building without identifying an individual flat. Review area discrepancies in the context of how each source defines area.

Idealista + Catastro in two steps

  1. Run any Idealista scraper — igolaizola/idealista-scraper, memo23/idealista-scraper — or a Fotocasa, Habitaclia or Milanuncios one.
  2. Paste that run's dataset ID into sourceDatasetId here. Nothing else.

When a compatible listing can be matched, the output includes the original listing fields and the corresponding cadastral data:

{
"input": "Calle de Jaime I, 33, Zaragoza",
"listingUrl": "https://www.idealista.com/inmueble/…/",
"listingPrice": 245000,
"listingSizeM2": 90,
"cadastralReference": "6737502XM7163F0029HW",
"parcelReference": "6737502XM7163F",
"surfaceM2": 76,
"use": "Residencial",
"yearBuilt": 1960,
"address": "CL JAIME I (DON) 33 Es:2 Pl:06 Pt:IZ 50003 ZARAGOZA (ZARAGOZA)",
"matchMethod": "address_building",
"propertiesAtAddress": 14,
"status": "found"
}

When the address points at exactly one property — a house, a plot, a commercial unit — you also get the comparison buyers actually want:

FieldMeaning
plotSurfaceM2Land area of the whole parcel when available, from the official cadastral map, and for plots it's the number that matters
sizeDifferenceM2 / sizeDifferencePctAdvertised m² minus official m² — built area for homes, plot area for land. Listings routinely include terraces and common areas
pricePerOfficialM2Asking price over the official surface, not the advertised one

In a building with many flats the Actor doesn't pretend to know which flat is yours, so sizeComparable is false there.

Hidden addresses. Many Idealista listings hide the street number. Those are matched by the listing's map pin to the nearest parcel, marked matchMethod: "coordinates" with coordinatesDistanceM and a matchNote — never passed off as an exact match. Turn useCoordinates off to get address matches only.

You can also call it by API with the listing objects themselves in addresses, no dataset needed.

Who this is for

  • Land scouts and developers sourcing plots: check the surface a listing claims, before you drive out to see it.
  • Real-estate agencies and portals: verify and normalize a whole portfolio at once.
  • Valuation, lending and insurance: official surface, use and age, at scale.
  • Anyone running a Spanish property scraper: this is the layer that turns listings into verified records.

Three ways in — the third is the point

  1. Addresses as written in a listing: Calle Alfonso I, 1, 50003 Zaragoza. Street type, name, number, postcode and town are parsed for you.
  2. Cadastral references (14 or 20 characters) — exact, no parsing involved.
  3. sourceDatasetId of another Actor. Run any Idealista / Fotocasa / Milanuncios scraper, paste that run's dataset ID, and addresses are read straight from it. No CSV export, no copying columns.

Land mode: one record per parcel

A street number returns every property in the building — one per flat. With parcelLevel on (the default) you get the parcel once, which is what matters for land, and you're charged once. Turn it off when you want every individual unit.

It asks the Cadastre how it spells things

Spanish addresses don't match the Cadastre's own spelling, and that's the single biggest source of failure. Before looking anything up, this Actor resolves the street against the official street index:

A listing writesThe Cadastre stores
Calle Mariano LagascaCL LAGASCA, MARIANO — surname first
Calle Gran Vía (Zaragoza)PS GRAN VIA (RAMON Y CAJAL) — it's a paseo, not a street

That normalization alone took the hit rate from 55% to 68%.

Hit rate, measured — not promised

68% on 20 real listing-style addresses across Zaragoza, Madrid and Valencia (30 July 2026). Cadastral references avoid street-name and street-number matching.

The remaining failures are almost entirely "street exists, that number doesn't". The Actor reports that instead of guessing. It will never snap to a nearby street number: a different number is a different building. The only fallback is the listing's own map pin (when the input has coordinates), and those records say so in matchMethod.

You only pay for records actually delivered. Addresses that don't resolve cost you nothing.

Input

FieldDefaultWhat it does
addresses—Spanish addresses, as written in listings
cadastralReferences—Cadastral references (14 or 20 chars)
sourceDatasetId—Dataset ID of an Idealista / Fotocasa / any real-estate scraper run
sourceDatasetFieldautoField holding the address (autodetected)
province / municipality—Force them when addresses omit the town
parcelLeveltrueOne record per parcel instead of per unit
useCoordinatestrueFall back to the listing's map pin when the address can't be matched
maxItems200Cap per run

Pricing

EventWhen you're charged
Property enrichedOnly when the Cadastre returns an actual record

Limits, up front

  • No ownership data. Owner names are protected under Spanish law and this service does not serve them. What you get is the unprotected cadastral data: surface, use, situation, constructions. If you need to know who owns it, this Actor is not what you want.
  • No buildability. The Cadastre states the current use, not what the municipal plan allows you to build. That's the number a land scout most wants, it lives in scattered municipal planning documents, and it is not in here.
  • Rural parcels follow a different query branch and are less reliable than urban ones in this version.
  • The Cadastre's service is a free public API. This Actor caches by reference, keeps concurrency low and backs off — please don't hammer it.

Source

Official data from the Sede Electrónica del Catastro (Spanish Ministry of Finance), servicio de consulta libre — the public, unauthenticated endpoint for unprotected cadastral data. Reuse of Spanish public-sector information is governed by Ley 37/2007.