# IBAN Parser

> IBAN Parser is a paid API for AI agents from bank-validators.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-02).

Splits an IBAN into its structural components — country code, check digits, bank code, branch code, and account number — using the country-specific layout.

## Facts

- Endpoint: GET https://bank-validators.x402tookit.com/iban-parse?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/iban-parser-e554f661
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_67YUaRzWcbOrw-iOJkIbt

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-parser-e554f661
```

Example prompt: Can you parse the IBAN DE89 3704 0044 0532 0130 00 and tell me the country code, bank code, branch code, and account number?

## When to prefer this

Use this endpoint when you need to decompose an IBAN into its structural fields (bank code, branch, account) according to the official country-specific layout — not just validate the checksum. Prefer this over a simple IBAN validator when downstream systems need individual field values, or when populating structured payment or KYC forms from a raw IBAN string.

## Known failure modes

- Invalid or malformed IBAN returns a failed verdict with reasons listed
- Unknown country prefix may result in partial parsing with degraded flag set
- Missing required 'iban' query parameter returns an error
- Very short or truncated IBANs that don't match expected length for the country

## How this service works

Split an IBAN into country, check digits, bank code, branch and account using its country layout.

## Output

Returns a structured breakdown of the IBAN including: country code, check digits, BBAN (Basic Bank Account Number), bank code, branch code, account number, the per-field layout pattern for that country, a verdict and summary, and any degraded/disclaimer flags if data quality is partial.

## 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": [
      "iban"
     ],
     "properties": {
      "iban": {
       "type": "string",
       "description": "IBAN, spaces allowed, e.g. DE89 3704 0044 0532 0130 00"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "bban": {
       "type": [
        "null",
        "string"
       ]
      },
      "fields": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "object",
        "properties": {
         "name": {
          "type": [
           "null",
           "string"
          ]
         },
         "value": {
          "type": [
           "null",
           "string"
          ]
         },
         "pattern": {
          "type": [
           "null",
           "string"
          ]
         }
        }
       }
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "account": {
       "type": [
        "null",
        "string"
       ]
      },
      "country": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "bankCode": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "branchCode": {},
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/iban-parser-e554f661/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bank-validators.x402tookit.com](https://www.zero.xyz/host/bank-validators.x402tookit.com/llms.txt)
