API Freaks logoAPI Freaks logo
CTRL+K

    APIs

  • Pricing
  • Resources
  • Tools

  • Contact us
CTRL+K
Sign InGet Started For Free
  • Overview
  • Documentation
  • How to Guides
  • Pricing
  • APIFreaks
  • Organization and Teams
  • Credits Usage API
  • IP Geolocation Lookup
  • Bulk IP Geolocation Lookup
  • Domain WHOIS Lookup
  • IP WHOIS Lookup
  • ASN Lookup
  • Domain WHOIS Historical Lookup
  • Domain WHOIS Reverse Lookup
  • Bulk Domain WHOIS Lookup
  • DNS Lookup
  • Historical DNS Lookup
  • Reverse DNS Lookup
  • Bulk DNS Lookup
  • Email Checker API
  • SSL Certificate Lookup
  • Domain Availability
  • Bulk Domain Availability API
  • Website Screenshot
  • Bulk Screenshot
  • Currencies Exchange Rates
  • Currency Converter
  • Currency Time Series
  • Currency Fluctuation
  • Geolocalized Currency Converter
  • Live Commodity Prices
  • Commodity Historical Prices
  • Commodity Fluctuation
  • Commodity Time Series
  • IBAN Validation
  • SWIFT/BIC Code Lookup & Finder
  • ZIP Code API
  • ZIP Code Search Inside Radius
  • ZIP Code Distance API
  • ZIP Code Search By City
  • Live Weather API
  • Weather Forecast API
  • Historical Weather API
  • Air Quality API
  • Marine Weather API
  • Flood Forecast API
  • Timezone Lookup
  • Timezone Converter
  • User Agent Parser
  • Bulk User Agent Parser
  • Astronomy API

SWIFT/BIC Code Lookup & Finder API - Verify and Discover Bank Identifier Codes Worldwide

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.

10K Free Credits, No Credit Card Required

Features

Lookup Bank Details by SWIFT Code

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.

Supports 8 & 11 Characters Formats

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.

Instant Check and Validation

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 List of Supported Countries

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.

Hierarchical Bank Search

Retrieve all banks for any country, view cities where a specific bank operates, and get SWIFT/BIC codes for branches in selected locations.

Worldwide Availability

Access SWIFT/BIC codes for banks worldwide, covering major financial institutions across multiple countries and regions.

Documentation

API Endpoints

SWIFT/BIC Code Lookup

GET

https://api.apifreaks.com/v1.0/swift-code/lookup

Test
LANGUAGE
Python
PHP
Java
Node
Ruby
JavaScript
C#
$ pip install requests

SWIFT/BIC Code Finder

GET

https://api.apifreaks.com/v1.0/swift-code/finder

Test
LANGUAGE
Python
PHP
Java
Node
Ruby
JavaScript
C#
$ pip install requests

API Request

Lookup Endpoint Parameters:

ParameterRequiredTypeDefaultDescription
formatNoStringxmlSpecify the desired response format. Options: "json" or "xml".
swiftCodeYesString-SWIFT/BIC code to lookup (must be 8 or 11 characters).

Finder Endpoint Parameters:

ParameterRequiredTypeDefaultDescription
formatNoStringxmlSpecify the desired response format. Options: "json" or "xml".
countryNoString-Country name (accepts full name, e.g., Pakistan, United States). If only the country parameter is supplied, lists all banks in the country.
bankNoString-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.
cityNoString-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.

API Response

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 Error Codes

HTTP StatusReasons
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.

How to Guides

Find SWIFT Code for a Specific Bank Branch

Navigate through the hierarchy of countries, banks, and cities to locate the exact SWIFT code for any bank branch worldwide.

Step 1: Get all available countries

curl -X 'GET' 'https://api.apifreaks.com/v1.0/swift-code/finder?apiKey=API-KEY'
# Response [ "Albania", "Andorra", "Argentina", "Armenia", "Australia", . . . ]

Step 2: Select a country and get all banks

curl -X 'GET' 'https://api.apifreaks.com/v1.0/swift-code/finder?apiKey=API-KEY&country=United%20States'
# Response [ "1ST CAPITAL LENDING FUND INC.", "1ST STATE BANK, INC.", "3M COMPANY", "3M HEALTH CARE COMPANY", "4086 ADVISORS, INC.", . . . ]

Step 3: Select a bank and get all branch cities

curl -X 'GET' 'https://api.apifreaks.com/v1.0/swift-code/finder?apiKey=API-KEY&country=United%20States&bank=BANK%20OF%20AMERICA%20CORPORATION'
# Response [ "CHARLOTTE", "CHICAGO", "JERSEY CITY", "NEW YORK" ]

Step 4: Select a city and get all SWIFT codes

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'
# Response [ "MLCOUS33GFX", "MLCOUS33MFM", "MLCOUS33PBG", "MLCOUS3BFUT", "MLCOUS3GATL", . . . ]

Verify Bank Details Using SWIFT Code

Look up complete bank information using any SWIFT/BIC code to verify recipient details before processing international transfers.

curl -X 'GET' 'https://api.apifreaks.com/v1.0/swift-code/lookup?apiKey=API-KEY&swiftCode=MLCOUS3GCA2'
# Response { "countryCode": "US", "swiftCode": "MLCOUS3GCA2", "bankAddress": "101 HUDSON STREET, FLOOR 18", "bankCode": "MLCO", "bankName": "BANK OF AMERICA CORPORATION", "city": "NEW YORK", "country": "United States" }

Pricing

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.

  • SWIFT/BIC Code Lookup: For each successful request, 20 credits will be charged.
  • SWIFT/BIC Code Finder: Credit consumption varies based on parameters:
    • No parameters (list all countries): 0 credits
    • Country parameter only (list banks in country): 5 credits
    • Country + Bank parameters (list cities for bank): 5 credits
    • Country + Bank + City parameters (list SWIFT codes): 10 credits

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.

Price Estimation Calculator

Ready to get started?

Sign Up for Free

APIFreaks

API Catalog

  • Geolocation APIs
  • WHOIS APIs
  • DNS APIs
  • Email Validation APIs
  • SSL APIs
  • Domain APIs
  • Screenshot APIs
  • Currency APIs
  • Commodity APIs
  • Financial APIs
  • ZIP Code APIs
  • Weather APIs
  • Timezone APIs
  • User Agent APIs
  • Other APIs

Tools Catalog

  • Code Formatters
  • Data & Query Tools
  • Text Tools
  • Email Utilities
  • DNS Tools
  • Viewers
  • Converters
  • PDF Tools

Docs

  • APIs
  • Swagger Docs

Pricing & Accounts

  • Pricing
  • Sign up
  • Sign In

Company

  • About Us
  • Resources
  • Terms
  • Privacy

Copyright © 2026

Made in Pakistan