IBAN & SWIFT/BIC Validator API
Validate IBANs for 80+ countries (checksum, length, structure), extract bank/branch/account, bulk check, generate IBAN, validate BIC & card numbers.
Get a free API key on RapidAPI Try it in the playgroundIBAN & SWIFT/BIC Validator API
Stop failed payments before they happen. All checks run on the edge in a few milliseconds with no third-party dependency, and no banking data ever leaves the request.
🏦 IBAN
- Validate any IBAN: country, exact length, national BBAN structure and ISO 7064 mod-97 checksum, with clear error codes (
bad_length,bad_structure,bad_checksum…) - Parse: country, SEPA membership, bank code, branch code, account number, formatted and electronic forms
- Bulk validation of up to 100 IBANs per call
- Generate an IBAN (check digits calculated) from a national account number
- Registry of all IBAN countries with lengths and structures
🌐 SWIFT / BIC
ISO 9362 format validation with institution, country, location and branch parts, BIC8 / BIC11 forms and test-BIC detection.
💳 Card numbers
Luhn check plus brand detection (Visa, Mastercard, Amex, Discover, JCB, UnionPay, Diners, Maestro, Mir…).
Use cases: checkout and payout forms · invoicing & accounting software · payroll · KYC / onboarding · marketplaces paying sellers · ERP data cleansing
Keywords: iban validator api, iban checker, iban validation, swift code, bic validation, sepa, bank account validation, iban calculator, luhn check, credit card validator
Endpoints (6)
| Endpoint | What it returns |
|---|---|
GET/iban/validate | Validate & parse IBAN Validate an IBAN (spaces and dashes are ignored) and split it into country, check digits, bank code, branch code and account number. Invalid IBANs return `valid:false` with error codes explaining why. |
GET/iban/bulk | Bulk validate IBANs Validate up to 100 IBANs in one call (comma-separated in GET, or POST {"ibans":[…]}). Returns a compact result per IBAN and totals. |
GET/iban/generate | Generate IBAN Build an IBAN by calculating the check digits from a country and either the full BBAN or the bank code / branch code / account number (zero-padded to the national layout). |
GET/iban/countries | IBAN countries All countries that use IBAN with IBAN length, BBAN structure (n = digits, a = letters, c = alphanumeric), SEPA membership and an example layout. |
GET/bic/validate | Validate SWIFT/BIC Validate the format of a SWIFT/BIC code (ISO 9362) and split it into institution, country, location and branch codes, with BIC8 and BIC11 forms. |
GET/card/validate | Validate card number Luhn checksum, length check and brand detection for a payment card number. Returns only the BIN and last four digits. |
Quick start
Subscribe on RapidAPI (free plan available), copy your key, and call GET /iban/validate:
curl --request GET \
--url 'https://iban-swift-bic-validator-api1.p.rapidapi.com/iban/validate?iban=DE89+3704+0044+0532+0130+00' \
--header 'x-rapidapi-host: iban-swift-bic-validator-api1.p.rapidapi.com' \
--header 'x-rapidapi-key: YOUR_RAPIDAPI_KEY'import requests
url = "https://iban-swift-bic-validator-api1.p.rapidapi.com/iban/validate?iban=DE89+3704+0044+0532+0130+00"
headers = {
"x-rapidapi-host": "iban-swift-bic-validator-api1.p.rapidapi.com",
"x-rapidapi-key": "YOUR_RAPIDAPI_KEY",
}
resp = requests.get(url, headers=headers)
print(resp.json())const res = await fetch("https://iban-swift-bic-validator-api1.p.rapidapi.com/iban/validate?iban=DE89+3704+0044+0532+0130+00", {
method: "GET",
headers: {
"x-rapidapi-host": "iban-swift-bic-validator-api1.p.rapidapi.com",
"x-rapidapi-key": "YOUR_RAPIDAPI_KEY"
}
});
console.log(await res.json());
Example response
{
"iban": "DE89370400440532013000",
"valid": true,
"formatted": "DE89 3704 0044 0532 0130 00",
"country_code": "DE",
"country": "Germany",
"sepa": true,
"check_digits": "89",
"checksum_valid": true,
"bban": "370400440532013000",
"bank_code": "37040044",
"branch_code": null,
"account_number": "0532013000",
"errors": [],
"electronic_format": "DE89370400440532013000"
}
Start free. Every plan includes all endpoints; upgrade only when you need more requests. Runs on Cloudflare's global network for low latency worldwide.
Subscribe on RapidAPIRelated APIs
ForexFactory Economic Calendar
The ForexFactory economic calendar as clean JSON: every event with impact, time and actual / forecast / previous, filterable by date, currency and impact.
FinanceYahoo Finance Realtime
Real-time & historical market data: quotes, OHLC history, symbol search, fundamentals, trending tickers and options for stocks, crypto, FX and indices.
FinanceMetals Prices API - Gold, Silver, Platinum & More
Real-time gold, silver, platinum & palladium spot prices in 35+ currencies and any unit (gram, tola, ounce…), karat tables, base metals and history.
FinanceStock Market API - Real-Time Data & Fundamentals
All-in-one US stock market data: real-time & batch quotes, history, options, financials, earnings, analysts, insiders, calendars, screener, technicals, news.
FinanceWorld Economic Indicators API
GDP, inflation, unemployment, population & 60+ indicators for 200+ countries: time series since 1960, country snapshot, comparison and rankings.