# 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 structure while extracting country and bank code details.

## Facts

- Endpoint: POST https://api.24klabs.ai/api/v1/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-d101597a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_akhpM-br0RyxrgyTKZn4h

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-d101597a -d '<json body>'
```

Example prompt: Can you validate this IBAN for me — GB29NWBK60161331926819 — and also check if this BIC code NWBKGB2L is valid and tell me which country and bank they belong to?

## When to prefer this

Use this endpoint when you need ISO 13616-compliant IBAN validation with country-specific length enforcement and combined BIC/SWIFT structure checking in a single call. Prefer it over generic regex validators when accuracy of the mod-97 checksum and per-country rules are required for financial compliance or payment processing pipelines.

## Known failure modes

- Invalid IBAN checksum fails mod-97 test and returns invalid with reason
- IBAN length does not match country-specific rule and returns length mismatch error
- Malformed BIC with incorrect character placement returns structural validation error
- Unsupported or unrecognized country prefix returns unknown country error
- Empty or missing input field returns a 400-level validation error

## 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 validation result for the IBAN (valid/invalid flag, detected country, bank code, check digit result, per-country length conformance) and for the BIC/SWIFT code (valid/invalid flag, institution code, country code, location code, branch code, any structural errors).

## 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-d101597a/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)
