# IBAN Lookup (`greip/iban-lookup`) Actor

Validate International Bank Account Numbers (IBANs) and retrieve comprehensive country information, banking details, formatting options, and validation results. Ideal for financial services, compliance checks, and fraud prevention.

- **URL**: https://apify.com/greip/iban-lookup.md
- **Developed by:** [Greip](https://apify.com/greip) (community)
- **Categories:** Automation, Developer tools, Other
- **Stats:** 6 total users, 0 monthly users, 96.7% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.15 / 1,000 requests

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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Greip's IBAN Lookup

A robust Apify Actor that validates International Bank Account Numbers (IBANs) using the **Greip IBAN Lookup API**. This tool helps verify IBAN formatting and retrieves comprehensive information about the associated country and banking institution, enhancing security and accuracy in financial transactions.

### 🚀 Features

- **IBAN Validation**: Verify if IBANs are correctly formatted and valid
- **Country Information**: Get detailed information about the country associated with each IBAN
- **Banking Details**: Retrieve central bank information and financial system details
- **Multiple Formats**: Get IBANs in machine-readable, human-readable, and obfuscated formats
- **SEPA & SWIFT Validation**: Check for SEPA participation and SWIFT network compatibility
- **Structured Output**: Clean, well-formatted JSON results stored in datasets

### Input Parameters

| Parameter | Type   | Required | Description                                    |
| --------- | ------ | -------- | ---------------------------------------------- |
| `iban`    | string | ✅       | IBAN to validate (e.g., "BE71 0961 2345 6769") |
| `userID`  | string | ❌       | Optional user identifier for tracking          |

### Output Format

The Actor outputs detailed information about each IBAN:

```json
{
    "iban": "BE71 0961 2345 6769",
    "isValid": true,
    "machineFormat": "BE71096123456769",
    "humanFormat": "BE71 0961 2345 6769",
    "obfuscatedFormat": "BE71 **** **** 6769",
    "countryName": "Belgium",
    "countryIANA": "BE",
    "countryISO3166": "BE",
    "countryCurrency": "EUR",
    "countryMembership": "Official",
    "countryIsEU": true,
    "countryLength": "16",
    "countryIsSEPA": true,
    "countrySwiftOfficial": true,
    "centralBankName": "National Bank of Belgium",
    "centralBankUrl": "https://www.nbb.be/en",
    "timestamp": "2026-01-14T12:00:00.000Z"
}
```

#### Output Field Descriptions

**IBAN Validation Fields:**

- `iban`: The original IBAN provided in the request
- `isValid`: Boolean indicating if the IBAN is correctly formatted and valid
- `machineFormat`: Machine-readable format of the IBAN (no spaces)
- `humanFormat`: Human-readable format of the IBAN (with spaces)
- `obfuscatedFormat`: Partially masked IBAN for security purposes

**Country Information:**

- `countryName`: Full name of the country where the issuing bank is located
- `countryIANA`: IANA country code
- `countryISO3166`: Country code in ISO3166 format
- `countryCurrency`: Official currency of the country
- `countryMembership`: Bank membership type (e.g., "Official")
- `countryIsEU`: Whether the country is a member of the European Union
- `countryLength`: Standard IBAN length for this country
- `countryIsSEPA`: Whether the country participates in the Single Euro Payments Area (SEPA)
- `countrySwiftOfficial`: Whether the IBAN corresponds to an official SWIFT network institution

**Banking Institution Details:**

- `centralBankName`: Name of the country's central bank
- `centralBankUrl`: Official website URL of the central bank
- `timestamp`: Timestamp when the validation was performed

### Use Cases

This Actor is ideal for:

- **Payment Processing**: Validate IBANs before processing international transactions
- **Financial Services**: Ensure IBAN accuracy in banking applications
- **Fraud Prevention**: Verify the legitimacy of provided banking information
- **Compliance**: Meet regulatory requirements for financial data validation
- **Risk Assessment**: Assess country-specific banking risks and regulations

### Your feedback

We're always working on improving the performance of our Actors. If you have any technical feedback for IBAN lookup or found a bug, please create an issue in the [Issues tab](https://apify.com/greip/iban-lookup/issues/open).

# Actor input Schema

## `iban` (type: `string`):

International Bank Account Number to validate using Greip IBAN Lookup API. Accepts formats like 'BE71096123456769' or 'BE71 0961 2345 6769'.

## Actor input object example

```json
{
  "iban": "BE71096123456769"
}
```

# Actor output Schema

## `ibanLookupResults` (type: `string`):

No description

# 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 = {
    "iban": "BE71096123456769"
};

// Run the Actor and wait for it to finish
const run = await client.actor("greip/iban-lookup").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 = { "iban": "BE71096123456769" }

# Run the Actor and wait for it to finish
run = client.actor("greip/iban-lookup").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 '{
  "iban": "BE71096123456769"
}' |
apify call greip/iban-lookup --silent --output-dataset

```

## MCP server setup

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

```

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/wNtm4mOOhf2OYmBip/builds/rUzYag71oSfhaPUKP/openapi.json
