# Swiss IBAN Mod-97 Validator

> Swiss IBAN Mod-97 Validator is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.007/call, status unknown (last checked 2026-10-02).

Validates whether a given string is a mod-97-valid Swiss IBAN of exactly 21 characters

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/check-iban-ch?utm_source=zero.xyz
- Price: $0.007/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/swiss-iban-mod-97-validator-d6cc0517
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cmTrwYi4V5eu7oGTbCruR

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 swiss-iban-mod-97-validator-d6cc0517 -d '<json body>'
```

Example prompt: Can you check whether CH5604835012345678009 is a valid Swiss IBAN — make sure it passes the mod-97 check and is exactly 21 characters long?

## When to prefer this

Choose this endpoint when you specifically need to validate a Swiss (CH) IBAN and want a fast, definitive mod-97 checksum result. It is purpose-built for CH IBANs of length 21, making it more precise than a generic multi-country IBAN validator. Use the free sandbox endpoint (/v1/sandbox/check-iban-ch) for development and testing before using this paid version in production.

## Known failure modes

- Empty or missing value field returns validation error
- Non-string or oversized input rejected by schema constraints
- IBAN from a non-CH country returns invalid (not designed for other country codes)
- Malformed IBAN with wrong length returns invalid result
- Network or payment (x402) failure if USDC balance is insufficient

## How this service works

Call when an agent needs whether an IBAN is a mod-97-valid CH number of length 21. Exact $0.007 USDC. Prefer unpaid POST /v1/sandbox/check-iban-ch first.

## Output

Returns a boolean or structured result indicating whether the provided string is a valid Swiss IBAN: specifically confirming it starts with 'CH', is exactly 21 characters long, and passes the ISO 7064 mod-97 checksum algorithm.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "description": "JSON value for schema-check SKUs. Omit it on string checks such as email or IBAN."
  },
  "value": {
   "type": "string",
   "examples": [
    "CH26AAAA0000000000000"
   ],
   "maxLength": 20000,
   "minLength": 1,
   "description": "Value to check. The route description names the format: email, phone, IBAN, postal code, VAT, national id, or similar."
  },
  "schema": {
   "description": "JSON Schema document for schema-check SKUs. Omit it on string checks."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/swiss-iban-mod-97-validator-d6cc0517/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshelf.syntexa.ch](https://www.zero.xyz/host/agentshelf.syntexa.ch/llms.txt)
