# BIC/SWIFT Code Structural Validator

> BIC/SWIFT Code Structural Validator is a paid API for AI agents from chainverdict.xyz, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Validates a BIC/SWIFT code for structural compliance with ISO 9362, checking character count, bank code, country code, location code, and optional branch code segments.

## Facts

- Endpoint: GET https://chainverdict.xyz/v1/validate/bic/:bic
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bic-swift-code-structural-validator-a7fdd93d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1vyfvPqiC8MWBNVyS0vkj

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 bic-swift-code-structural-validator-a7fdd93d
```

Example prompt: Can you check whether the BIC code DEUTDEDB is structurally valid — does it pass ISO 9362 format rules?

## When to prefer this

Use this endpoint when you need fast, cheap ($0.001) structural validation of a BIC/SWIFT code against ISO 9362 before using it in a payment workflow. Prefer this over the batch endpoint for single-code checks in real-time pipelines. Note: this validates format only — it does not confirm the bank is reachable or that the account exists. Combine with OFAC screening and IBAN validation endpoints on the same platform for a fuller pre-payment check.

## Known failure modes

- BIC code is not 8 or 11 characters — returns validation failure with structural error
- Country code segment does not match ISO 3166-1 alpha-2 format — flagged as invalid
- Non-alphanumeric characters present in BIC — returns parse error
- Missing path parameter — returns 400 or similar client error
- Malformed request or network timeout — returns HTTP error

## How this service works

Validate a BIC/SWIFT code against ISO 9362: 8 or 11 characters, bank and country segments, location and branch codes. Structural only; does not confirm the institution is reachable.

## Output

Returns a structured validation result indicating whether the BIC/SWIFT code passes ISO 9362 structural checks, including whether the code is 8 or 11 characters, and the parsed segments: bank code (4 chars), country code (2 chars), location code (2 chars), and optional branch code (3 chars). Does not confirm the institution is reachable or active.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "bic"
     ],
     "properties": {
      "bic": {
       "type": "string",
       "description": "BIC/SWIFT code, 8 or 11 chars"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "additionalProperties": true
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bic-swift-code-structural-validator-a7fdd93d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from chainverdict.xyz](https://www.zero.xyz/host/chainverdict.xyz/llms.txt)
