Skip to content
Eden Engine

Spanish Address Geocoder Candidates (CartoCiudad)

cartociudadgeocoder/geocode-address

Geocodes a free-text Spanish address or place name: returns the best-matching candidates from the CartoCiudad register with display address, feature type (street number, street, locality), municipality, province, postal code, latitude, longitude and, for street numbers, the cadastral reference. An address with no match returns an empty list. Data from CartoCiudad (Instituto Geográfico Nacional), passed through and served by Eden Engine; not an official IGN product.

activeper callv1

Price

$0.0026 per call

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $0.50.

Data source

CartoCiudad, Instituto Geográfico Nacional de España

Data from CartoCiudad, © Instituto Geográfico Nacional / Centro Nacional de Información Geográfica (IGN / CNIG), www.cartociudad.es. Credit offered as a courtesy. Served by Eden Engine; not an official IGN or CNIG product.

Use it

Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.

Connect once and your AI can find and run this tool, and any other it needs.

agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "cartociudadgeocoder/geocode-address" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "cartociudadgeocoder/geocode-address" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "cartociudadgeocoder/geocode-address", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "cartociudadgeocoder/geocode-address", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0026
Updated
Oct 21, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "q"
  ],
  "properties": {
    "q": {
      "type": "string",
      "maxLength": 200,
      "minLength": 3,
      "description": "The address or place name in free text, for example calle mayor 1 madrid or Plaza del Pilar Zaragoza."
    },
    "limit": {
      "type": "integer",
      "default": 10,
      "maximum": 20,
      "minimum": 1,
      "description": "How many candidates to return, 1 to 20. Defaults to 10."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "results"
  ],
  "properties": {
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ],
            "description": "CartoCiudad feature id."
          },
          "lat": {
            "type": [
              "number",
              "null"
            ],
            "description": "Latitude, WGS 84 degrees."
          },
          "lng": {
            "type": [
              "number",
              "null"
            ],
            "description": "Longitude, WGS 84 degrees."
          },
          "geom": {
            "type": [
              "string",
              "null"
            ],
            "description": "WKT geometry when the service sends one (a POINT for a reverse lookup), else null."
          },
          "muni": {
            "type": [
              "string",
              "null"
            ],
            "description": "Municipality."
          },
          "type": {
            "type": [
              "string",
              "null"
            ],
            "description": "Feature type: portal (street number), callejero (street), poblacion (locality), municipio and others."
          },
          "address": {
            "type": [
              "string",
              "null"
            ],
            "description": "Display address."
          },
          "tip_via": {
            "type": [
              "string",
              "null"
            ],
            "description": "Street type, for example CALLE."
          },
          "muniCode": {
            "type": [
              "string",
              "null"
            ],
            "description": "INE municipality code."
          },
          "province": {
            "type": [
              "string",
              "null"
            ]
          },
          "extension": {
            "type": [
              "string",
              "null"
            ]
          },
          "poblacion": {
            "type": [
              "string",
              "null"
            ]
          },
          "postalCode": {
            "type": [
              "string",
              "null"
            ]
          },
          "countryCode": {
            "type": [
              "string",
              "null"
            ]
          },
          "portalNumber": {
            "type": [
              "integer",
              "null"
            ]
          },
          "provinceCode": {
            "type": [
              "string",
              "null"
            ]
          },
          "refCatastral": {
            "type": [
              "string",
              "null"
            ],
            "description": "Cadastral reference of the property, when known."
          },
          "comunidadAutonoma": {
            "type": [
              "string",
              "null"
            ],
            "description": "Autonomous community."
          },
          "comunidadAutonomaCode": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "additionalProperties": true
      }
    }
  },
  "description": "The candidate matches, best first. An empty list means no match.",
  "additionalProperties": true
}