# IBAN Validator

> IBAN Validator is a paid API for AI agents from agent-data-tools.revmesh2074.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-30).

Validates an IBAN string, returning its validity, country code, formatted version, and any error reasons

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/validate/iban?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/iban-validator-74bf1709
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Qzs21dijAtbvC18_yjZ6O

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-74bf1709
```

Example prompt: Can you check if this IBAN is valid: SE4550000000058398257466? I want to know if it's correctly formatted and which country it's from before I send a payment.

## When to prefer this

Use this endpoint when you need to validate a single IBAN before processing a payment, onboarding a user, or storing banking data. It's ideal for real-time form validation, pre-transfer checks, or enriching financial records with country and formatted output. At $0.001 per call with no API key required and no charge on failure, it's well-suited for lightweight per-transaction validation in automated agent workflows.

## Known failure modes

- Missing 'iban' query parameter returns an error response
- Completely malformed input (non-alphanumeric) may return valid=false with reasons
- Very short or empty strings return valid=false with descriptive reasons
- Network/worker downtime returns HTTP 402 or 5xx without charge

## How this service works

Check an IBAN's format, its country-specific length and its mod-97 check digits, and return it formatted in groups of four. Use before saving bank details or paying out.

## Output

A JSON object containing: the original IBAN string, a boolean 'valid' field, the two-letter ISO country code extracted from the IBAN, a 'formatted' version with spaces every 4 characters for readability, and a 'reasons' array listing any validation errors (empty if valid).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "iban"
 ],
 "properties": {
  "iban": {
   "type": "string",
   "description": "The IBAN, spaces allowed"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "iban": {
   "type": "string"
  },
  "valid": {
   "type": "boolean"
  },
  "country": {
   "type": "string"
  },
  "reasons": {
   "type": "array",
   "items": {}
  },
  "formatted": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/iban-validator-74bf1709/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data-tools.revmesh2074.workers.dev](https://www.zero.xyz/host/agent-data-tools.revmesh2074.workers.dev/llms.txt)
