# Latvian IBAN Validator (LV, Length 21)

> Latvian IBAN Validator (LV, Length 21) is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.006/call, status unknown (last checked 2026-09-29).

Validates whether a given string is a mod-97-compliant Latvian IBAN (LV country code, exactly 21 characters long)

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/check-iban-lv?utm_source=zero.xyz
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/latvian-iban-validator-lv-length-21-892bac7a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wmu2rvUeR4lYIq8Cxa9Rq

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 latvian-iban-validator-lv-length-21-892bac7a -d '<json body>'
```

Example prompt: Can you check whether LV80BANK0000435195001 is a valid Latvian IBAN — does it pass the mod-97 checksum and is it exactly 21 characters?

## When to prefer this

Use this endpoint when you specifically need to validate a Latvian (LV) IBAN and want a dedicated, country-specific mod-97 check with known length enforcement (21 characters). Prefer the free sandbox endpoint /v1/sandbox/check-iban-lv for testing. Choose this over a generic IBAN validator if you want a lightweight, single-country focused microservice with a fixed low cost per call.

## Known failure modes

- Input string is empty or missing — returns validation error
- IBAN does not start with LV country code — returns invalid
- IBAN length is not exactly 21 characters — returns invalid
- Mod-97 checksum fails — returns invalid
- Malformed request body — returns 400 or schema error
- Payment of $0.006 USDC not provided — returns 402 Payment Required

## How this service works

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

## Output

A boolean or structured result indicating whether the supplied string is a valid Latvian IBAN — specifically that it starts with 'LV', is exactly 21 characters long, and passes the ISO 7064 mod-97-10 checksum calculation.

## 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": [
    "LV97AAAA0000000000000"
   ],
   "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/latvian-iban-validator-lv-length-21-892bac7a/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)
