Our SWIFT/BIC Code API helps you verify and find bank identifier codes for financial institutions worldwide. Look up any SWIFT/BIC code to get complete bank details including name, address, and location, or search for codes by browsing through countries, banks, and cities.
The Lookup service accepts any 8 or 11-character SWIFT/BIC code and returns detailed information about the bank including physical address, city, country, and bank name and identifier. Every lookup verifies the code exists and returns structured data you can use to confirm recipient details, catch input errors, and prevent failed international transfers. The Finder service allows you to navigate between available countries, choose banks in each state, see branches in different cities, and find a SWIFT/BIC code of a specific branch.
Designed for payment platforms, remittance services, banking systems, money transfer applications, and personal finance solutions. No matter if you want to confirm beneficiary bank data for wire transfers, make a bank selector tool for checkout, help users to search their SWIFT/BIC code, or check bank details before sending money to another country, our API gives reliable data to make global transactions smooth.
Search any SWIFT/BIC code and get details for each SWIFT code including bank name, physical address, branch location, country, and structured bank code breakdown for accurate record keeping.
SWIFT/BIC codes can be submitted in either the standard 8 characters (without branch) or full 11 characters (with branch) format. Our service recognizes both and retrieves accurate bank information regardless of which format you provide.
Verify if a SWIFT/BIC code is valid and active before processing payments. Our service checks codes against a maintained database and returns an error for non-existent codes, helping you catch mistakes early.
Get a complete list of countries where SWIFT/BIC code data is supported. Useful when you need to show country options and let users see which countries can be selected.
Retrieve all banks for any country, view cities where a specific bank operates, and get SWIFT/BIC codes for branches in selected locations.
Access SWIFT/BIC codes for banks worldwide, covering major financial institutions across multiple countries and regions.
$ pip install requests
$ pip install requests
Lookup Endpoint Parameters:
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| format | No | String | xml | Specify the desired response format. Options: "json" or "xml". |
| swiftCode | Yes | String | - | SWIFT/BIC code to lookup (must be 8 or 11 characters). |
Finder Endpoint Parameters:
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| format | No | String | xml | Specify the desired response format. Options: "json" or "xml". |
| country | No | String | - | Country name (accepts full name, e.g., Pakistan, United States). If only the country parameter is supplied, lists all banks in the country. |
| bank | No | String | - | Bank name (upper case) used to filter SWIFT codes. Should be used together with the country parameter. If only country and bank are provided (without city), returns the list of cities for that bank. |
| city | No | String | - | City name (upper case) to narrow results to a specific city for that bank. Gives SWIFT codes for a bank in the specified city. |
For the Finder endpoint, parameters must follow a hierarchical sequence: country → bank → city. You cannot use bank without country, or city without both country and bank.
For a comprehensive view of the API response structure and detailed field descriptions, explore the interactive Response Table. For SWIFT Code Finder API click here and for SWIFT Code Lookup API click here.
| HTTP Status | Reasons |
|---|---|
| 400 | (1) Invalid SWIFT code length - must be either 8 or 11 characters. (2) Invalid query parameters - must follow sequence: country → bank → city. |
| 404 | No bank found with the provided SWIFT code. |
Navigate through the hierarchy of countries, banks, and cities to locate the exact SWIFT code for any bank branch worldwide.
# Response [ "Albania", "Andorra", "Argentina", "Armenia", "Australia", . . . ]curl -X 'GET' 'https://api.apifreaks.com/v1.0/swift-code/finder?apiKey=API-KEY'
# Response [ "1ST CAPITAL LENDING FUND INC.", "1ST STATE BANK, INC.", "3M COMPANY", "3M HEALTH CARE COMPANY", "4086 ADVISORS, INC.", . . . ]curl -X 'GET' 'https://api.apifreaks.com/v1.0/swift-code/finder?apiKey=API-KEY&country=United%20States'
# Response [ "CHARLOTTE", "CHICAGO", "JERSEY CITY", "NEW YORK" ]curl -X 'GET' 'https://api.apifreaks.com/v1.0/swift-code/finder?apiKey=API-KEY&country=United%20States&bank=BANK%20OF%20AMERICA%20CORPORATION'
# Response [ "MLCOUS33GFX", "MLCOUS33MFM", "MLCOUS33PBG", "MLCOUS3BFUT", "MLCOUS3GATL", . . . ]curl -X 'GET' 'https://api.apifreaks.com/v1.0/swift-code/finder?apiKey=API-KEY&country=United%20States&bank=BANK%20OF%20AMERICA%20CORPORATION&city=NEW%20YORK'
Look up complete bank information using any SWIFT/BIC code to verify recipient details before processing international transfers.
# Response { "countryCode": "US", "swiftCode": "MLCOUS3GCA2", "bankAddress": "101 HUDSON STREET, FLOOR 18", "bankCode": "MLCO", "bankName": "BANK OF AMERICA CORPORATION", "city": "NEW YORK", "country": "United States" }curl -X 'GET' 'https://api.apifreaks.com/v1.0/swift-code/lookup?apiKey=API-KEY&swiftCode=MLCOUS3GCA2'
To use the SWIFT/BIC Code Lookup & Finder APIs, API credits are required. Charges apply only for successful queries, indicated by a 2xx status code. If a request results in a 4xx or 5xx status code, no credits will be deducted, and any credits previously charged will be refunded.
Utilize the Credits Usage API to efficiently monitor your recent consumption of both one-off and subscription credits. This API provides a streamlined way to track and manage your credit usage, ensuring you stay informed about your remaining balance and can optimize your resource allocation effectively.