# IBAN Validator – Bulk Check with German Bank Name & BIC (`adamplaenitz/iban-validator`) Actor

Validate thousands of IBANs offline: ISO 13616 check digits, country length and format for all 89 SWIFT IBAN registry countries, national check digits for 19 countries. German IBANs get bank name, BIC and city from the Bundesbank BLZ file.

- **URL**: https://apify.com/adamplaenitz/iban-validator.md
- **Developed by:** [Adam Plänitz](https://apify.com/adamplaenitz) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.50 / 1,000 iban validateds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## IBAN Validator – Bulk Check with German Bank Name & BIC

**Validate lists of IBANs in seconds: ISO 13616 check digits, country length and format for all 89 countries of the SWIFT IBAN registry, national check digits for 19 countries – and for German IBANs the bank name, BIC and city from the official Bundesbank bank code file.** Everything runs offline inside the Actor; no IBAN is sent to any third party. Export as JSON, CSV or Excel, or connect to Google Sheets, Make, Zapier, n8n or webhooks.

*Deutsche Kurzfassung weiter unten.*

### What does it do?

For every IBAN in your list you get one row with:

- **valid** `true`/`false` and, if invalid, an **error code and a plain-language reason**:
  `INVALID_CHARACTERS`, `UNKNOWN_COUNTRY` (country does not use IBANs), `WRONG_LENGTH`, `INVALID_BBAN_FORMAT` (national part has letters where digits belong etc.), `INVALID_CHECKSUM` (ISO 13616 MOD 97 – typical typo), `INVALID_NATIONAL_CHECK_DIGITS`, `UNKNOWN_BANK_CODE` (German bank code that does not exist).
- The **normalised IBAN** (electronic format) and the **printed format** in groups of four.
- **Country, check digits, bank code, branch code** (where the country has one) and the **account part** of the IBAN.
- **National check digits** inside the account number are verified for BE, FR, MC, ES, IT, SM, CZ, SK, HR, HU, NO, PL, PT, SI, BA, ME, MK, RS and TL (`nationalCheckDigits`: `valid` / `invalid` / `not-checked`).
- **SEPA flag**: whether the country belongs to the geographical scope of the SEPA schemes.
- **Germany:** bank name, short name, **BIC**, postal code and city of the bank (main entry of the bank code), the validity period of the Bundesbank file used, and a warning if the bank code is marked for deletion (with the successor bank code).

Spaces, dashes, dots, lower case and a leading `IBAN` are accepted.

### Who is it for?

- **Accounting, payroll and payment teams** cleaning supplier, customer or employee bank data before a SEPA payment run.
- **CRM / ERP data quality**: find typos and missing BICs in master data in bulk.
- **Developers and no-code builders** who need IBAN validation in a Make, Zapier or n8n workflow without hosting a library.

### Input

| Field | Example |
|---|---|
| IBANs (one per line) | `DE89370400440532013000`, `GB82 WEST 1234 5698 7654 32` |

### Output example (shortened)

```json
{
  "input": "DE89370400440532013000",
  "iban": "DE89370400440532013000",
  "ibanFormatted": "DE89 3704 0044 0532 0130 00",
  "valid": true,
  "error": null,
  "countryCode": "DE",
  "sepaCountry": true,
  "checkDigits": "89",
  "bankCode": "37040044",
  "accountNumber": "0532013000",
  "nationalCheckDigits": "not-checked",
  "bankName": "Commerzbank",
  "bic": "COBADEFFXXX",
  "bankCity": "Köln",
  "warnings": [],
  "blzFileValidFrom": "2026-09-07",
  "blzFileValidTo": "2026-12-06"
}
```

```json
{
  "input": "DE89370400440532013001",
  "valid": false,
  "error": "INVALID_CHECKSUM",
  "errorMessage": "Check digits do not match (ISO 13616 MOD 97) – usually a typo somewhere in the IBAN. …"
}
```

A run summary (counts per error type and country, Bundesbank file used) is stored as `RUN-SUMMARY` in the key-value store.

### Pricing and speed

See the **Pricing** tab for the current price. Every non-empty input line is one validated IBAN – valid or invalid, because finding the invalid ones is the point. Validation runs offline, so 20,000 IBANs take well under a minute.

### Data source, licence and privacy

- IBAN structures follow the **SWIFT IBAN Registry** (ISO 13616); the country table is built into the Actor.
- German bank data: **Bankleitzahlendatei of the Deutsche Bundesbank** (public, non-binding internet version), *Quelle: Deutsche Bundesbank*. The Actor bundles the currently valid file and, once published, the next one, and picks the file that is valid on the day of the run. German rows carry an `attribution` field. **This Actor is an independent tool and is not affiliated with, endorsed by or sponsored by the Deutsche Bundesbank or SWIFT.**
- **Privacy:** IBANs are only processed inside your run and written to your own dataset. No external service is called. The Actor never outputs account holder names (an IBAN does not contain one).

### Limits

- A valid IBAN means the number is **correctly formed** – not that the account exists, is open or belongs to a particular person. Only a payment or a bank's verification-of-payee service can confirm that.
- German national account check digits (the ~150 bank-specific "Prüfziffermethoden") are not checked; the IBAN check digits and the bank code are.
- Bank name, BIC and city are only available for German IBANs. For a German bank code the main entry of the bank is used; the actual branch that holds the account may be in another city.
- Countries outside the SWIFT registry with "experimental" IBANs (e.g. several African countries) are reported as `UNKNOWN_COUNTRY`. French overseas territories use `FR` IBANs.

Questions or feature requests? Please open an issue in the **Issues** tab.

***

### Deutsch (Kurzfassung)

**IBAN-Listen in Sekunden prüfen:** Prüfziffer nach ISO 13616, Länge und Aufbau für alle 89 Länder des SWIFT-IBAN-Registers, nationale Kontoprüfziffern für 19 Länder. Für **deutsche IBANs** liefert der Actor zusätzlich **Bankname, BIC und Ort** aus der amtlichen Bankleitzahlendatei der Deutschen Bundesbank (Quelle: Deutsche Bundesbank) und warnt bei gelöschten Bankleitzahlen. Fehler werden verständlich begründet, z. B. Zahlendreher in der Prüfziffer. Alles läuft offline, es werden keine Daten an Dritte übertragen. Kein Kontoinhaber, keine Prüfung, ob das Konto existiert. Keine Verbindung zur Deutschen Bundesbank.

# Actor input Schema

## `ibans` (type: `array`):

One IBAN per line. Spaces, dashes and an 'IBAN' prefix are ignored, lower case is accepted. Every non-empty line produces one result row (valid or invalid with the reason).

## Actor input object example

```json
{
  "ibans": [
    "DE89370400440532013000",
    "GB82WEST12345698765432",
    "FR14 2004 1010 0505 0001 3M02 606",
    "DE89370400440532013001"
  ]
}
```

# Actor output Schema

## `results` (type: `string`):

One row per input IBAN with validity, error reason, parts and (for Germany) bank details.

## `summary` (type: `string`):

Counts of valid and invalid IBANs, error types, countries and the Bundesbank file used.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "ibans": [
        "DE89370400440532013000",
        "GB82WEST12345698765432",
        "FR14 2004 1010 0505 0001 3M02 606",
        "DE89370400440532013001"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("adamplaenitz/iban-validator").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "ibans": [
        "DE89370400440532013000",
        "GB82WEST12345698765432",
        "FR14 2004 1010 0505 0001 3M02 606",
        "DE89370400440532013001",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("adamplaenitz/iban-validator").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "ibans": [
    "DE89370400440532013000",
    "GB82WEST12345698765432",
    "FR14 2004 1010 0505 0001 3M02 606",
    "DE89370400440532013001"
  ]
}' |
apify call adamplaenitz/iban-validator --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,adamplaenitz/iban-validator"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/DzCaPuhVbuCzxCIc3/builds/wa3ePZrnRBSOJzdm0/openapi.json
