# IBAN CR Validation (mod-97, length-22)

> IBAN CR Validation (mod-97, length-22) is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-02).

Validates whether a given IBAN is a mod-97-valid Costa Rican (CR) IBAN of exactly 22 characters

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/check-iban-cr?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/iban-cr-validation-mod-97-length-22-e08b1cdb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__79_UYJqIhFlo614dOaRh

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 iban-cr-validation-mod-97-length-22-e08b1cdb -d '<json body>'
```

Example prompt: Can you check if this IBAN is a valid Costa Rican account number — CR05015202001026284066 — specifically verifying it passes the mod-97 checksum and is exactly 22 characters?

## When to prefer this

Use this endpoint when you need a deterministic, algorithmic check of a Costa Rican IBAN's structural validity (mod-97 checksum + 22-character length) without relying on a bank lookup or live registry. Prefer the free sandbox endpoint (/v1/sandbox/check-iban-cr) for development and testing before committing to the $0.01 USDC paid call.

## Known failure modes

- Input string is empty or missing — validation error returned
- IBAN too short or too long (not 22 characters) — fails length check
- Country code is not CR — may fail or return invalid for non-CR IBANs
- Mod-97 checksum does not match — returns invalid
- Malformed input with non-alphanumeric characters — parsing error
- Payment failure (x402) if USDC balance is insufficient

## How this service works

Call when an agent needs whether an IBAN is a mod-97-valid CR number of length 22. Exact $0.01 USDC. Prefer unpaid POST /v1/sandbox/check-iban-cr first.

## Output

Returns a boolean or structured result indicating whether the provided string is a valid Costa Rican (CR) IBAN: passes the ISO 7064 mod-97-10 checksum algorithm and is exactly 22 characters in length, consistent with the CR IBAN standard.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "description": "JSON value for schema-check SKUs. Omit it on string checks such as email or IBAN."
  },
  "value": {
   "type": "string",
   "examples": [
    "CR03AAAA00000000000000"
   ],
   "maxLength": 20000,
   "minLength": 1,
   "description": "Value to check. The route description names the format: email, phone, IBAN, postal code, VAT, national id, or similar."
  },
  "schema": {
   "description": "JSON Schema document for schema-check SKUs. Omit it on string checks."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/iban-cr-validation-mod-97-length-22-e08b1cdb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshelf.syntexa.ch](https://www.zero.xyz/host/agentshelf.syntexa.ch/llms.txt)
