Our IBAN Validation API enables you to check international bank account numbers for any country. You can instantly verify if an IBAN is valid or not, obtain a full analysis of its structure, and retrieve bank details if they exist.
You can get detailed insight and breakdown of an IBAN, including its country code, check digits, bank code, branch identifier, complete account string and confirms SEPA payment compatibility. For supported countries, API preforms BBAN checksum validations, SWIFT/BIC identifiers, as well as institution names and branch addresses. The API also shares the IBAN structural layout used by supported countries, allowing you to see what IBANs should look like.
From e-commerce checkouts to freelance marketplaces, validate IBANs at the point of entry to prevent failed transfers, streamline payroll, and secure global payments.
Check IBANs with international standards and returns if it is valid or not and makes sure account numbers follow international banking formats. The API parses and gives detailed IBAN structure like country code, checking digits, bank code, branch numbers, and the BBAN format following how banks do in every country.
Instantly identifies whether the validated IBAN belongs to a SEPA-supported country. This matters for handling payments in euros and figuring out cross-border transaction paths in Europe.
Performs domestic validation for following countries by BBAN checksum. It checks bank codes and the structure of account using local banking formats and catches wrong formatting.Supported Countries United Kingdom (GB), Germany (DE), France (FR), Italy (IT), Spain (ES), Netherlands (NL), Sweden (SE), and Belgium (BE).
Automatically retrieves bank names, branch codes, and institution details for the supported countries. This helps users verify the destination bank alongside the account number. Supported Countries: United Kingdom (GB), Pakistan (PK), Ireland (IE), Germany (DE), Sweden (SE), Gibraltar (GI), Bahrain (BH), and Azerbaijan (AZ).
Parses and returns structured IBAN components including country code, check digits, bank code, branch code, account number, and full BBAN formatted according to each country's banking standards.
It verifies if the IBAN has the correct length for the country standard by international rules. This is useful for finding user input mistakes before proceeding to process payment or saving account information.
$ pip install requests
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| iban | Yes | string | - | The International Bank Account Number to validate. Must be a single IBAN string without spaces (e.g., "GB06NWBK04000300000003"). |
For a comprehensive view of the API response structure and detailed field descriptions, explore the interactive Response Table. For IBAN Validation API Test Page click here.
Our API validates IBAN format for countries worldwide. For a complete list of supported countries, view all (supported countries) click here.
For select countries, the API performs additional domestic account number validation beyond standard IBAN format checks. This verifies that bank codes and account numbers are mathematically correct according to local banking standards.
For certain countries, valid IBANs return detailed banking information extracted from official registries.
| HTTP Status | Reasons |
|---|---|
| 400 | (1) Missing required parameter "iban".
(2) More than one IBAN number provided.
(3) Invalid IBAN length for the specified country.
(4) Invalid IBAN checksum. |
Verify any international bank account number and retrieve complete banking information in a single API call. The API validates format, performs checksum verification, and extracts bank details where available.
# Response { "valid": true, "iban": "DE77100909000001007000", "validation": { "country": "Germany", "countryCode": "DE", "sepa": true, "length": 22, "structure": "DE2!n8!n10!n" }, "breakdown": { "countryCode": "DE", "checkDigits": "77", "bankCode": "10090900", "branchCode": "", "accountNumber": "0001007000", "bban": "100909000001007000", "isBbanValid": true }, "bankInfo": { "bankName": "PSD Bank Berlin-Brandenburg (Gf P2)", "swift_or_bic": "GENODEF1P01", "city": "Berlin", "country": "Germany", "bankCode": null, "bankAddress": null }, "message": "IBAN format is valid and comprehensive details based on IBAN format are provided only" }curl -X 'GET' 'https://api.apifreaks.com/v1.0/iban/validation?apiKey=YOUR_API_KEY&iban=DE77100909000001007000'
Determine if an IBAN belongs to a SEPA-supported country for Euro payment processing across the Single Euro Payments Area.
# Response { "valid": true, "iban": "FR1420041010050500013M02606", "validation": { "country": "France", "countryCode": "FR", "sepa": true, "length": 27, "structure": "FR2!n5!n5!n11!c2!n" }, "breakdown": { "countryCode": "FR", "checkDigits": "14", "bankCode": "20041", "branchCode": "", "accountNumber": "010050500013M02606", "bban": "20041010050500013M02606", "isBbanValid": false }, "bankInfo": null, "message": "IBAN format is valid and comprehensive details based on IBAN format are provided only" }curl -X 'GET' 'https://api.apifreaks.com/v1.0/iban/validation?apiKey=API-KEY&iban=FR1420041010050500013M02606'
For supported countries, the API automatically extracts bank details from the IBAN structure and returns detailed banking information, including institution names and branch codes.
# Response { "valid": true, "iban": "GB06NWBK04000300000003", "validation": { "country": "United Kingdom", "countryCode": "GB", "sepa": true, "length": 22, "structure": "GB2!n4!a6!n8!n" }, "breakdown": { "countryCode": "GB", "checkDigits": "06", "bankCode": "NWBK", "branchCode": "040003", "accountNumber": "00000003", "bban": "NWBK04000300000003", "isBbanValid": true }, "bankInfo": { "bankName": "NATIONAL WESTMINSTER BANK PLC", "swift_or_bic": "NWBKGB2LBHM", "city": "BIRMINGHAM", "country": "United Kingdom", "bankCode": "NWBK", "bankAddress": "6 BRINDLEY PLACE" }, "message": "IBAN format is valid and comprehensive details based on IBAN format are provided only" }curl -X 'GET' 'https://api.apifreaks.com/v1.0/iban/validation?apiKey=API-KEY&iban=GB06NWBK04000300000003'
The API performs additional BBAN (Basic Bank Account Number) checksum validation for select countries. The validation result is included in the response breakdown.
# Response { "valid": true, "iban": "SE2462341234567890000000", "validation": { "country": "Sweden", "countryCode": "SE", "sepa": true, "length": 24, "structure": "SE2!n3!n16!n1!n" }, "breakdown": { "countryCode": "SE", "checkDigits": "24", "bankCode": "623", "branchCode": "", "accountNumber": "41234567890000000", "bban": "62341234567890000000", "isBbanValid": true }, "bankInfo": { "bankName": "Handelsbanken 0", "swift_or_bic": null, "city": null, "country": "Sweden", "bankCode": null, "bankAddress": null }, "message": "IBAN format is valid and comprehensive details based on IBAN format are provided only" }curl -X 'GET' 'https://api.apifreaks.com/v1.0/iban/validation?apiKey=API-KEY&iban=SE2462341234567890000000'
To use the IBAN Validation API, API credits are required. Charges apply only for successful queries, defined by a 2xx status code. If a request results in a 4xx or 5xx status code, no credits will be deducted, and any credits already charged will be refunded.
For each successful request, 20 credit will be charged. 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.