Spain's cadastre API is SOAP from 2003, so I built a JSON wrapper (+MCP)
6 hours ago
- #spanish-catastro
- #real-estate-api
- #proptech
- Predio API provides structured, machine-readable access to Spanish land registry data, converting complex SOAP/XML from the official Catastro into clean JSON.
- Three query methods are available: by 20-character reference code (RC), coordinates (lat/lon), or address (province, municipality, street, number), all returning normalized data like class, use, built area, year, and address breakdown.
- Offers both REST API (versioned /v1 endpoint) and MCP (Model Context Protocol) server for AI agents, with errors returned in JSON and features like serve-stale for resilience when the official source is down.
- Pricing is usage-based with credits: 1 credit per successful response; a free tier provides 250 credits/month without a card, followed by prepaid packs ranging from 5€ (2,500 credits) to 99€ (150,000 credits).
- Covers the common territory of Spain (urban and rural properties), excluding the Basque Country and Navarre due to their own regional registries; data is public and reusable under the DGC license, though Predio is an unofficial service.