# IBAN Validator

> IBAN Validator is a paid API for AI agents from api.strale.io, paid per call via x402, $0.054001/call, status unknown (last checked 2026-10-12).

Validates an IBAN number by checking format, length, and mod-97 checksum, and extracts country code, bank identifier, and branch code.

## Facts

- Endpoint: GET https://api.strale.io/x402/iban-validate?utm_source=zero.xyz
- Price: $0.054001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-strale-io-3e504d01
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fzjna1rt8IHAbpDc-Sqtj

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 api-strale-io-3e504d01
```

Example prompt: Can you check whether this IBAN is valid: SE3550000000054910000003 — and tell me the country code and bank identifier it contains?

## When to prefer this

Use this endpoint when you need a fast, cheap, purely algorithmic IBAN validation without any live bank lookup. Ideal for form validation, payment preprocessing, or data cleansing pipelines where you need to confirm format and checksum correctness and extract structured bank identifiers from raw IBAN strings.

## Known failure modes

- Missing iban query parameter — returns error
- IBAN with invalid format or wrong length — returns validation failure with reason
- IBAN with correct format but failing mod-97 checksum — returns invalid with checksum error
- Unsupported or unknown country code — may return partial result or error

## How this service works

Validate an IBAN number. Checks format, length, and mod-97 checksum. Extracts country code, bank identifier, and branch code. Pure algorithmic — fast and cheap.

## Output

Returns whether the IBAN is valid or invalid, along with extracted components including country code, bank identifier, and branch code derived from the parsed IBAN string.

## Example request

```json
{
 "iban": "SE3550000000054910000003"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "iban"
 ],
 "properties": {
  "iban": {
   "type": "string",
   "description": "IBAN to validate (e.g. SE3550000000054910000003)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "error": {
  "type": "string"
 },
 "valid": {
  "type": "boolean"
 },
 "bank_code": {
  "type": "string"
 },
 "branch_code": {
  "type": "string"
 },
 "country_code": {
  "type": "string"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-strale-io-3e504d01/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.strale.io](https://www.zero.xyz/host/api.strale.io/llms.txt)
