# SWIFT Code Lookup API

> SWIFT Code Lookup identifies the bank institution, branch, city, and country code behind any SWIFT or BIC code. Search by code or query by bank name to verify matching financial institutions and branch locations.

**Endpoint:** `GET https://api.apiverve.com/v1/swiftlookup`  
**Category:** Finance  
**Cost:** 10 credits per call  
**Canonical page:** https://apiverve.com/marketplace/swiftlookup

## Overview

A SWIFT code lookup API, SWIFT bank API and BIC lookup that gets bank data from a SWIFT code in one call. Pass an 8 or 11-character SWIFT/BIC code to retrieve the institution's name, branch, city and two-letter country code; an 8-character code also lists the branches under it. Or run a SWIFT code search by institution name to find its codes across branches. The directory holds about 113,000 BIC records from the public ISO 9362 list, covering 232 countries and territories, and each search returns up to 25 matches with a count.

## Authentication

Every call carries your key in an `x-api-key` header. The same key works across the whole
APIVerve catalog — there are no per-API subscriptions. Responses always use the same three
top-level keys: `status`, `error`, and `data`.

## Example request

```bash
curl "https://api.apiverve.com/v1/swiftlookup?swift=CHASUS33ARP&country=US" \
  -H "x-api-key: YOUR_API_KEY"
```

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `swift` | string | Yes | The SWIFT code to lookup information about. A partial code of at least 4 characters matches every code it prefixes |
| `country` | string | No | Optional. Keep only codes in this country: an ISO two-letter code (US) or the country name (United States). length 0-60 |

## Response fields

- `count` — number · Number of matching SWIFT code records returned, at most 25
  - `banks.0.bank` — string · Full legal name of the bank institution
  - `banks.0.city` — string · City and state location of the bank branch
  - `banks.0.branch` — string · Specific branch name and department information
  - `banks.0.swift_code` — string · The SWIFT/BIC code for the bank branch
  - `banks.0.country` — string · Country name where the bank is located
  - `banks.0.country_code` — string · ISO 3166-1 alpha-2 country code
  - `banks.0.is_eu` — boolean · Whether the bank's country is an EU member state
  - `banks.0.is_eea` — boolean · Whether the bank's country is in the European Economic Area (the EU plus Iceland, Liechtenstein and Norway)
  - `banks.0.is_sepa` — boolean · Whether the bank's country is in the Single Euro Payments Area (SEPA), per the European Payments Council
  - `banks.0.bic_details` — object · The code broken into its ISO 9362 parts, with its 8- and 11-character forms and whether it is the head office or a test code · (premium)
    - `banks.0.bic_details.bank_code` — string · The 4-letter institution code (DEUT for Deutsche Bank) · (premium)
    - `banks.0.bic_details.country_code` — string · The 2-letter country code inside the BIC · (premium)
    - `banks.0.bic_details.location_code` — string · The 2-character location code · (premium)
    - `banks.0.bic_details.branch_code` — string · The 3-character branch code; null for an 8-character code · (premium)
    - `banks.0.bic_details.bic8` — string · The 8-character form of the code · (premium)
    - `banks.0.bic_details.bic11` — string · The 11-character form, with XXX for the head office; some payment forms require this length · (premium)
    - `banks.0.bic_details.is_primary_office` — boolean · True for the head office: an 8-character code or a branch code of XXX · (premium)
    - `banks.0.bic_details.is_test_bic` — boolean · True when the location code ends in 0, which SWIFT reserves for test and training codes that cannot receive live payments · (premium)

## Sample response

```json
{
  "status": "ok",
  "error": null,
  "data": {
    "count": 1,
    "banks": [
      {
        "bank": "JPMORGAN CHASE BANK, N.A.",
        "city": "NEW YORK,NY",
        "branch": "ACCOUNT RECONCILIATION PROCESSING",
        "swift_code": "CHASUS33ARP",
        "country": "United States",
        "country_code": "US",
        "is_eu": false,
        "is_eea": false,
        "is_sepa": false,
        "bic_details": {
          "bank_code": "CHAS",
          "country_code": "US",
          "location_code": "33",
          "branch_code": "ARP",
          "bic8": "CHASUS33",
          "bic11": "CHASUS33ARP",
          "is_primary_office": false,
          "is_test_bic": false
        }
      }
    ]
  }
}
```

## Use cases

- **Cross-Border Wire Verification** — Before initiating an international wire, billing platforms verify the recipient's SWIFT code matches the intended legal entity and destination country.
- **Vendor Onboarding Form** — Auto-fill the bank name, branch city, and country code as soon as a supplier enters their SWIFT code during payment registration.
- **Branch Code Discovery** — Accounting software helps treasury operators locate missing branch SWIFT codes by querying institutional names across international divisions.
- **Bank Country Screening** — Risk engines cross-check the SWIFT country code against sanction lists to flag transfers directed to prohibited financial jurisdictions.

## SDKs

- **npm** — `npm install @apiverve/swiftlookup` (https://www.npmjs.com/package/@apiverve/swiftlookup)
- **NuGet** — `dotnet add package APIVerve.API.SWIFTCodeLookup` (https://www.nuget.org/packages/APIVerve.API.SWIFTCodeLookup)
- **Source** — https://github.com/apiverve/swiftlookup-api

## More

- Full reference: https://docs.apiverve.com/ref/swiftlookup
- Get an API key: https://dashboard.apiverve.com
- Full catalog: https://apiverve.com/marketplace
