Skip to content

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.

FieldTypeMeaning
validbooleantrue when the country, length, BBAN structure and check digits are all correct.
reasonstring or nullThe first check that failed: invalid_characters, invalid_format, unsupported_country, invalid_length, invalid_bban or invalid_checksum.
formats.electronicstringUpper case without spaces, the form to store and transmit.
formats.printstringGroups of four characters, the form to show people.
country.codestringISO 3166-1 alpha-2 code from the first two letters.
check_digitsstringThe two digits after the country code.
bbanstringBasic Bank Account Number: the national account identifier.
bank_codestring or nullBank identifier, read from the BBAN at the position the registry defines.
branch_codestring or nullBranch identifier, for countries whose BBAN has one.
sepabooleantrue 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.

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"}'
Request fields
ibanstring · RequiredThe IBAN, in electronic or print format. Spaces, hyphens and a leading IBAN label are ignored.
freshboolean · 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 pricing

Data 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.

Data sources

Frequently asked questions

How is an IBAN checked?
Four checks run in order: the country code must be in the SWIFT IBAN Registry, the length must match the length registered for that country, the account part (BBAN) must follow the country structure, and the two check digits must satisfy ISO 7064 MOD 97-10, as ISO 13616 requires.
Does a valid IBAN mean the account exists?
No. A valid IBAN is well formed and its check digits match, which catches any single mistyped character and any swap of two adjacent characters (ISO 7064). Whether the account is open, and who holds it, only the bank can confirm.
Where do the country formats come from?
From release 101 of the IBAN Registry that SWIFT publishes as registration authority of ISO 13616. The table is bundled with the API, so the IBAN you send is never passed to a third party.
What is the difference between the electronic and print formats?
ISO 13616 defines both: the electronic format is upper case without spaces, the form to store and transmit; the print format splits it into groups of four characters for people to read.
Which countries are in SEPA?
The 27 EU member states, Iceland, Liechtenstein, Norway, Switzerland, the United Kingdom, Andorra, Monaco, San Marino, Vatican City and, since 2024 and 2025, Albania, Moldova, Montenegro, North Macedonia and Serbia, following the European Payments Council list.

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