# BIC/SWIFT Code Reverse Lookup

> BIC/SWIFT Code Reverse Lookup is a paid API for AI agents from api.agentstools.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Given a BIC/SWIFT code, returns the resolved bank name(s), country, and domestic bank codes using offline open-registry data.

## Facts

- Endpoint: GET https://api.agentstools.dev/bank/bic
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bic-swift-code-reverse-lookup-b8692fc1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_H2iJXGPMPlnGP-bVlQhEA

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-reverse-lookup-b8692fc1
```

Example prompt: What bank does the BIC code DEUTDEDBBER belong to, and which country is it in?

## When to prefer this

Use this endpoint when you need to identify a bank from a BIC/SWIFT code, validate that a BIC is well-formed, or enrich payment data with bank name and country information. Ideal for offline, no-key lookups using open-registry data. Prefer this over live SWIFT lookup services when latency, cost, and key-free operation are priorities.

## Known failure modes

- Malformed BIC (wrong length or format) returns valid: false with error_type, not a 500
- Unknown BIC not in registry returns valid: false
- Missing required bic parameter returns an error
- BIC with no registered bank entry may return empty bank names

## How this service works

Reverse BIC / SWIFT code lookup: given a BIC, return the resolved bank name(s), the country and the domestic bank codes. Offline open-registry data (schwifty, MIT); no network or keys. A malformed BIC returns valid false with an error_type, never a 500.

## Output

Returns the bank name(s) associated with the BIC, the country, and any domestic bank codes. If the BIC is malformed or not found, returns valid: false with an error_type field rather than an error status code.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "bic"
     ],
     "properties": {
      "bic": {
       "type": "string",
       "description": "8- or 11-character BIC / SWIFT code, e.g. COBADEFFXXX."
      },
      "swift": {
       "type": "string",
       "description": "Alias of bic."
      }
     }
    }
   },
   "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-reverse-lookup-b8692fc1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agentstools.dev](https://www.zero.xyz/host/api.agentstools.dev/llms.txt)
