API Almanac
API reference › Validate

Check an IBAN: country, length and mod-97 check digits

GET/v1/validate/iban

GET/v1/validate/iban

Check an IBAN: country, length and mod-97 check digits

PARAMETERS
ibanquery · stringREQUIRED
IBAN, spaces allowed
e.g. GB82 WEST 1234 5698 7654 32
In the full reference
REQUEST
curl "https://api.apialmanac.com/v1/validate/iban?iban=GB82+WEST+1234+5698+7654+32" \
  -H "X-API-Key: YOUR_KEY"
RESPONSE
200OK
{
  "input": "GB82 WEST 1234 5698 7654 32",
  "iban": "GB82WEST12345698765432",
  "formatted": "GB82 WEST 1234 5698 7654 32",
  "country": "GB",
  "valid": true,
  "reason": null,
  "check_digits": "82",
  "bban": "WEST12345698765432"
}
Try it — sign in first
Runs on a sandbox key: 200 requests a month. Your real key is for production.