ISO 13616 MOD-97 IBAN checksum verification, ISO 9362 BIC/SWIFT validation, and national bank routing extraction across 87 countries.
Official, zero-dependency Python 3.8+ client library for Global IBAN, BIC/SWIFT & Bank Routing Validator API, built on the Stanza Micro-API Network. Intended for enterprise data pipelines, backend verification, and sub-5ms edge compute.
- 🌐 Live Web Playground: Test your inputs online
- 📚 API Documentation: View full schema on Stanza
- ⚡ Platform Overview: Explore the Stanza Developer Network
pip install stanzaapi-iban-validatorimport os
from stanzaapi_iban_validator import IbanValidatorClient
# Initialize client (api_key optional for local evaluation)
client = IbanValidatorClient(
api_key=os.getenv("STANZA_API_KEY")
)
# Execute deterministic validation
response = client.validate("DE89370400440532013000")
if response.get("success"):
print("Verification Success:", response["data"])
else:
print("Validation Error:", response.get("error"), response.get("code")){
"success": true,
"data": {
"valid": true,
"iban": "DE89370400440532013000",
"country_code": "DE",
"bank_code": "37040044",
"bic_candidate": "COBADEFFXXX"
}
}| Parameter | Type | Default | Description |
|---|---|---|---|
api_key |
Optional[str] |
os.getenv("STANZA_API_KEY") |
Your Stanza API Key. Required for production quotas. |
base_url |
Optional[str] |
"https://api.stanzaapi.com/iban-validator" |
Public edge API base URL. |
timeout |
int |
15 |
Request timeout in seconds. |
- Global IBAN, BIC/SWIFT & Bank Routing Validator API Interactive Sandbox
- Stanza Developer Directory
- Source Code & Issue Tracker
MIT © Stanza — Powered by Stanza.