GnistAI GnistAI
Log in

IBAN Validation

Validate International Bank Account Numbers — check digits, country, and BBAN extraction.

Overview   |   MCP   |   REST API   |   OpenAPI   |   CLI   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 3 tools tools 3 3 type: validation enrichment type type validation enrichment validation enrichment lifecycle: maintained lifecycle lifecycle maintained maintained Finance

Data source: Algorithmic (ISO 13616)

MCP Endpoint (Streamable HTTP) https://context.gnist.ai/mcp/iban-validation/
Authentication

All requests require a Gnist-API-Key header (or api_key query parameter).

Free tier: 100 calls/day. Get your API key.

Tools (3)

validate_iban

Validate an International Bank Account Number (IBAN).

Checks format, country code, length, and ISO 7064 Mod 97-10 check digits.
Returns validation result with country, BBAN, and formatted IBAN if valid.

Args:
iban: The IBAN to validate. Spaces are allowed and will be stripped.

ParameterTypeRequiredDescription
ibanstringrequired
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "validate_iban",
    "arguments": {
      "iban": "example"
    }
  }
}
get_supported_countries

List all countries that support IBAN with their expected IBAN lengths.

Returns country codes, names, and the required IBAN length for each.

JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "get_supported_countries",
    "arguments": {}
  }
}
report_feedback

Report a bug, feature request, or general feedback for this data source.

Use this when something doesn't work as expected, when you'd like
a new feature, or when you have suggestions for improvement.

Args:
feedback: Describe the issue or suggestion.
feedback_type: One of 'bug', 'feature_request', or 'general'.

ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "report_feedback",
    "arguments": {
      "feedback": "example"
    }
  }
}

Quick Start

Shell
curl -X POST "https://context.gnist.ai/mcp/iban-validation/" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "validate_iban", "arguments": {"iban": "example"}}}'
Python
import httpx

resp = httpx.post(
    "https://context.gnist.ai/mcp/iban-validation/",
    headers={"Gnist-API-Key": "YOUR_API_KEY", "Content-Type": "application/json"},
    json={
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "validate_iban",
    "arguments": {
      "iban": "example"
    }
  }
},
)
print(resp.json())

Related Toolkits (Finance)

Resources