# Macaroon Network IBAN Validate

> Macaroon Network IBAN Validate is a paid API for AI agents from api.macaroonnetwork.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Validates an IBAN string offline using ISO 7064 MOD 97-10 checksum and SWIFT registry per-country length rules

## Facts

- Endpoint: POST https://api.macaroonnetwork.com/execute/iban-validate-v1
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/macaroon-network-iban-validate-55fa7801
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_s7iC_7G5o-XR7Cso7lH0o

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 macaroon-network-iban-validate-55fa7801 -d '<json body>'
```

Example prompt: Can you check whether this IBAN is valid: GB29NWBK60161331926819?

## When to prefer this

Choose this endpoint when you need fast, free-standing IBAN structural and checksum validation with no network dependency on proprietary bank data, no third-party licence, and no latency from live lookups. Ideal for pre-flight checks before payment processing, form validation at onboarding, or offline batch screening.

## Known failure modes

- Malformed or missing IBAN input returns validation error
- Unrecognized country code prefix not in SWIFT registry may return unknown-country error
- Non-alphanumeric characters in IBAN string cause parse failure
- IBAN with correct checksum but wrong country length flagged as invalid

## How this service works

Offline International Bank Account Number (IBAN) structural and checksum validation (ISO 7064 MOD 97-10) against the published SWIFT IBAN Registry per-country length table. Pure algorithmic validation of a published international standard -- no proprietary bank dataset, no network call, no third-party licence dependency.

## Output

Returns whether the IBAN is structurally valid: checksum passes ISO 7064 MOD 97-10, and the string length matches the SWIFT IBAN Registry for the detected country code. No live bank data is queried — purely algorithmic.

## 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"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "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/macaroon-network-iban-validate-55fa7801/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.macaroonnetwork.com](https://www.zero.xyz/host/api.macaroonnetwork.com/llms.txt)
