81trust / 100

Finance Iban Validator

by AgentTools in Markets & finance

x402 APIPassing, checked 5 h ago

Validate an International Bank Account Number: country code, country-specific length and the ISO 7064 MOD 97-10 check digits — with the pretty-printed grouping returned when valid. Use this when an agent needs to structure, length and mod-97 checksum validation.

GET https://agenttools-hub.vercel.app/api/v1/finance/iban-validator

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
142 ms typical, 142 ms slowest 5%
Last check
5 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://agenttools-hub.vercel.app/api/v1/finance/iban-validator?iban=DE89+3704+0044+0532+0130+00"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagenttools-hub.vercel.app%2Fapi%2Fv1%2Ffinance%2Fiban-validator
const res = await pay("https://agenttools-hub.vercel.app/api/v1/finance/iban-validator?iban=DE89+3704+0044+0532+0130+00");
console.log(await res.json());

Example input

{
  "iban": "DE89 3704 0044 0532 0130 00"
}

Example output

{
  "result": {
    "answer": "✓ Valid IBAN — Germany",
    "answerLabel": "DE89 3704 0044 0532 0130 00",
    "details": [
      {
        "label": "Country",
        "value": "DE — Germany"
      },
      {
        "label": "Check digits",
        "value": "89"
      },
      {
        "label": "Length",
        "value": "22 (expected 22)"
      },
      {
        "label": "MOD-97 checksum",
        "value": "passed"
      }
    ],
    "steps": [
      "Normalize: uppercase, strip spaces and dashes",
      "Validate structure ^[A-Z]{2}[0-9]{2}[A-Z0-9]+$ and country length",
      "Move the first 4 chars to the end, map letters A=10…Z=35, compute mod 97 — must equal 1"
    ],
    "value": 1
  },
  "tool": "iban-validator"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
5 h agoPassed402142 ms$0.003