# IBAN Validation & Parsing API

> IBAN Validation & Parsing API is a paid API for AI agents from reference-data-api.onrender.com, paid per call via x402, $0.0225/call, status unknown (last checked 2026-11-21).

Validates an IBAN's format, length, and check digits, then parses it into bank code, branch code, and account number, with SEPA membership status and bank name/BIC where available.

## Facts

- Endpoint: GET https://reference-data-api.onrender.com/v1/iban?utm_source=zero.xyz
- Price: $0.0225/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/iban-validation-parsing-api-b0e2bfef
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fQ5EPk1dkFQ_uwMV4KcJ-

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-validation-parsing-api-b0e2bfef
```

Example prompt: Can you validate this IBAN for me — GB29NWBK60161331926819 — and tell me the bank code, branch code, account number, whether it's SEPA-eligible, and the bank name if available?

## When to prefer this

Use this endpoint when you need to validate and parse an IBAN for payment processing, invoicing, or customer onboarding flows. It combines ISO 13616 structural validation with SEPA membership lookup and bank name/BIC enrichment in a single call, saving multiple round-trips. Prefer this over a generic regex check when you need component-level parsing (bank code, branch, account) or SEPA eligibility. Note: it does not verify that the account actually exists — use bank-level confirmation services for that.

## Known failure modes

- Invalid or malformed IBAN returns a validation failure with error details (wrong length, bad check digits, unsupported country code)
- Unsupported country code may return valid structural validation but no bank name or BIC enrichment
- Network timeout or service unavailability on Render returns a 5xx error
- Missing required 'iban' query parameter returns a 400 bad request
- IBAN passes structural validation but account does not actually exist — this endpoint cannot confirm account existence

## How this service works

Validates an IBAN (ISO 13616: country format, length, check digits and, where defined, the national account check digit), formats it and splits it into bank code, branch code and account number, with SEPA membership and the bank name/BIC where a national bank directory exists. For payment, invoicing and onboarding agents. Does not prove that the account exists.

## Output

Returns validation status (valid/invalid), formatted IBAN, country, check digits result, national check digit result where applicable, bank code, branch code, account number, SEPA membership flag, and optionally bank name and BIC if a national bank directory exists for that country.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "iban"
     ],
     "properties": {
      "iban": {
       "type": "string",
       "description": "IBAN, spaces allowed"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/iban-validation-parsing-api-b0e2bfef/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from reference-data-api.onrender.com](https://www.zero.xyz/host/reference-data-api.onrender.com/llms.txt)
