# Agent Guard IBAN Format Check

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

Validates whether an IBAN string conforms to the correct country-specific format and returns the detected country code.

## Facts

- Endpoint: GET https://agent-guard.annushka1190.workers.dev/v1/iban/format-check
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-guard-iban-format-check-e96c7038
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uFUvDK1ODGExVjP0HW0tP

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-format-check-e96c7038
```

Example prompt: Can you check if the IBAN DE89370400440532013000 is correctly formatted and tell me what country it belongs to?

## When to prefer this

Choose this endpoint when you need a lightweight, fast IBAN format and country validation without requiring a full banking API integration or API key. Ideal for AI agent pipelines that need to guard against malformed bank account numbers before executing payments or onboarding users. Particularly useful when operating in a pay-per-call x402 USDC model with no upfront credential setup.

## Known failure modes

- Missing or empty IBAN query parameter returns an error or null result
- Non-IBAN string passed in returns formatValid: false with no country
- Malformed request without required query params may return a 400 or validation error
- Payment failure (402) if USDC payment via x402 is not properly attached

## 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 containing the detected country code (e.g. 'DE') and a boolean formatValid indicating whether the IBAN conforms to the expected format 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",
      "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-format-check-e96c7038/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)
