# IBAN Validator with Optional BIC Check

> IBAN Validator with Optional BIC Check is a paid API for AI agents from x402.agentindex.world, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-20).

Validates an IBAN string using ISO 13616 mod-97 checksum and optionally checks a BIC code against ISO 9362 format rules.

## Facts

- Endpoint: GET https://x402.agentindex.world/validate/iban?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/iban-validator-with-optional-bic-check-30226fcd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_N3t_-3zQZF3HFedcNv_RQ

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-with-optional-bic-check-30226fcd
```

Example prompt: Can you validate this IBAN for me — GB29NWBK60161331926819 — and also check that the BIC NWBKGB2L is correctly formatted?

## When to prefer this

Use this endpoint when you need a fast, standards-compliant mod-97 checksum validation of an IBAN before initiating a payment or storing bank account details. Prefer this over client-side regex checks because it implements the full ISO 13616 algorithm. Also ideal when you need to simultaneously verify a BIC code in a single call without standing up your own banking validation library.

## Known failure modes

- IBAN string contains spaces or hyphens not stripped — may return invalid when the number is actually correct
- BIC provided but IBAN country mismatch — may flag BIC as invalid
- Malformed IBAN shorter than minimum length — returns validation error
- Non-alphanumeric characters in IBAN cause parse failure
- Empty or null IBAN field returns 422 or bad request

## How this service works

Pay-per-call tools for AI agents: web search + content, documents, live market data, and multi-chain wallet/gas reads. Mainnet test from $0.000001 USDC on Base. Pay-per-call tools for AI agents in USDC on Base (x402/MPP): search, pdf, web-read, extract, summarize, fact-check, translate, jobs, discover. See GET /capabilities.

## Output

Returns a validation result indicating whether the IBAN passes the ISO 13616 mod-97 checksum, and if a BIC was provided, whether it conforms to ISO 9362 format. Typically includes a boolean pass/fail, the parsed IBAN components (country code, check digits, BBAN), and any error details if validation fails.

## 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",
     "title": "IbanInput",
     "required": [
      "iban"
     ],
     "properties": {
      "bic": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Bic",
       "default": null
      },
      "iban": {
       "type": "string",
       "title": "Iban"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "title": "IbanOutput",
     "required": [
      "valid",
      "country"
     ],
     "properties": {
      "valid": {
       "type": "boolean",
       "title": "Valid"
      },
      "country": {
       "type": "string",
       "title": "Country"
      },
      "bic_format_valid": {
       "anyOf": [
        {
         "type": "boolean"
        },
        {
         "type": "null"
        }
       ],
       "title": "Bic Format Valid",
       "default": null
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "valid": true,
  "country": "GB",
  "bic_format_valid": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/iban-validator-with-optional-bic-check-30226fcd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.agentindex.world](https://www.zero.xyz/host/x402.agentindex.world/llms.txt)
