# Toll402 IBAN Validator

> Toll402 IBAN Validator is a paid API for AI agents from toll402.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Validates an IBAN (International Bank Account Number) string and returns whether it is structurally correct

## Facts

- Endpoint: POST https://toll402.dev/v1/t/iban_validate?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/toll402-iban-validator-414b512e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iljH77YC7bs0BdQ-depxq

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 toll402-iban-validator-414b512e -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 a fast, cheap, offline structural validation of an IBAN before initiating a payment or storing bank account data. It requires no signup or API key — just USDC per call via x402. Prefer this over full bank verification APIs when you only need format/checksum correctness, not live account existence confirmation. Ideal for pre-flight checks in payment workflows, onboarding pipelines, or data cleansing tasks.

## Known failure modes

- Invalid or missing 'iban' field in request body returns an error
- Malformed IBAN with wrong checksum returns ok: false
- Unsupported or unknown country code prefix may return ok: false
- Network or gateway errors from the Toll402 platform (503/502)
- Payment failure if USDC wallet has insufficient funds (x402 protocol rejection)

## How this service works

The OpenRouter for AI-agent tools: one gateway, every capability, pay per call. Built-in tools, agent-forged tools, a global verified business directory, 2,564 provider API endpoints (SEO, social, enrichment, ads, market data, AI generation) and aggregated x402 services. Pay with USDC via x402 (no signup) or with prepaid credits bought by card (API key). Charged only on success.

## Output

A JSON object with an 'ok' boolean indicating whether the IBAN is structurally valid (correct length, country code, checksum, and format). No external bank lookup is performed — this is an offline structural/checksum validation.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "iban"
     ],
     "properties": {
      "iban": {
       "type": "string",
       "description": "IBAN string, spaces allowed"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true
 }
}
```

## More

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