# Spain Cadastre Municipality Lookup by Province

> Spain Cadastre Municipality Lookup by Province is a paid API for AI agents from api.jobsproperty-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-29).

Returns a list of municipalities in a Spanish province with their official Catastro (cadastral) codes, using the public OVCCallejero web service.

## Facts

- Endpoint: GET https://api.jobsproperty-api.workers.dev/api/realestate/catastro-spain-property?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/spain-cadastre-municipality-lookup-by-province-488d5782
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UU4QkPnStwrLL-KSHyxLm

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability spain-cadastre-municipality-lookup-by-province-488d5782
```

Example prompt: Can you look up the official Spanish Cadastre code for the municipality of GETAFE in the province of MADRID?

## When to prefer this

Use this endpoint when you need official Spanish Cadastre municipality identifiers (Catastro codes) for a known province, particularly as a prerequisite step before a property-level cadastral lookup. Prefer this over general geocoding APIs when you specifically need the official Spanish government cadastral reference codes recognized by the Dirección General del Catastro.

## Known failure modes

- Province name not recognized — must be uppercase Spanish name (e.g. MADRID, BARCELONA)
- Municipality not found within the specified province
- OVCCallejero upstream service unavailable or rate-limited
- Missing required parameters (province or municipality) returns an error
- Non-Spanish provinces or municipalities return no results

## How this service works

Official Spanish Cadastre (Catastro) lookup: municipalities of a province with their Catastro codes, from the public OVCCallejero web service. Municipality level only; a property-level lookup needs a cadastral reference, which this tool does not take.

## Output

A list of municipalities within the specified Spanish province, each including the municipality name and its official Catastro (cadastral) code as registered in the OVCCallejero public web service. This is municipality-level data only; property-level details require a separate cadastral reference lookup.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "province",
      "municipality"
     ],
     "properties": {
      "province": {
       "type": "string",
       "description": "Province name in Spanish, uppercase, e.g. MADRID or BARCELONA"
      },
      "municipality": {
       "type": "string",
       "description": "Municipality name, e.g. MADRID or BARCELONA"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/spain-cadastre-municipality-lookup-by-province-488d5782/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.jobsproperty-api.workers.dev](https://www.zero.xyz/host/api.jobsproperty-api.workers.dev/llms.txt)
