# BIC/SWIFT Code Validator and Decomposer

> BIC/SWIFT Code Validator and Decomposer is a paid API for AI agents from iban.openverbs.com, paid per call via x402, $0.004/call, status unknown (last checked 2026-09-14).

Validates a BIC/SWIFT code and breaks it down into its constituent bank, country, location, and branch code components.

## Facts

- Endpoint: POST https://iban.openverbs.com/v1/bic
- Price: $0.004/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-validator-and-decomposer-cda07cde
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VGjD6ZxYRv_CB6m9sq1d1

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-validator-and-decomposer-cda07cde -d '<json body>'
```

Example prompt: Can you validate the BIC/SWIFT code DEUTDEFF500 and tell me what bank, country, location, and branch it corresponds to?

## When to prefer this

Use this endpoint when you need to validate and parse a BIC/SWIFT code specifically — it provides both structural validation and semantic decomposition into standardized sub-components. Prefer it over generic string validators when you need to extract the country, bank, location, or branch from a BIC for downstream processing, compliance checks, or international payment workflows. It pairs naturally with the sibling IBAN validator on the same service for complete international banking identifier coverage.

## Known failure modes

- Invalid or malformed BIC returns a validation failure with an error message
- BIC shorter than minimum length or exceeding 11 characters may be rejected
- Non-existent or unrecognized BIC codes may validate structurally but not match a known institution
- Network or payment failure returns a 402 or 5xx HTTP error

## How this service works

Validate a BIC/SWIFT code and decompose it into bank, country, location and branch codes.

## Output

Returns a validation result indicating whether the BIC/SWIFT code is valid, along with a structured decomposition into its constituent parts: bank code (4 characters), country code (2 characters), location code (2 characters), and optional branch code (3 characters).

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "bic"
     ],
     "properties": {
      "bic": {
       "type": "string",
       "maxLength": 16,
       "minLength": 1,
       "description": "BIC/SWIFT code, e.g. \"DEUTDEFF500\"."
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bic-swift-code-validator-and-decomposer-cda07cde/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from iban.openverbs.com](https://www.zero.xyz/host/iban.openverbs.com/llms.txt)
