# BIC / SWIFT Code Validator

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

Validates a BIC/SWIFT code offline against ISO 9362 structural rules, identifying which specific check failed on rejection.

## Facts

- Endpoint: GET https://402.com.tr/api/x402/bic-check
- Price: $0.002/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-1994744c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sQ4FsB-Kn7BSn7-0EXiFT

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-1994744c
```

Example prompt: Can you check whether the SWIFT code DEUTDEDB is valid — I want to know if it's correctly structured before I submit my wire transfer?

## When to prefer this

Use this endpoint when you need fast, offline, deterministic validation of BIC/SWIFT code structure before submitting international payments or onboarding banking data — it is ideal for catching formatting errors early without needing a live bank registry lookup. Prefer this over full bank-lookup APIs when you only need structural correctness (ISO 9362 compliance), want granular rejection reasons, or need to detect test BICs programmatically.

## Known failure modes

- Missing 'bic' query parameter returns an error
- BIC with invalid characters causes rejection with named failed check
- BIC of wrong length (not 8 or 11 chars) returns length validation failure
- Non-ISO country code portion causes country check failure
- Malformed input string returns structured rejection with specific failure field
- Network/payment failure returns HTTP 402 or connectivity error

## How this service works

Validate a BIC/SWIFT code offline (ISO 9362): 8 or 11 characters, bank/country/location[/branch] layout, head-office vs branch, and the test-BIC flag. Every rejection names which check failed. Structure only — does not prove the bank is live.

## Output

Returns a structured validation result indicating whether the BIC is valid or not. If invalid, the response names the specific check that failed (e.g. wrong length, invalid country code, illegal characters). If valid, it provides parsed components: bank code, country code, location code, and optional branch code, plus flags indicating whether it is a head-office BIC and whether it is a test BIC. Does not confirm whether the bank is currently active on the SWIFT network.

## 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"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "bic"
     ],
     "properties": {
      "bic": {
       "type": "string",
       "description": "BIC / SWIFT"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

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