Overview
Bank Data API lets you instantly validate IBAN and SWIFT/BIC numbers to make sure bank account details are correct before processing a payment. It supports banks worldwide and returns helpful details like bank name, country, and BIC code. This is a great tool for anyone building payment forms or financial apps that need to verify account information upfront.
Beginner Tip
Always validate IBANs on your server side — never trust client-submitted bank data alone. Check that the returned "valid" field is true before proceeding with any transaction.
Available Data
Example Response
{
"input": "[email protected]",
"is_valid": true,
"format_valid": true,
"details": "Input passes all validation checks"
} Field Reference
valid Whether the IBAN is structurally valid and passes checksum verification. iban The IBAN number that was validated, returned in standardized format. bank_data.name The name of the bank associated with the IBAN. bank_data.bic The BIC/SWIFT code of the bank. bank_data.country The country where the bank is registered (ISO 3166-1 alpha-2 code). Implementation Example
const url = "https://apilayer.com/marketplace/bank_data-api";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
headers: {
"X-API-Key": "YOUR_API_KEY"
}
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Matrix Score Breakdown
Partially tested on Apr 5, 2026
Technical Specifications
Similar APIs
View All →Aletheia
Aletheia provides financial data including insider trading filings, earnings call transcripts, and financial statements for US-listed companies.
Alpaca
Alpaca provides real-time and historical market data for US equities and ETFs, along with commission-free trading capabilities.
Alpha Vantage
⭐ Beginner's PickAlpha Vantage delivers free real-time and historical stock, forex, and cryptocurrency data through a simple REST API.
Billplz
Billplz is a payment platform API focused on the Malaysian market that lets you create bills and collect payments online.
Boleto.Cloud
Boleto.Cloud is a Brazilian payment API that lets you generate boletos — the popular Brazilian bank slip payment method used widely for bills and online purchases.