# IBAN Validator

> IBAN Validator is a paid API for AI agents from agent402.tools, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Validates an IBAN by checking country code, length, and ISO 13616 mod-97 checksum

## Facts

- Endpoint: POST https://agent402.tools/api/iban-validate
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/iban-validator-25df44cd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DCKyXFjT547UxqR0q7x4c

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-25df44cd -d '<json body>'
```

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

## When to prefer this

Use this endpoint when you need to programmatically validate an IBAN before initiating a bank transfer, storing account details, or verifying user-submitted payment information. It performs the full ISO 13616 checksum (mod-97) plus country-code and length checks, making it more thorough than simple format regex.

## Known failure modes

- Invalid or malformed IBAN string returns validation failure details
- Unsupported or unknown country code returns error
- Empty input returns a validation error
- Network timeout or service unavailability returns HTTP 5xx

## How this service works

Validate an IBAN: country code, length, and the ISO 13616 mod-97 checksum.

## Output

Returns whether the IBAN is valid along with details on country code validity, correct length for that country, and whether the ISO 13616 mod-97 checksum passes.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "iban": {
   "type": "string",
   "description": "IBAN (spaces allowed)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "valid": true,
  "country": "DE",
  "formatted": "DE89 3704 0044 0532 0130 00"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/iban-validator-25df44cd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent402.tools](https://www.zero.xyz/host/agent402.tools/llms.txt)
