{"uid":"cap_5_Fwyu_eEtfug7Ly_jxx9","slug":"spain-reverse-geocoder-cartociudad-ign-79676726","name":"Spain Reverse Geocoder (CartoCiudad/IGN)","description":"Nearest address to coordinates in Spain with the official CartoCiudad reverse geocoder (IGN): street and number, postcode, municipality, INE code, province, region and cadastral reference.","url":"https://api.vextorium.com/geocodificar-inverso-es-pago?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["lat","lon"],"properties":{"lat":{"type":"number"},"lon":{"type":"number"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":["object","null"],"properties":{"lat":{"type":["number","null"]},"lon":{"type":["number","null"]},"tipo":{"type":["string","null"]},"fuente":{"type":["string","null"]},"numero":{"type":["number","null"]},"comunidad":{"type":["string","null"]},"direccion":{"type":["string","null"]},"municipio":{"type":["string","null"]},"provincia":{"type":["string","null"]},"codigo_ine":{"type":["string","null"]},"codigo_postal":{"type":["string","null"]},"referencia_catastral":{"type":["string","null"]}}}}}}},"responseSchema":{"type":"json","example":{"lat":40.41652681555059,"lon":-3.703787669080751,"tipo":"portal","fuente":"CartoCiudad (IGN/CNIG, CC BY 4.0)","numero":7,"comunidad":"Comunidad de Madrid","direccion":"PUERTA DEL SOL","municipio":"Madrid","provincia":"Madrid","codigo_ine":"28079","codigo_postal":"28012","referencia_catastral":"0444101VK4704C"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_laFDPigG8H8p7LTmhaVGV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the nearest address in Spain for a given lat/lon coordinate using the official CartoCiudad reverse geocoder, including street, number, postcode, municipality, INE code, province, region, and cadastral reference.","exampleAgentPrompt":"What is the official street address at coordinates 40.41652, -3.70378 in Spain? I need the full address including postcode, municipality, province, and cadastral reference.","exampleUseCases":[{"title":"GPS track address annotation","prompt":"I have a GPS coordinate from a delivery stop in Spain — latitude 41.3851, longitude 2.1734 — can you tell me the full official address there, including street name and number, postcode, and municipality?"},{"title":"Cadastral reference lookup from map click","prompt":"Someone clicked on a map at coordinates 37.3886, -5.9823 in Spain. What is the cadastral reference and official address at that exact point?"},{"title":"Geotagged photo location identification","prompt":"A photo was taken at lat 43.2627, lon -2.9253 in Spain. What is the nearest registered address there — street, number, postcode, and which autonomous community is it in?"}],"resultDescription":"A JSON object containing the resolved address details: latitude and longitude of the matched point, address type (tipo), street name (direccion), house number (numero), postal code (codigo_postal), municipality (municipio), INE municipal code (codigo_ine), province (provincia), autonomous community (comunidad), cadastral reference (referencia_catastral), and data source attribution (fuente: CartoCiudad IGN/CNIG CC BY 4.0).","failureModes":["Coordinates outside Spain return no result or null fields","Very remote or rural coordinates may return nearest road rather than a numbered address","Coastal or sea coordinates will fail to match any address","Malformed or out-of-range lat/lon values cause validation errors","Temporary CartoCiudad API outages may cause upstream failures"],"whenToPreferThis":"Choose this endpoint when you need official, authoritative Spanish address data from IGN's CartoCiudad dataset, especially when you require cadastral references or INE codes alongside the street address. It is specifically scoped to Spain and provides richer administrative metadata than general-purpose geocoders like Google Maps or Nominatim.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:41:19.451Z","isFirstParty":false,"canonicalSlug":"spain-reverse-geocoder-cartociudad-ign-79676726"}