# IBAN Validator & Decomposer

> IBAN Validator & Decomposer is a paid API for AI agents from iban.openverbs.com, paid per call via x402, $0.004/call, status unknown (last checked 2026-09-14).

Validates an IBAN using mod-97 checksum and country format rules, then decomposes it into country, bank, branch, and account components.

## Facts

- Endpoint: POST https://iban.openverbs.com/v1/validate
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/iban-validator-decomposer-5365d518
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WGpry82QNsMVrVHPJcJlW

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-validator-decomposer-5365d518 -d '<json body>'
```

Example prompt: Can you validate this IBAN for me — DE89 3704 0044 0532 0130 00 — and tell me what country, bank, and account it belongs to?

## When to prefer this

Use this endpoint when you need to verify an IBAN before initiating a payment, storing bank account details, or onboarding a user. It performs both structural validation (mod-97 checksum, country-specific length) and structural decomposition in a single call, making it ideal for pre-payment checks, form validation, and data enrichment pipelines that require parsed IBAN components.

## Known failure modes

- Invalid IBAN checksum — mod-97 verification fails, returns invalid with error detail
- Incorrect length for country — IBAN does not match the expected length for the detected country code
- Unknown country prefix — the two-letter country code is not a recognized IBAN country
- Empty or missing IBAN field — request rejected with validation error
- IBAN too short or too long — input exceeds length constraints (1–64 chars)

## How this service works

Validate an IBAN (mod-97 checksum, length, country format) and decompose it into country, bank, branch and account parts.

## Output

Returns a validation result indicating whether the IBAN passed the mod-97 checksum and conforms to the expected length and format for its country. On success, also returns the decomposed parts: country code (2-letter ISO), bank identifier code, branch code, and account number — extracted according to country-specific IBAN structure 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "iban"
     ],
     "properties": {
      "iban": {
       "type": "string",
       "maxLength": 64,
       "minLength": 1,
       "description": "IBAN, spaces allowed, e.g. \"DE89 3704 0044 0532 0130 00\"."
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/iban-validator-decomposer-5365d518/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from iban.openverbs.com](https://www.zero.xyz/host/iban.openverbs.com/llms.txt)
