lookup_bic
Resolve any BIC/SWIFT code to its bank's name, country, city, LEI, and address. Use when you have an 8 or 11 character SWIFT code and need to identify the institution.
Instructions
Resolve a BIC / SWIFT code into the underlying bank: name, country, city, LEI, address. USE WHEN: the user already has a BIC/SWIFT (8 or 11 chars, alphanumeric, e.g., "UBSWCHZH80A", "DEUTDEFF") and asks which bank it belongs to, where the bank is, or its LEI for compliance/regulatory matching. DO NOT USE for IBAN inputs — call validate_iban instead, it resolves the BIC for you. BACKED BY: 121,197 GLEIF entries with LEI enrichment, refreshed weekly. RETURNS: bank_name, country, country_name, city, lei, address (if available). COST: 0.003 USDC.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bic | Yes | BIC / SWIFT code, 8 or 11 alphanumeric characters. Example: "UBSWCHZH80A" (UBS Switzerland) or "DEUTDEFF" (Deutsche Bank Frankfurt). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bic | Yes | Echo of the input, normalized to uppercase. | |
| lei | No | Legal Entity Identifier (ISO 17442) if available. | |
| bic8 | No | 8-char form (institution-level). | |
| city | No | ||
| bic11 | No | 11-char form including branch. | |
| found | Yes | ||
| address | No | ||
| country | No | ||
| institution | No | Bank legal name. | |
| valid_format | Yes |