# opendata402 IBAN Validator

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

Validates an IBAN's format, length, country code, mod-97 check digits, and bank code for common European countries, returning electronic and printed formats.

## Facts

- Endpoint: GET https://opendata402.com/v1/validate/iban?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/opendata402-iban-validator-651e8d73
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eMIaPOBjVRPPg2qmXpmMr

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 opendata402-iban-validator-651e8d73
```

Example prompt: Can you validate this IBAN for me before I submit the payment — NL91ABNA0417164300? I need to know if the format, length, and check digits are all correct.

## When to prefer this

Choose this endpoint when you need a pure, stateless IBAN validation with no side effects — no data is stored or forwarded, making it safe to use in privacy-sensitive flows. It is ideal for pre-payment validation, form input checking, or database hygiene. It covers bank code extraction for 10 major European countries and returns both electronic and printed formats in one call. If you need to verify that an account actually exists and holds funds, you need a separate live bank-lookup service.

## Known failure modes

- Invalid IBAN format rejected at input validation (pattern mismatch)
- Unsupported country code — bank code extraction not available for all countries
- Check digit failure — IBAN fails mod-97 test, returned as invalid
- Wrong length for country — IBAN does not match the expected length for its country code
- Missing required 'iban' query parameter returns an error

## How this service works

Validate an IBAN: country, expected length, ISO 13616 mod-97 check digits, and the bank code part for common countries (NL, BE, DE, FR, GB, ES, IT, AT, CH, LU), plus the electronic and printed formats. Use it before sending a payment or storing bank details. Pure computation: the IBAN is not stored or forwarded, and no account existence check is made.

## Output

Returns a structured object indicating whether the IBAN is valid, along with the detected country, expected character length, mod-97 check digit result, extracted bank code (for supported countries: NL, BE, DE, FR, GB, ES, IT, AT, CH, LU), and the IBAN in both electronic (no spaces) and printed (grouped) formats.

## 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",
       "pattern": "^[A-Za-z]{2}[0-9]{2}[A-Za-z0-9 ]{8,40}$",
       "description": "IBAN, spaces allowed."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

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