# IBAN & BIC/SWIFT Validator

> IBAN & BIC/SWIFT Validator is a paid API for AI agents from api.24klabs.ai, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-13).

Validates IBAN numbers using ISO 13616 mod-97 algorithm with per-country length rules, and validates SWIFT/BIC codes with country and bank-code extraction.

## Facts

- Endpoint: POST https://api.24klabs.ai/api/iban-bic-validate
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/iban-bic-swift-validator-2f3ff09c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bIdIViy7hxTMUFvhp72ob

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-bic-swift-validator-2f3ff09c -d '<json body>'
```

Example prompt: Can you validate this IBAN for me — GB29NWBK60161331926819 — and check whether the format and checksum are correct for a UK account?

## When to prefer this

Use this endpoint when you need to verify IBAN or BIC/SWIFT codes before initiating international payments, onboarding bank accounts, or processing financial data. Prefer this over a simple regex check when you need ISO 13616 mod-97 checksum validation, per-country length rules enforcement, and structured extraction of bank/country codes from IBANs or BICs in a single call.

## Known failure modes

- Invalid IBAN checksum (mod-97 fails) — returns validation false with checksum error detail
- IBAN length mismatch for the given country code — returns country-specific length rule violation
- Malformed BIC/SWIFT code structure — returns structural error indicating which component is invalid
- Unsupported or unknown country code in IBAN — returns unrecognized country error
- Empty or missing input — returns 400-level error or validation false with missing input message

## How this service works

ISO 13616 mod-97 IBAN validation with per-country length rules, plus SWIFT/BIC structure validation and country/bank-code extraction.

## Output

Returns a structured response indicating whether the IBAN or BIC is valid, along with extracted components such as country code, bank code, branch code, account number segment, and any specific error messages describing why validation failed (e.g. wrong length for country, failed mod-97 checksum, invalid BIC structure).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "bic": {
   "type": "string"
  },
  "iban": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "country": "GB",
  "bic_valid": true,
  "iban_valid": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/iban-bic-swift-validator-2f3ff09c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.24klabs.ai](https://www.zero.xyz/host/api.24klabs.ai/llms.txt)
