# IBAN Validator

> IBAN Validator is a paid API for AI agents from conclavex402p04.pythonanywhere.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-16).

Validates an IBAN by checking country code, length, and ISO 13616 mod-97 checksum, returning validity status, country, and check digits.

## Facts

- Endpoint: POST https://conclavex402p04.pythonanywhere.com/u/iban?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/iban-validator-312f94f3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KJQd830wjtz42rcmdo0QI

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-312f94f3 -d '<json body>'
```

Example prompt: Can you check whether the IBAN DE89370400440532013000 is valid and tell me what country it belongs to?

## When to prefer this

Choose this endpoint when you need a lightweight, deterministic structural and checksum validation of a single IBAN before initiating a payment or storing bank account details. It is ideal for pre-flight checks in payment workflows, form validation pipelines, or onboarding flows where you need to confirm country origin and checksum without connecting to a bank or payment network.

## Known failure modes

- IBAN fails mod-97 checksum — returns valid: false
- Unsupported or unrecognized country code prefix — may return valid: false or error
- Incorrect IBAN length for the given country — returns valid: false
- Malformed input (non-alphanumeric characters) — returns validation error
- Missing or empty IBAN body field — returns 400-level error

## How this service works

Validate an IBAN (international bank account number) — check the country, length and ISO 13616 mod-97 checksum; returns validity, country and check digits.

## Output

Returns a JSON object with a boolean 'valid' field, the two-letter ISO country code extracted from the IBAN, the expected IBAN length for that country, and the two-digit check digits. For example: {valid: true, country: 'DE', iban_length: 22, check_digits: '89'}.

## 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"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "valid": true,
  "country": "DE",
  "iban_length": 22,
  "check_digits": "89"
 }
}
```

## More

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