# LatAm Datos API – Chilean RUT Validator

> LatAm Datos API – Chilean RUT Validator 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 a Chilean RUT (tax ID) including its check digit and returns whether it is valid

## Facts

- Endpoint: GET https://latam-datos-api.onrender.com/cl/validar/rut
- 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-chilean-rut-validator-d3e43d98
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yBznnc2EpFay0_-2zq-jC

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-chilean-rut-validator-d3e43d98
```

Example prompt: Can you check whether the Chilean RUT 12.345.678-9 is valid?

## When to prefer this

Use this endpoint when you need to validate Chilean RUT numbers specifically, especially for KYC flows, invoicing, or any onboarding process requiring Chilean fiscal ID verification. Prefer this over generic regex checks because it implements the actual Chilean modulo-11 check digit algorithm. This endpoint is pay-per-call via USDC micropayment (x402), making it suitable for lightweight agent workflows without subscription overhead.

## Known failure modes

- Missing or malformed 'valor' query parameter returns an error or invalid response
- RUT submitted without check digit may cause unexpected validation logic
- Network timeout from Render.com cold start delays
- Non-Chilean tax IDs (e.g. Argentine CUIT) will not be validated correctly
- Incorrectly formatted RUT strings (e.g. missing dash) may return false negatives

## 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

Returns a JSON object with a single boolean field 'valido' indicating whether the submitted RUT (including its check digit) is structurally valid according to Chilean tax authority rules.

## 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": "RUT con digito verificador"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/latam-datos-api-chilean-rut-validator-d3e43d98/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)
