ISO 13616 MOD-97 IBAN checksum verification, ISO 9362 BIC/SWIFT validation, and national bank routing extraction across 87 countries.
Official, zero-dependency Node.js and TypeScript client for Global IBAN, BIC/SWIFT & Bank Routing Validator API, powered by the Stanza Micro-API Network. Delivers deterministic, sub-5ms V8 isolate execution directly to your application without 3rd-party proxies.
- 🌐 Live Web Sandbox: Try interactive queries online
- 📚 API Reference: Read complete OpenAPI specification
- ⚡ Platform Overview: Discover the Stanza Edge Portfolio
npm install @stanzaapi/iban-validator # or pnpm add @stanzaapi/iban-validator # or yarn add @stanzaapi/iban-validator
import { IbanValidatorClient } from '@stanzaapi/iban-validator'; // Initialize client (API key optional for sandbox tier evaluation) const client = new IbanValidatorClient({ apiKey: process.env.STANZA_API_KEY, }); async function main() { const result = await client.validate('DE89370400440532013000'); if (result.success) { console.log('Verification Success:', result.data); } else { console.error('Validation Error:', result.error, result.code); } } main().catch(console.error);
{
"success": true,
"data": {
"valid": true,
"iban": "DE89370400440532013000",
"country_code": "DE",
"bank_code": "37040044",
"bic_candidate": "COBADEFFXXX"
}
}| Option | Type | Default | Description |
|---|---|---|---|
apiKey |
string |
process.env.STANZA_API_KEY |
Your Stanza API Key. Required for high-throughput production tiers. |
baseUrl |
string |
https://api.stanzaapi.com/iban-validator |
Public edge API base URL. |
timeoutMs |
number |
15000 |
Request timeout in milliseconds (uses native AbortSignal.timeout). |
All responses return a typed envelope:
export interface ApiResponse<T> { success: boolean; data?: T; error?: string; code?: 'VALIDATION_ERROR' | 'UNAUTHORIZED' | 'PAYLOAD_TOO_LARGE' | 'RATE_LIMITED' | 'INTERNAL_ERROR'; }
- Global IBAN, BIC/SWIFT & Bank Routing Validator API Interactive Playground
- Stanza Microservices Directory
- Report an Issue on GitHub
MIT © Stanza — Powered by Stanza.