BankCheck
HomeIBANRouting NumberSort CodeGuides
Home
IBAN
Routing Number
Sort Code
Guides

BankCheck

Validate any bank number instantly. Free and 100% client-side.

Your data never leaves the browser

Formats

IBAN40+ countriesRouting NumberUnited StatesSort CodeUK & Ireland

Info

GuidesCompareAlternativesAboutPrivacy PolicyTerms of UseAPI Docs

BankCheck checks whether a number could be valid based on format, length, and checksum rules. It does not verify that an account exists or confirm who it belongs to. Always confirm account details with your bank before making a payment.

© 2026 BankCheck

IBAN Validation API

Validate International Bank Account Numbers from 40+ countries using ISO 13616 MOD-97. Returns structure breakdown, bank lookup, and detailed error codes.

Valid IBAN Example

bashRequest
curl "https://bankcheck.dev/api/v1/validate?q=GB29NWBK60161331926819"
jsonResponse
{
  "apiVersion": "1",
  "processingTimeMs": 1,
  "result": {
    "valid": true,
    "format": "iban",
    "normalized": "GB29NWBK60161331926819",
    "errors": [],
    "breakdown": {
      "formatName": "IBAN",
      "parts": [
        { "label": "Country", "value": "GB", "start": 0, "end": 2 },
        { "label": "Check Digits", "value": "29", "start": 2, "end": 4 },
        { "label": "Bank Code", "value": "NWBK", "start": 4, "end": 8 },
        { "label": "Sort Code", "value": "601613", "start": 8, "end": 14 },
        { "label": "Account Number", "value": "31926819", "start": 14, "end": 22 }
      ]
    },
    "bankInfo": {
      "bankName": "NatWest",
      "bic": "NWBKGB2L",
      "country": "United Kingdom",
      "countryCode": "GB",
      "city": "London"
    }
  }
}

Invalid IBAN Example

bashRequest
curl "https://bankcheck.dev/api/v1/validate?q=DE00370400440532013000"
jsonResponse
{
  "apiVersion": "1",
  "processingTimeMs": 0,
  "result": {
    "valid": false,
    "format": "iban",
    "normalized": "DE00370400440532013000",
    "errors": [
      {
        "code": "CHECKSUM_FAILED",
        "message": "IBAN check digits are incorrect",
        "suggestion": "Double-check digits 3-4 of the IBAN"
      }
    ],
    "breakdown": null,
    "bankInfo": null
  }
}

Breakdown Parts

When validation succeeds, result.breakdown.parts contains the labeled structure of the IBAN.

FieldTypeDescription
CountrystringISO 3166-1 alpha-2 country code (e.g. DE, GB, FR)
Check Digitsstring2-digit MOD-97 check digits (positions 3-4)
Bank CodestringBank identifier — format varies by country (BLZ, sort code, BIC prefix, etc.)
Account NumberstringDomestic account number — length and format vary by country

Error Codes

FieldTypeDescription
UNKNOWN_COUNTRYerrorThe 2-letter country code is not recognized as an IBAN-issuing country
WRONG_LENGTHerrorThe IBAN length does not match the expected length for the country
INVALID_BBAN_FORMATerrorThe BBAN portion does not match the country's expected pattern
CHECKSUM_FAILEDerrorThe MOD-97 check digit verification failed

Supported Countries

The API validates IBANs from 77 countries including Germany, United Kingdom, France, Spain, Italy, Netherlands, Belgium, Austria, Switzerland, Poland, and more. Each country has specific length and BBAN format rules. See the IBAN validator for the full country list.

Back to API Docs.