# Agent Guard IBAN Validator

> Agent Guard IBAN Validator is a paid API for AI agents from agent-guard.annushka1190.workers.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Validates an IBAN (International Bank Account Number), returning whether it is structurally valid and its country code

## Facts

- Endpoint: GET https://agent-guard.annushka1190.workers.dev/v1/iban/validate
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-guard-iban-validator-865832f5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_i9RbdZtf02IBgtbAEAJHv

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 agent-guard-iban-validator-865832f5
```

Example prompt: Can you check whether the IBAN DE89370400440532013000 is valid before I send the payment?

## When to prefer this

Choose this endpoint when you need a fast, cheap, no-key-required IBAN structural validation as part of a payment or compliance workflow — especially useful in AI agent pipelines that already use x402/USDC micropayments and need to guard against bad bank account numbers before initiating transfers. Prefer this over rolling your own regex or a heavier KYC/banking API when all you need is format and country validation.

## Known failure modes

- Missing or empty IBAN query parameter — returns invalid or error response
- Malformed IBAN with wrong length or invalid characters — returns valid: false
- Unsupported or unknown country prefix — may return valid: false or partial result
- Payment not sent or insufficient USDC — returns 402 Payment Required
- Network timeout on Cloudflare Worker — returns 5xx error

## How this service works

Safety and trust layer for AI agents: PII redaction, scam/phishing text scan, EVM/Solana address validation, IBAN checks, JSON repair, deep on-chain wallet risk scoring, x402 counterparty endpoint reputation checks. Free discovery: /openapi.json, /.well-known/x402, /v1/capabilities, /mcp (tools/list). REST + MCP. Pay with USDC via x402 — no API keys.

## Output

A JSON object with a boolean 'valid' field indicating structural IBAN validity, and a 'country' field containing the two-letter ISO country code extracted from the IBAN (e.g. {"valid": true, "country": "DE"}).

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "iban"
     ],
     "properties": {
      "iban": {
       "type": "string",
       "description": "IBAN 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/agent-guard-iban-validator-865832f5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-guard.annushka1190.workers.dev](https://www.zero.xyz/host/agent-guard.annushka1190.workers.dev/llms.txt)
