REST API & PHP Client
Integrate IBANTEST into your applications with our powerful API
REST API & PHP Client
IBAN Validation
https://api.ibantest.com/v1/validate-iban/<iban>
Use this endpoint to validate and verify an IBAN. The response includes:
- Test results for various validation checks
- IBAN details (account number, bank code, checksum)
- Bank information (BIC, name, address)
IBAN Calculation
https://api.ibantest.com/v1/calculate-iban/<countryCode>/<bankCode>/<account>
Calculate an IBAN and BIC using account number, bank code, and country. The response includes:
- Calculated IBAN and validation results
- IBAN components and breakdown
- Complete bank information
BIC / SWIFT Code Validation
https://api.ibantest.com/v1/validate-bic/<bic>
Validate a BIC code and retrieve associated bank information. If valid, the response includes:
- BIC verification result
- Bank name and address
- Multiple banks if a SWIFT code covers several institutions
Find Bank
https://api.ibantest.com/v1/find-bank/<countryCode>/<bankCode>
If you only have a bank code but not the BIC, use this endpoint to find bank information. Provide:
- Country code (e.g., DE, AT, CH)
- Bank code (e.g., sorting code, routing number)
- Returns complete bank details including BIC
IBANTEST PHP Client
For PHP applications, we provide an official PHP Client as open source on GitHub. After configuring the API key from your IBANTEST account, you're ready to go.
The client includes an example.php file with many sample API calls to get you started quickly.
Quick Implementation Example
// Initialize the API client
$client = new \Ibantest\IbantestClient('YOUR_API_KEY');
// Validate an IBAN
try {
$result = $client->validateIban('DE89370400440532013000');
if ($result->isSuccess() && $result->isValid()) {
echo "The IBAN is valid!";
echo "Bank name: " . $result->getBankData()->name;
}
} catch (\Exception $e) {
echo "Error: " . $e->getMessage();
}
API / Developer
Ready to Get Started?
Use IBANTEST for precise IBAN validation and calculation – reliable and user-friendly.