South Star

SWIFT MT Parser IBAN BIC Validator MT103 MT940 Statements API

Free tier included · Finance
Parse SWIFT MT103/MT940 messages and validate IBANs/BICs offline.

SWIFT MT Parser API parses SWIFT MT messages (MT103 customer credit transfers, MT940/942/950 statements) in single-line or multiline `{}` block format. It extracts blocks 1/2/3/4/5, fields with multiline values, MT103 field 32A split into date/currency/amount, ordering customer (50K), beneficiary (59), charges (71A), sender/receiver BIC from FIN headers, block 3 (UETR gpi reference), block 5 trailers, and an MT940 'statement' view with account, opening/closing/available balances, and every `:61:` line split into value/entry date, debit/credit (RC/RD reversals signed per SWIFT), amount, transaction type, references, and its `:86:` text. `/validate` checks mandatory MT103 fields (20/23B/32A/50a/59a/71A and their formats). Field tags are recognized only at the start of a line.

In addition to message parsing, the API now includes IBAN and BIC validation endpoints: validate any IBAN against ISO 13616 (mod-97 checksum + per-country structure), validate BIC/SWIFT codes per ISO 9362, retrieve IBAN structure for a country, list all IBAN-issuing countries, and batch-validate up to 100 IBANs in one call.

Who needs it: treasury/back-office teams automating payment file ingestion; fintech sandboxes and testing environments needing a hosted MT103 parser without enterprise sales gates; no-code/low-code workflows that need to parse SWIFT messages or validate bank identifiers via a single HTTP call; and payment import pipelines that must clean and verify IBANs before processing.

Why this one: it covers MT103 parsing, MT940 statements, IBAN and BIC validation. The service is offline and stateless: messages are parsed, never stored, and IBAN/BIC checks use embedded ISO standards with no external lookups. Honest limits: sender/receiver extraction is heuristic (first BIC-like token in the header); nested `{3:}` blocks are skipped; MT940 is structural only (no transaction-level reconciliation). Messages are capped at 2,097,152 characters. IBAN batch accepts up to 100 entries per request.

Endpoints

MethodPathWhat it does
GET/API metadata: name, version, and paths to the interactive docs and health endpoint.
GET/healthLiveness probe; returns status "ok" while the process is up.
POST/parseParse a raw SWIFT MT message into structured JSON: blocks 1/2/3/4/5, extracted fields, MT103 32A split, and MT940 statement view with balances and :61:/:86: lines. message (max 2,097,152 chars) is required.
POST/validateValidate mandatory MT103 fields (20/23B/32A/50a/59a/71A and their formats). message (max 2,097,152 chars) is required.
POST/iban/validateValidate an IBAN (mod-97 checksum + per-country structure). iban (spaces allowed, case-insensitive) is required.
POST/bic/validateValidate a BIC/SWIFT code (ISO 9362). bic (8 or 11 characters) is required.
GET/iban/structureIBAN structure for a country. country (ISO 3166-1 alpha-2, required) as a query parameter.
GET/directory/iban-countriesDirectory of all IBAN-issuing countries with code, length, BBAN format, and example.
POST/iban/batchValidate up to 100 IBANs in one call. ibans (array of strings, max 100) is required.

Quick start

curl -X POST "https://swiftmt.p.rapidapi.com/parse" \
  -H "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \
  -H "X-RapidAPI-Host: swiftmt.p.rapidapi.com" \
  -H "Content-Type: application/json" \
  -d '{"message":"{1:F01BANKBEBBAXXX0000000000}{2:I103BANKDEFFXXXXN}{4:\n:20:REF12345\n:23B:CRED\n:32A:240115EUR1234,56\n:50K:/12345678\nJOHN DOE\n:59:/98765432\nJANE ROE\n-}"}'

FAQ

Does the API make any external network calls?

No. All parsing and validation is offline using embedded ISO standards (ISO 13616 for IBAN, ISO 9362 for BIC). There are no databases, no logs, and no external lookups.

What are the message size limits?

SWIFT MT messages are capped at 2,097,152 characters (~2 MB). IBAN batch requests accept up to 100 IBANs per call.

Is the MT940 parsing full reconciliation?

No. MT940 is structural only — it extracts the statement view with balances and `:61:`/`:86:` lines, but does not perform transaction-level reconciliation.

How accurate is sender/receiver BIC extraction?

It is heuristic — the parser takes the first BIC-like token found in the FIN header. For critical routing, verify against your own BIC directory.

Try SWIFT MT Parser IBAN BIC Validator MT103 MT940 Statements free

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

Open on RapidAPI

Related APIs