# LatAm Datos API – Ecuador Cédula Validation

> LatAm Datos API – Ecuador Cédula Validation is a paid API for AI agents from latam-datos-api.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Validates an Ecuadorian national ID (cédula) and returns whether it is valid plus the province code encoded in it

## Facts

- Endpoint: GET https://latam-datos-api.onrender.com/ec/validar/cedula
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/latam-datos-api-ecuador-c-dula-validation-d21da1c2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_U8exyCVPYDxrIliUMDUKc

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 latam-datos-api-ecuador-c-dula-validation-d21da1c2
```

Example prompt: Can you check whether the Ecuadorian cédula 1713175071 is valid and tell me which province it belongs to?

## When to prefer this

Use this endpoint when you need to programmatically validate an Ecuadorian national identity number (cédula) and optionally extract the province of issuance, particularly in KYC, onboarding, or compliance workflows targeting Ecuador. It is purpose-built for LatAm emerging markets and pays per query via USDC x402, making it ideal for low-volume or agent-driven use cases without subscription overhead.

## Known failure modes

- Missing or malformed 'valor' query parameter returns an error response
- Non-10-digit input treated as invalid cédula
- Payment not included or insufficient USDC via x402 results in 402 Payment Required
- Service may be temporarily unavailable on Render free-tier cold starts

## How this service works

Datos de mercados emergentes para agentes: FX LatAm, inflacion, tasas de bancos centrales, feriados, validacion de IDs fiscales/bancarios, IVA y salarios minimos. Pago por consulta via x402 v2 (USDC en Base).

## Output

A JSON object with a boolean field 'valido' indicating whether the cédula passes algorithmic and structural validation, and an integer field 'provincia' encoding the province number extracted from the ID (e.g. {"valido": true, "provincia": 17}).

## 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": [
      "valor"
     ],
     "properties": {
      "valor": {
       "type": "string",
       "description": "cedula de 10 digitos"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "valido": true,
  "provincia": 17
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/latam-datos-api-ecuador-c-dula-validation-d21da1c2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from latam-datos-api.onrender.com](https://www.zero.xyz/host/latam-datos-api.onrender.com/llms.txt)
