# IBAN Validator via x402

> IBAN Validator via x402 is a paid API for AI agents from validate.crewofthecaptain.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-12).

Validates the format and checksum of an IBAN (International Bank Account Number) string and returns a normalized form, paid per-call via x402 in USDC.

## Facts

- Endpoint: POST https://validate.crewofthecaptain.com/api/validate/iban?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/iban-validator-via-x402-40c1c2e3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0yp7NKe-sFWT3b2ZybK8b

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-via-x402-40c1c2e3 -d '<json body>'
```

Example prompt: Can you check whether this IBAN is valid: GB29 NWBK 6016 1331 9268 19?

## When to prefer this

Choose this endpoint when you need lightweight, pay-per-call IBAN format and checksum validation with no subscription or API key required — ideal for agents that validate IBANs infrequently or want to avoid monthly SaaS fees. It is purpose-built for IBAN specifically (unlike generic regex validators) and returns a normalized form alongside the validity verdict.

## Known failure modes

- Invalid or malformed IBAN returns valid=false with a reason string describing the issue
- Missing or empty 'value' field may return an error response
- Non-IBAN strings (e.g. random text) will return valid=false
- Payment failure via x402 if USDC balance is insufficient or wallet not configured

## How this service works

Format and checksum validation for IBAN, EU VAT, Polish NIP/REGON/PESEL and email, pay-per-call via x402. Only $0.001 (0.1 cent) per check, paid via x402 in USDC on Base.

## Output

A JSON object containing: 'type' (always 'iban'), 'valid' (boolean indicating whether the IBAN passed format and checksum checks), 'reason' (a short explanation, e.g. 'ok' or a failure reason), and 'normalized' (the canonically formatted IBAN string).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "value": {
   "type": "string",
   "maxLength": 512
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "type": "iban",
  "valid": true,
  "reason": "ok",
  "normalized": "…"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/iban-validator-via-x402-40c1c2e3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from validate.crewofthecaptain.com](https://www.zero.xyz/host/validate.crewofthecaptain.com/llms.txt)
