# Spanish CCC / IBAN Validator

> Spanish CCC / IBAN Validator is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-13).

Validates a 20-digit Spanish CCC bank account number (including both check digits), identifies the bank name, and computes the equivalent IBAN; also parses and validates Spanish IBANs.

## Facts

- Endpoint: POST https://api.vextorium.com/validar-ccc-pago?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/spanish-ccc-iban-validator-d56b5e4b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5V0dVXmcJLxP7tBF4_b_7

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 spanish-ccc-iban-validator-d56b5e4b -d '<json body>'
```

Example prompt: Can you validate this Spanish bank account number for me — 21000418450200051332 — and tell me if it's valid, which bank it belongs to, and what the IBAN would be?

## When to prefer this

Use this endpoint when you need to validate Spanish domestic bank account numbers (CCC format) or Spanish IBANs, identify the issuing bank, or convert between CCC and IBAN formats. All computation is local with no data stored, making it suitable for privacy-sensitive contexts. Prefer this over generic IBAN validators when you specifically need Spanish CCC check-digit validation and bank identification.

## Known failure modes

- CCC is not exactly 20 digits — validation fails with invalid input error
- Check digits do not match — returns valido: false
- Unknown entity code — bank name may be null or unrecognized
- Malformed Spanish IBAN (wrong country code or length) — parsing fails
- Non-Spanish IBAN passed — not supported, unexpected result or error

## How this service works

Validate a Spanish bank account number (20-digit CCC) with both check digits, identify the bank and compute its IBAN; also breaks down a Spanish IBAN. Computed locally; nothing stored.

## Output

Returns a JSON object with the full CCC, computed IBAN (raw and formatted), bank name, entity code, branch code, control digits, account number, and a boolean indicating whether the account number is valid.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "ccc": {
   "type": "string",
   "description": "20-digit CCC or Spanish IBAN"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ccc": "21000418450200051332",
  "iban": "ES9121000418450200051332",
  "banco": "CaixaBank",
  "valido": true,
  "entidad": "2100",
  "oficina": "0418",
  "numero_cuenta": "0200051332",
  "digitos_control": "45",
  "iban_formateado": "ES91 2100 0418 4502 0005 1332"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/spanish-ccc-iban-validator-d56b5e4b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vextorium.com](https://www.zero.xyz/host/api.vextorium.com/llms.txt)
