Lumeo APIs
Finance

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 playground

IBAN & 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

🌐 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)

EndpointWhat it returns
GET/iban/validateValidate & 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/bulkBulk 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/generateGenerate 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/countriesIBAN 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/validateValidate 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/validateValidate 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'

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 RapidAPI

Related APIs

Finance

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.

Finance

Yahoo Finance Realtime

Real-time & historical market data: quotes, OHLC history, symbol search, fundamentals, trending tickers and options for stocks, crypto, FX and indices.

Finance

Metals 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.

Finance

Stock 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.

Finance

World Economic Indicators API

GDP, inflation, unemployment, population & 60+ indicators for 200+ countries: time series since 1960, country snapshot, comparison and rankings.