frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Spain's cadastre API is SOAP from 2003, so I built a JSON wrapper (+MCP)

https://prediohq.com/
14•guillermofc•4h ago

Comments

guillermofc•4h ago
Spain's cadastre (the official property registry for land/buildings data) has a free public API. The catch: it's SOAP/.asmx-era XML with three different services depending on your input (reference, coordinates, or address), four different response shapes discriminated by a counters block, business errors returned as HTTP 200 with the error inside the XML, infra errors as HTTP 500 text/plain, decimal commas ("100,000000"), and no documented rate limits or SLA.

I wrote up everything I hit while integrating it (applies even if you never use my product): https://prediohq.com/guias/consumir-api-catastro-soap-json/

Predio is the wrapper I built on top: one JSON contract for the three inputs, typed stable errors (404/422/402 always JSON), cache with serve-stale so the upstream's availability isn't yours, and an MCP server (Streamable HTTP) so agents can call it directly. Prepaid per-call pricing, 250 calls/month free, no subscription.

Honest caveats: Spain only (and not the Basque Country/Navarre, which run their own foral cadastres); no ownership data (that's legally protected); if you need one lookup a month, just use the official site — I wrote a comparison that includes "when not to use us": https://prediohq.com/guias/api-catastro-comparativa/

Happy to answer anything about wrangling government SOAP into something agents can use.

loloquwowndueo•54m ago
Wow even the HN intro comment is slop.

Also - I’m a native Spanish speaker, it’s probably the first slop page in Spanish I’ve ever seen and it’s … painful. Do your users a favor and please go through it and do some human-driven copy editing. As is this is barely intelligible.

nickphx•38m ago
those honest caveats though.. lol
mejutoco•37m ago
I had to check

> Esta guía es para cuando quieres meterla en producción

This sounds pretty inappropriate, and a bit funny.

khalic•1h ago
I still get nightmares from SOAP…
MarkSweep•39m ago
Wake from that nightmare and wrap your angle brackets with MCP so you can start hallucinating:

https://github.com/AustinWise/mcp2ws

(This program is for comedy purposes only)

Waterluvian•1h ago
GIS APIs using SOAP are often going to be ArcGIS Server based APIs. If I recall correctly, you can literally just check a box to expose a REST API as well. SOAP was also just a checkbox.

Organic Maps

https://organicmaps.app/
223•tosh•2h ago•54 comments

Introduction to Compilers and Language Design

https://dthain.github.io/books/compiler/
135•AlexeyBrin•4h ago•16 comments

Run Windows 2000 on a DEC Alpha with a new es40 fork

https://raymii.org/s/blog/Run_Windows_2000_for_Dec_Alpha_on_a_new_es40_fork.html
26•jandeboevrie•2h ago•5 comments

Airplane Boneyards List and Map

https://airplaneboneyards.com/airplane-boneyards-list-and-map.htm
32•hyperific•1d ago•3 comments

Medieval-style fortifications are back in the Sahel

https://www.economist.com/middle-east-and-africa/2026/06/25/medieval-style-fortifications-are-bac...
41•andsoitis•4d ago•25 comments

Shadcn/UI now defaults to Base UI instead of Radix

https://ui.shadcn.com/docs/changelog
226•dabinat•11h ago•118 comments

Rayfish, Peer-to-peer mesh VPN with no server to trust

https://rayfish.xyz/blog/01-introducing-rayfish
21•captain_dfx•4d ago•7 comments

Pandoc Lua Filters

https://pandoc.org/lua-filters.html
112•ankitg12•2d ago•10 comments

Solar rail could become common in Europe after successful trial in Switzerland

https://www.euronews.com/2026/07/05/italy-could-be-the-next-country-to-build-a-solar-railway-afte...
23•neilfrndes•1h ago•9 comments

Phosh 0.56.0

https://phosh.mobi/releases/rel-0.56.0/
115•edward•2h ago•34 comments

The GNU Emacs Architecture: Unlocking the Core [pdf]

https://www.diva-portal.org/smash/get/diva2:2052282/FULLTEXT01.pdf
127•cenazoic•4d ago•8 comments

Show HN: KiCad in the Browser

https://demo.pcbjam.com/
46•ViktorEE•4h ago•20 comments

Cannabis Users Face Substantially Higher Risk of Heart Attack (2025)

https://www.acc.org/about-acc/press-releases/2025/03/17/15/35/cannabis-users-face-substantially-h...
97•RickJWagner•4h ago•120 comments

Trust your compiler: Modern C++

https://categorica.io/blog/2026.06.29_trust_your_compiler/
51•foxhill•4d ago•30 comments

Fast Software, the Best Software (2019)

https://craigmod.com/essays/fast_software/
91•ustad•8h ago•49 comments

If you're a button, you have one job

https://unsung.aresluna.org/if-youre-a-button-you-have-one-job/
426•nozzlegear•14h ago•211 comments

Knowledge Should Not Be Gated

https://www.formaly.io/blog/knowledge-should-not-be-gated
65•nezhar•8h ago•43 comments

Megawatts by Microwave

https://computer.rip/2026-07-04-microwave-and-power.html
58•eternauta3k•10h ago•5 comments

Moby Dick Workout (2022)

https://www.hogbaysoftware.com/posts/moby-dick-workout/
83•helloplanets•11h ago•27 comments

EU Council forces Chat Control via fast-track

https://www.heise.de/en/news/Chat-Control-1-0-EU-Council-forces-messenger-scans-via-fast-track-11...
96•stavros•4h ago•26 comments

Command and Conquer Generals natively ported to macOS, iPhone, iPad using Fable

https://github.com/ammaarreshi/Generals-Mac-iOS-iPad/tree/main
620•asronline•20h ago•261 comments

Artful Cats: Feline-Inspired Art and Artifacts

https://www.si.edu/spotlight/art-cats
72•jruohonen•3d ago•5 comments

Meta's Un-Stable Signature

https://hackerfactor.com/blog/index.php?/archives/1098-Metas-Un-Stable-Signature.html
124•ementally•3d ago•20 comments

Atomic Force Microscope [video]

https://www.youtube.com/watch?v=DyIQkqBXhS0
106•mhb•2d ago•15 comments

The Log is the Agent

https://arxiv.org/abs/2605.21997
82•iacguy•13h ago•29 comments

“Beyond the limit”: Satellites and mirrors in space pose threat to the night sky

https://www.eso.org/public/news/eso2607/
182•Breadmaker•23h ago•290 comments

Functional Programming in hica

https://www.hica.dev/docs/functional-programming/
38•cladamski79•3d ago•9 comments

GPT-5.5 Codex reasoning-token clustering may be leading to degraded performance

https://github.com/openai/codex/issues/30364
332•maille•18h ago•133 comments

About the Digital Art

https://www.tricivenola.com/about-the-digital-art/
28•NaOH•3d ago•11 comments

Autonomous flying umbrella follows and shields users from rain and sunlight

https://www.designboom.com/technology/autonomous-flying-umbrella-follows-users-rain-sunlight-i-bu...
3•amichail•28m ago•1 comments