Validate
Check an IBAN before you send money to it
Send an IBAN in any common format. The API checks it against the format its country registered with SWIFT, verifies the check digits and returns the bank code, branch code and whether the country is in SEPA.
What one lookup returns
The fields this product reads from the response. The full schema is in the API reference.
| Field | Type | Meaning |
|---|---|---|
| valid | boolean | true when the country, length, BBAN structure and check digits are all correct. |
| reason | string or null | The first check that failed: invalid_characters, invalid_format, unsupported_country, invalid_length, invalid_bban or invalid_checksum. |
| formats.electronic | string | Upper case without spaces, the form to store and transmit. |
| formats.print | string | Groups of four characters, the form to show people. |
| country.code | string | ISO 3166-1 alpha-2 code from the first two letters. |
| check_digits | string | The two digits after the country code. |
| bban | string | Basic Bank Account Number: the national account identifier. |
| bank_code | string or null | Bank identifier, read from the BBAN at the position the registry defines. |
| branch_code | string or null | Branch identifier, for countries whose BBAN has one. |
| sepa | boolean | true when the country is in the geographical scope of the SEPA schemes. |
Live example
The response below was returned by the API for this request.
curl https://api.qelka.com/v1/iban \
-H "Authorization: Bearer sk_test_your_key" \
-H "Content-Type: application/json" \
-d '{"iban":"GB29 NWBK 6016 1331 9268 19"}'| iban | string · RequiredThe IBAN, in electronic or print format. Spaces, hyphens and a leading IBAN label are ignored. |
|---|---|
| fresh | boolean · Default falsetrue skips the result cache and runs the lookup again. |
Response
{
"id": "lkp_01M85QF1P2X7R07K1R4CBTZ68G",
"object": "iban",
"input": "GB29 NWBK 6016 1331 9268 19",
"valid": true,
"status": "valid",
"reason": null,
"iban": "GB29NWBK60161331926819",
"formats": {
"electronic": "GB29NWBK60161331926819",
"print": "GB29 NWBK 6016 1331 9268 19"
},
"country": {
"code": "GB",
"name": "United Kingdom"
},
"check_digits": "29",
"bban": "NWBK60161331926819",
"bank_code": "NWBK",
"branch_code": "601613",
"sepa": true,
"expected_length": 22,
"credits_used": 1,
"cached": false
}Use cases
Catch typos at checkout
Reject a mistyped IBAN in the form, before a direct debit mandate bounces.
Pay suppliers safely
Validate the bank details of a new supplier before the first transfer leaves.
Route SEPA payments
Know whether a transfer can go through the SEPA schemes or needs another rail.
Clean payout data
Normalize stored IBANs to the electronic format and flag the broken ones.
Price
1 credit per lookup, from the same balance as every other product.
- Starter
- $2.90 per 1,000 lookups
- Growth
- $1.98 per 1,000 lookups
- Scale
- $1.50 per 1,000 lookups
- Business
- $1.07 per 1,000 lookups
The free plan includes 100 credits every month. Errors, upstream failures and test keys are never billed.
See pricingData source and freshness
Computed on each call from a reference table bundled with the API. No third party sees your input. Results are not cached: every call is computed again.
- IBAN Registry (ISO 13616), release 101
License: No license stated · Refresh: on change
- EPC list of countries in the SEPA schemes (EPC409-09), version 8.0
License: No license stated · Refresh: on change
Frequently asked questions
How is an IBAN checked?
Does a valid IBAN mean the account exists?
Where do the country formats come from?
What is the difference between the electronic and print formats?
Which countries are in SEPA?
Put this check in your product
Get an API key in under a minute. 100 free credits every month, no card required.
- 100 free credits a month
- No card
- Test keys spend nothing
- Cancel any time