# IBAN Validator: Bulk Check, Bank Code and SEPA (`arnaud437/iban-validator`) Actor

Bulk-check IBANs offline: valid or not and why, country, bank and branch codes, SEPA zone and national key. No IBAN is sent anywhere or written back in full.

- **URL**: https://apify.com/arnaud437/iban-validator.md
- **Developed by:** [Open Data Tools](https://apify.com/arnaud437) (community)
- **Categories:** Automation, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.35 / 1,000 iban checkeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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, Bank Code and SEPA

Check **IBANs in bulk**, **offline**: is each IBAN **valid**, and if not, **why** (wrong length, wrong check digits, unknown country, wrong national key). For each one you also get the **country**, the **bank and branch codes** and whether it is in the **SEPA zone**. 89 countries of the SWIFT IBAN registry. **No IBAN is sent to any service**, and the result only shows it **masked**. **$0.50 per 1,000 IBANs**.

### What you get

One row per line of your list:

- **Valid**: true or false, and the **problem** when it is false: `wrong-length`, `wrong-check-digits`, `wrong-national-check`, `unknown-country`, `wrong-characters`.
- **Country**: ISO code and English name, and **SEPA**: true when the country is in the Single Euro Payments Area.
- **Bank code and branch code**, read from the IBAN for 36 European countries (France, Germany, UK, Italy, Spain…).
- **National check**: the national key of the account number (French and Monaco RIB key, Belgium, Spain, Italy, San Marino), checked on top of the IBAN check digits.
- **Line number** (`position`) to join each row with your own file, and the IBAN **masked** (`FR14 2004 1010 05** **** ***2 606`).

### Use cases

- **Payments and payouts**: catch typing errors before a SEPA transfer or direct debit is rejected.
- **Onboarding and KYB**: check the bank details of suppliers, sellers or customers in bulk.
- **CRM and ERP clean-up**: find wrong or incomplete IBANs in a customer or supplier file.
- **Routing**: group accounts by bank code or by country.

### How to use

- **Without changing anything**: three example IBANs of the SWIFT registry (France, Germany, UK).
- **IBANs**: one per line. Spaces, dashes, lower case and an "IBAN:" prefix are fine. Up to 100,000 per run.

Every row gives `position`, the line number in your list (1 = first line), so you can join the result with your file without the IBAN itself.

### Input example

```json
{
  "ibans": [
    "FR14 2004 1010 0505 0001 3M02 606",
    "DE89 3704 0044 0532 0130 00",
    "GB29 NWBK 6016 1331 9268 19"
  ]
}
```

### Output example

```json
{
  "recordType": "iban",
  "id": "1",
  "position": 1,
  "valid": true,
  "problem": null,
  "countryCode": "FR",
  "countryName": "France",
  "checkDigits": "14",
  "bankCode": "20041",
  "branchCode": "01005",
  "nationalCheck": true,
  "sepa": true,
  "length": 27,
  "ibanMasked": "FR14 2004 1010 05** **** ***2 606",
  "status": "ok",
  "sourceName": "SWIFT IBAN Registry and ISO 13616 check digits, computed locally",
  "sourceUrl": "https://www.swift.com/standards/data-standards/iban-international-bank-account-number",
  "licence": "Computed by the Actor from public standards; no IBAN is sent anywhere",
  "sourceUpdatedAt": null,
  "actorVersion": "0.1.1",
  "retrievedAt": "2026-11-20T10:00:00.000Z"
}
```

### Pricing

Pay per event: **$0.50 per 1,000 IBANs** (`iban-checked`, $0.0005 each), valid or not, plus Apify's start fee of $0.00005 per run.

| IBANs   | Price |
| ------- | ----- |
| 1,000   | $0.50 |
| 10,000  | $5    |
| 100,000 | $50   |

### Data source

The IBAN formats and lengths of the SWIFT IBAN registry, the ISO 13616 check digits (modulo 97) and the published national key rules. Everything is computed on the machine of the run: no IBAN leaves it.

### Is it legal?

Yes. The tool only applies public standards to the list you give it. An IBAN can belong to a person, so it is never written back in full and never sent to another service: the result keeps the line number, the bank and branch codes and the last four characters.

### FAQ

- **Does a valid IBAN mean the account exists?** No. It means the IBAN is well formed and its check digits are right; only the bank knows whether the account is open.
- **Why is the bank code empty for some countries?** It is read for 36 European countries whose layout is fixed; other countries still get the full IBAN check.
- **Why is `nationalCheck` null?** The country has no national key that the tool checks; the IBAN check digits are still checked.

### Related Actors

- [EU VAT Number Validator](https://apify.com/arnaud437/eu-vat-validator): Bulk VIES Check
- [Sanctions Screening](https://apify.com/arnaud437/sanctions-screening): OFAC, EU and UN Lists (Companies)
- [French Company Search](https://apify.com/arnaud437/french-company-search): Official SIREN Data, No Personal Data
- [EU Transparency Register](https://apify.com/arnaud437/eu-transparency-register): Lobbying Organisations & Changes
- [Email Validator](https://apify.com/arnaud437/email-validator): MX, Disposable, Role & Typo Check (No SMTP)

Every Actor here also works as a tool for AI agents (Claude, ChatGPT, Cursor…) through [Apify’s MCP server](https://mcp.apify.com).

### Changelog

See [CHANGELOG.md](CHANGELOG.md).

### En français

#### Vérifier des IBAN en masse, sans les envoyer

Chaque IBAN est vérifié sur la machine du robot : longueur du pays, clé IBAN (modulo 97), clé RIB pour la France et Monaco, et clés nationales de Belgique, Espagne, Italie et Saint-Marin. Le résultat donne le pays, le code banque, le code guichet et la zone SEPA. L'IBAN n'est jamais envoyé ailleurs et n'est écrit que masqué.

#### Prix

0,50 $ les 1 000 IBAN.

#### Source et légalité

Normes publiques (registre IBAN de SWIFT, ISO 13616), appliquées sur place. Aucune donnée n'est transmise.

# Changelog

This Actor's version history is a separate document: https://apify.com/arnaud437/iban-validator/changelog.md

# Actor input Schema

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

One IBAN per line, from any of the 89 countries of the SWIFT registry. Spaces, dashes and an "IBAN:" prefix are fine. Each row of the result gives the line number. Up to 100,000 per run.

## Actor input object example

```json
{
  "ibans": [
    "FR14 2004 1010 0505 0001 3M02 606",
    "DE89 3704 0044 0532 0130 00",
    "GB29 NWBK 6016 1331 9268 19"
  ]
}
```

# Actor output Schema

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

One row per IBAN: valid or not and why, country, bank and branch codes, SEPA.

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

IBANs checked, error rows, and dates of the run.

# 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": [
        "FR14 2004 1010 0505 0001 3M02 606",
        "DE89 3704 0044 0532 0130 00",
        "GB29 NWBK 6016 1331 9268 19"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("arnaud437/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": [
        "FR14 2004 1010 0505 0001 3M02 606",
        "DE89 3704 0044 0532 0130 00",
        "GB29 NWBK 6016 1331 9268 19",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("arnaud437/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": [
    "FR14 2004 1010 0505 0001 3M02 606",
    "DE89 3704 0044 0532 0130 00",
    "GB29 NWBK 6016 1331 9268 19"
  ]
}' |
apify call arnaud437/iban-validator --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,arnaud437/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/GQm8YcBfvuImsKJ9m/builds/4N0U01yzj2AZRQv2C/openapi.json
