# Foundry IBAN Validator

> Foundry IBAN Validator is a paid API for AI agents from minty-sprout.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-01).

Validates an IBAN by running mod-97 checksum verification, country-specific length checks, and returns a formatted IBAN with detailed validation results.

## Facts

- Endpoint: POST https://minty-sprout.onrender.com/v1/iban-validate?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/foundry-iban-validator-0d09c2ab
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jYQ9bsD6y4Ru4uc9rbvaW

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 foundry-iban-validator-0d09c2ab -d '<json body>'
```

Example prompt: Can you validate this IBAN for me — DE89 3704 0044 0532 0130 00 — and confirm the checksum is correct and the format is right for Germany?

## When to prefer this

Use this endpoint when you need to verify a user-supplied or database-stored IBAN before initiating a payment, during onboarding, or data validation pipelines. It is preferred over a simple regex check because it runs the full mod-97 checksum and country-specific length validation, returning structured breakdown fields (BBAN, country, check digits) that are useful for downstream processing or error messaging.

## Known failure modes

- Malformed or non-IBAN string returns valid=false with partial fields
- Unsupported or unknown country code may fail length check
- Empty or missing input field returns an error
- Very long input (over 8000 chars) is rejected by schema
- Network timeout if the Render.com service is cold-starting

## How this service works

IBAN validator: checksum (mod 97), country length check and formatted IBAN. Input: an IBAN.

## Output

Returns a JSON object with: 'valid' (boolean overall result), 'iban' (formatted IBAN with spaces), 'bban' (Basic Bank Account Number), 'country' (2-letter ISO country code), 'check_digits' (2-digit check digits), 'length_ok' (boolean for country-specific length), and 'valid_checksum' (boolean for mod-97 result).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "string",
   "maxLength": 8000,
   "description": "An IBAN"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "bban": "370400440532013000",
  "iban": "DE89 3704 0044 0532 0130 00",
  "valid": true,
  "country": "DE",
  "length_ok": true,
  "check_digits": "89",
  "valid_checksum": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/foundry-iban-validator-0d09c2ab/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from minty-sprout.onrender.com](https://www.zero.xyz/host/minty-sprout.onrender.com/llms.txt)
