# SiteCheck SWIFT/BIC Code Lookup

> SiteCheck SWIFT/BIC Code Lookup is a paid API for AI agents from api.sitecheck-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-16).

Validates a SWIFT/BIC code and returns bank name, country, branch details, and linked GLEIF LEI institution record

## Facts

- Endpoint: GET https://api.sitecheck-api.workers.dev/api/swift?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sitecheck-swift-bic-code-lookup-2d5ea285
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pi241-XLa4Gh-OhnySNa7

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 sitecheck-swift-bic-code-lookup-2d5ea285
```

Example prompt: Can you validate the SWIFT code DEUTDEFF and tell me which bank it belongs to, what country it's in, and whether it's associated with a real institution?

## When to prefer this

Use this endpoint when you need to validate a SWIFT/BIC code against both format rules and real GLEIF LEI registry data, especially when you want enriched institution details (name, address, LEI) alongside the validity check. Prefer this over simple regex validators when you need to confirm the bank actually exists and retrieve its legal entity information for KYC or compliance workflows.

## Known failure modes

- Invalid BIC format (not 8 or 11 characters) returns validation error
- BIC passes format check but has no matching GLEIF LEI record — institution field may be null
- Unknown country code in BIC results in unrecognized country
- Network or upstream GLEIF API unavailability causes 5xx errors
- Payment required (402) if x402 payment header is missing or insufficient

## How this service works

Checks a SWIFT/BIC code (8 or 11 characters): the format, bank code, country and its name, location, test and passive flags, branch, and the institution's LEI, legal name and address from GLEIF when a record carries that BIC. Without a GLEIF match the answer still gives the format check and institution null, with the reason. Pure code plus one GLEIF call, cached a day.

## Output

A JSON object containing: the parsed BIC components (bank code, country, location, branch), a validity boolean, whether it is a test BIC, the country name, a matched GLEIF LEI record with institution name and address, a primary office flag, a passive participant flag, and the timestamp of the check.

## 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"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "bic"
     ],
     "properties": {
      "bic": {
       "type": "string",
       "description": "A SWIFT/BIC code, 8 or 11 characters, e.g. DEUTDEFF or DEUTDEFF500"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "bic": "DEUTDEFF",
  "bank": "DEUT",
  "valid": true,
  "branch": null,
  "source": "Format check in code (ISO 3166 country names); GLEIF LEI records (BIC filter), CC0",
  "country": "DE",
  "testBic": false,
  "location": "FF",
  "checkedAt": "2026-10-15T15:16:48.222Z",
  "countryName": "Germany",
  "institution": {
   "lei": "7LTWFZYICNSX8D621K86",
   "name": "DEUTSCHE BANK AKTIENGESELLSCHAFT",
   "address": "Taunusanlage 12, Frankfurt am Main, 60325, DE"
  },
  "primaryOffice": true,
  "institutionNote": null,
  "passiveParticipant": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sitecheck-swift-bic-code-lookup-2d5ea285/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.sitecheck-api.workers.dev](https://www.zero.xyz/host/api.sitecheck-api.workers.dev/llms.txt)
