# IBAN LB (Lebanon) Validator

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

Validates whether a given IBAN is a mod-97-valid Lebanese (LB) IBAN of exactly 28 characters

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/check-iban-lb?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/iban-lb-lebanon-validator-358c8297
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GsuD5h-rDcgTW9Q4eQ_j3

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 iban-lb-lebanon-validator-358c8297 -d '<json body>'
```

Example prompt: Can you check whether 'LB62099900000001001901229114' is a valid Lebanese IBAN — specifically that it's exactly 28 characters and passes the mod-97 checksum?

## When to prefer this

Use this endpoint when you specifically need to validate a Lebanese (LB) IBAN for mod-97 compliance and 28-character length. Choose this over generic IBAN validators when you need a lightweight, deterministic, network-free check with no LLM involvement. Try the free sandbox endpoint POST /v1/sandbox/check-iban-lb first during development to avoid charges.

## Known failure modes

- IBAN does not start with 'LB' — returns invalid
- IBAN is not exactly 28 characters — returns invalid
- IBAN fails mod-97 checksum — returns invalid
- Empty or missing value field — returns error
- Payment of $0.003 USDC not received — returns 402 Payment Required
- Malformed request body — returns 400 Bad Request

## How this service works

Call when an agent needs whether an IBAN is a mod-97-valid LB number of length 28. Exact $0.003 USDC. Prefer unpaid POST /v1/sandbox/check-iban-lb first.

## Output

A boolean or structured result indicating whether the supplied IBAN is a valid Lebanese (LB) IBAN — confirming it is exactly 28 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": [
    "LB86AAAA00000000000000000000"
   ],
   "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/iban-lb-lebanon-validator-358c8297/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)
