Catalog/ref-iban-country

Reference

IBAN country spec + validate API

Return a country's IBAN total length, BBAN structure, and a worked example from the ISO 13616 registry (33 countries), and optionally validate a supplied IBAN (length, allowed characters, and the ISO 7064 mod-97 check). The MORE: the IBAN registry spec table + real mod-97 checksum validation, which LLMs cannot do reliably. Answers 'what is the IBAN length for Germany', 'validate this IBAN', 'IBAN format for the UK', 'is this IBAN checksum valid'.

Price$0.01per request
MethodPOST
Route/v1/ref/iban-country
StatusLive
MIME typeapplication/json
Rate limit60/minute
CacheNo cache
refibanbankiso-13616mod-97validationpaymentsbban
API URLhttps://x402.hexl.dev/v1/ref/iban-country
Integration docs
Example request
{
  "iban": "DE89370400440532013000"
}
Example response
{
  "country": "DE",
  "length": 22,
  "bbanFormat": "18n",
  "example": "DE89370400440532013000",
  "iban": "DE89370400440532013000",
  "checks": {
    "length": true,
    "characters": true,
    "mod97": true
  },
  "valid": true
}
Input schema
{
  "type": "object",
  "required": [],
  "properties": {
    "country": {
      "type": "string",
      "examples": [
        "DE"
      ]
    },
    "iban": {
      "type": "string",
      "examples": [
        "DE89370400440532013000"
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}