# BIC/SWIFT Code Validator and Parser

> BIC/SWIFT Code Validator and Parser is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-30).

Validates a BIC/SWIFT code and parses it into its constituent parts: bank code, country, location, branch, and test-code flag.

## Facts

- Endpoint: POST https://api.vextorium.com/validar-bic-pago?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bic-swift-code-validator-and-parser-b726e692
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Gik8no-IKjWUXyNzXoIJ9

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

Example prompt: Can you validate the BIC code DEUTDEDB and tell me what bank, country, and branch it corresponds to, and whether it's a test code?

## When to prefer this

Choose this endpoint when you need to validate and parse a BIC/SWIFT code as part of a payment flow, KYC/onboarding process, or compliance check — especially when you also need structured component breakdown (bank, country, location, branch) and the test-code flag, rather than just a pass/fail result. Pairs well with the sibling IBAN validator on the same provider for full European payment details validation.

## Known failure modes

- BIC code is malformed (not 8 or 11 characters) — returns valid=false with a reason
- BIC code passes format check but is not registered — may return valid=false
- Missing required 'bic' field in request body — returns validation error
- Network timeout or upstream service unavailability

## How this service works

BIC/SWIFT code validation and parsing: bank, country, location and branch codes, test-code flag.

## Output

Returns a JSON object with the original BIC code, a boolean validity flag, parsed components (bank code, country code, location code, branch/office code), a boolean test-code flag, and an optional note or reason if the code is invalid.

## 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": {
     "required": [
      "bic"
     ],
     "properties": {
      "bic": {
       "type": "string",
       "description": "BIC/SWIFT code (8 or 11 characters)"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "bic": {
       "type": [
        "string",
        "null"
       ]
      },
      "nota": {
       "type": [
        "string",
        "null"
       ]
      },
      "pais": {
       "type": [
        "string",
        "null"
       ]
      },
      "banco": {
       "type": [
        "string",
        "null"
       ]
      },
      "motivo": {
       "type": [
        "string",
        "number",
        "boolean",
        "object",
        "array",
        "null"
       ]
      },
      "valido": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "oficina": {
       "type": [
        "string",
        "null"
       ]
      },
      "es_prueba": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "localidad": {
       "type": [
        "string",
        "null"
       ]
      }
     }
    }
   }
  }
 }
}
```

## More

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