South Star

IBAN Validator Parser Checksum BIC Batch API

Free tier included · Finance
Validate IBANs, SWIFT/BIC codes, US ABA routing numbers and SEPA RF references offline with checksum, structure and country rules. Batch up to 1000. No storage, no external calls.

It validates IBANs (ISO 13616 MOD 97-10 checksum + structure + country rules via the local schwifty registry), decomposes SWIFT/BIC codes (ISO 9362), verifies US ABA routing numbers (3-7-1 weighted MOD 10 + Federal Reserve prefix classification), and validates/generates SEPA RF creditor references (ISO 11649 MOD 97-10). It also formats IBANs, recomputes check digits on IBAN-shaped strings, checks bank/branch code structure, handles national check digits, normalizes data, and provides batch support.

Endpoints include: - `GET /validate` - Validate an IBAN - `GET /details` - Full IBAN breakdown - `GET /format` - Format an IBAN - `POST /validate-batch` - Validate a batch of IBANs - `GET /generate` - Generate random structurally-valid test IBANs - `GET /sepa-ref` - Generate SEPA RF creditor references - `GET /swift/validate` - Validate a SWIFT/BIC code (ISO 9362) - `GET /routing/validate` - Validate a US ABA routing number - `GET /repair-checksum` - Recompute IBAN check digits (MOD 97-10 repair) - `GET /sepa/validate` - Validate a SEPA RF creditor reference (ISO 11649)

Who needs it: payment-ops teams scrubbing inbound payment files; fintech onboarding flows checking customer-entered account details; e-commerce platforms validating checkout bank data; and QA/test teams generating structurally-valid test IBANs and SEPA references.

The service is offline and stateless — no calls to VIES, SWIFT's BIC directory, or the Federal Reserve routing download (those are paid/gated sources, so this API does structural validation only). There are no databases and no request logs. Validation is regex/arithmetic over embedded constants, so a 1000-item batch completes in milliseconds and responses are tiny.

Endpoints

MethodPathWhat it does
GET/Service info: API name, version, and links to docs and health.
GET/healthLiveness probe; returns {"status": "ok"} while the process is up.
GET/validateValidate one IBAN: checksum, structure and country rules. iban is a required query parameter; spaces/dashes are stripped and the value is upper-cased before validation. A structurally wrong IBAN returns HTTP 200 with valid=false and an error string; an input longer than 64 characters after normalization returns 422.
GET/detailsFull IBAN breakdown: everything /validate returns plus country registry extras — country name, structure, BBAN structure, expected length, SEPA flag, branch code, national checksum digits, and raw/normalized input.
GET/formatFormat an IBAN into blocks of four separated by spaces (separator=space, default) or as a compact string (separator=none). An invalid IBAN is rejected with 422 invalid_iban.
POST/validate-batchValidate up to 1000 IBANs in one call. Body: {"ibans": [...]}. Raw body must be at most 262144 bytes (413 otherwise). Non-string or over-long items are not truncated: they come back as valid=false with an error, and the rest of the batch is still processed. Item order is preserved.
GET/generateGenerate random structurally-valid test IBANs for a given country using the local registry and valid check digits. country is required; count (1–100, default 1) controls how many. These are test numbers — not registered accounts.
GET/repair-checksumRecompute the two ISO 13616 MOD 97-10 check digits on an IBAN-shaped string and return the repaired IBAN. The input BBAN is not structurally validated on purpose — this endpoint repairs inputs that a strict validator would reject (e.g. wrong or placeholder check digits like 00). Does not confirm the account exists.
GET/swift/validateStructural validation of a SWIFT/BIC code per ISO 9362. bic is a required query parameter (8 or 11 characters, any case, spaces/dashes stripped). Returns the decomposed parts, a country validity flag, a primary-office flag, and structural failure reasons. This is a structural check — it does not confirm the BIC is currently assigned to a live institution (SWIFT's BIC directory is a paid source and is not bundled).
GET/routing/validateVerify a 9-digit US ABA routing number: format, 3-7-1 weighted MOD 10 checksum, and Federal Reserve prefix classification. routing_number is a required query parameter matching ^\d{9}$. Returns the parsed prefix, an instrument/district type, and the Federal Reserve city when applicable. This is a structural check — it does not confirm the live status of the institution (bank-name lookup is skipped because the Federal Reserve routing directory download is gated behind a registration form).
GET/sepa-refGenerate ISO 11649 SEPA creditor references (RF + two check digits + up to 21 alphanumeric reference characters) from an alphanumeric base reference. reference is required (up to 25 chars); count (1–10, default 1) controls how many. Valid for SEPA Credit Transfers.
GET/sepa/validateValidate an ISO 11649 SEPA creditor reference (RF + two check digits + up to 21 alphanumeric characters). reference is a required query parameter (4–25 chars after cleaning, spaces and any case accepted). Applies the MOD 97-10 rule and returns the parsed parts, grouped presentation, and failure reasons.

Quick start

curl -X GET "https://iban.p.rapidapi.com/validate?iban=DE89370400440532013000" \
  -H "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \
  -H "X-RapidAPI-Host: iban.p.rapidapi.com"

FAQ

Does a `valid: true` IBAN mean the bank account exists and holds funds?

No. This is offline numbering-plan validation only — checksum, structure and country rules via the local schwifty registry. It does not contact VIES, any bank, or any external registry. Use your bank's official verification for account confirmation.

Does the API make any external network calls?

No. All validation is offline using embedded constants and the schwifty registry. There are no databases, no logs, and no cross-request state. SWIFT's BIC directory and the Federal Reserve routing directory are paid/gated sources, so BIC and routing checks are structural only.

How many IBANs can I validate in one request?

Up to 1000 items per `POST /validate-batch` call, with a raw body under 262144 bytes. Each `iban` must be at most 64 characters after stripping spaces/dashes and upper-casing. Non-string or over-long items come back as `valid=false` with an error rather than being silently dropped.

Are the generated test IBANs and SEPA references real accounts?

No. `GET /generate` produces random structurally-valid IBANs for testing, and `GET /sepa-ref` produces valid ISO 11649 references — neither corresponds to a real registered account. Use them only for development and QA.

Try IBAN Validator Parser Checksum BIC Batch free

Free tier on every plan. Get an API key and start calling in under a minute.

Open on RapidAPI

Related APIs