# FastX402 IBAN Validator

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

Validates an IBAN number and returns its structure, checksum, country, and formatted representation

## Facts

- Endpoint: GET https://fastx402.tools/iban-validate?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fastx402-iban-validator-06fd267b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yUmtQPWhJwERosbJgjWx7

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 fastx402-iban-validator-06fd267b
```

Example prompt: Can you validate this IBAN for me — TR330006100519786457841326 — and tell me if the checksum is correct and what country it belongs to?

## When to prefer this

Use this endpoint when you need to validate an IBAN before a financial transfer, during user onboarding to check bank details, or when auditing payment data for correctness. It is particularly useful because it returns granular breakdown (checksum, length, country, formatted string) rather than just a pass/fail, requiring no API key or account setup and charging only $0.001 per call via x402.

## Known failure modes

- Invalid or malformed IBAN returns valid:false with length_ok and checksum_ok flags indicating what failed
- Missing 'iban' query parameter returns an error
- Non-IBAN strings (e.g. random text) may return valid:false without detailed diagnostics
- Payment failure for the $0.001 USDC fee will block the request

## How this service works

200 pay-per-call tools for AI agents, from $0.001 per request in USDC on Base or Solana with x402. No account, no API key.

## Output

A JSON object containing: whether the IBAN is valid (boolean), the country code (e.g. 'TR'), the BBAN (basic bank account number), the formatted IBAN with spaces, whether the length is correct, whether the checksum passes, the check digits, and the expected length for that country.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "iban"
     ],
     "properties": {
      "iban": {
       "type": "string",
       "description": "IBAN with or without spaces"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "bban": {
       "type": "string"
      },
      "iban": {
       "type": "string"
      },
      "valid": {
       "type": "boolean"
      },
      "country": {
       "type": "string"
      },
      "formatted": {
       "type": "string"
      },
      "length_ok": {
       "type": "boolean"
      },
      "checksum_ok": {
       "type": "boolean"
      },
      "check_digits": {
       "type": "string"
      },
      "expected_length": {
       "type": "integer"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "bban": "0006100519786457841326",
  "iban": "TR330006100519786457841326",
  "valid": true,
  "country": "TR",
  "formatted": "TR33 0006 1005 1978 6457 8413 26",
  "length_ok": true,
  "checksum_ok": true,
  "check_digits": "33",
  "expected_length": 26
 }
}
```

## More

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